[Midnight Commander] #4501: mc can't properly handle filenames containing characters wider than normal

1 view
Skip to first unread message

Ticket System

unread,
Sep 1, 2023, 6:57:11 AM9/1/23
to pente...@gmail.com, mc-...@googlegroups.com
#4501: mc can't properly handle filenames containing characters wider than normal
--------------------------------+-------------------------------
Reporter: imre84 | Type: defect
Status: new | Priority: minor
Milestone: Future Releases | Component: mc-core
Version: master | Keywords:
Blocked By: | Blocking:
Branch state: no branch | Votes for changeset:
--------------------------------+-------------------------------
Hello,

I'm unsing mc 3:4.8.27-1 on an up-to-date Ubuntu 22.04.3 LTS

steps to reproduce:

1, run the test.sh attached
2, cd /tmp
3, mc

actual behaviour: mc expects the emoticons to be as wide as every other
character and this causes a misalignment (see attached screenshot)

expected behaviour: mc should properly deal with wider than normal
characters without misalignment issues

--
Ticket URL: <http://www.midnight-commander.org/ticket/4501>
Midnight Commander <https://midnight-commander.org>
Midnight Development Center

Ticket System

unread,
Sep 15, 2023, 12:32:45 PM9/15/23
to pente...@gmail.com, mc-...@googlegroups.com
#4501: mc can't properly handle filenames containing characters wider than normal
--------------------------+---------------------------------------
Reporter: imre84 | Owner:

Type: defect | Status: new
Priority: minor | Milestone: Future Releases
Component: mc-core | Version: master
Resolution: | Keywords:

Blocked By: | Blocking:
Branch state: no branch | Votes for changeset:
--------------------------+---------------------------------------

Comment (by andrew_b):

Replying to [comment:3 zaytsev]:
> No, with sleeping face I cannot reproduce it. What does it mean?

"\xf0\x9f\xa5\xb4" ("Woozy Face") [https://emojipedia.org/woozy-face was
approved as part of Unicode 11.0].
S-Lang currently supports Unicode 10.0 (since version 2.3.1a).

For me, there is no such bug in MC built against NCurses-6.3.

--
Ticket URL: <http://www.midnight-commander.org/ticket/4501#comment:4>

Ticket System

unread,
Sep 16, 2023, 5:45:44 AM9/16/23
to pente...@gmail.com, mc-...@googlegroups.com
#4501: mc can't properly handle filenames containing characters wider than normal
--------------------------+------------------------------
Reporter: imre84 | Owner:
Type: defect | Status: closed
Priority: minor | Milestone:
Component: mc-core | Version: master
Resolution: wontfix | Keywords:

Blocked By: | Blocking:
Branch state: no branch | Votes for changeset:
--------------------------+------------------------------
Changes (by zaytsev):

* status: new => closed
* resolution: => wontfix
* milestone: Future Releases =>


Comment:

Oh, thank you very much. So it's a S-Lang bug, we can close this ticket.

--
Ticket URL: <http://www.midnight-commander.org/ticket/4501#comment:5>

Reply all
Reply to author
Forward
0 new messages