Ticket #4501 (closed defect: wontfix)

Opened 15 months ago

Last modified 14 months ago

mc can't properly handle filenames containing characters wider than normal

Reported by: imre84 Owned by:
Priority: minor Milestone:
Component: mc-core Version: master
Keywords: Cc:
Blocked By: Blocking:
Branch state: no branch Votes for changeset:

Description

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

Attachments

test.sh (228 bytes) - added by imre84 15 months ago.
emoticonbug.png (37.7 KB) - added by imre84 15 months ago.
Screenshot 2023-09-15 at 14.53.24.png (124.6 KB) - added by zaytsev 14 months ago.

Change History

Changed 15 months ago by imre84

Changed 15 months ago by imre84

comment:1 Changed 15 months ago by zaytsev

Forwarded from https://bugs.launchpad.net/mc/+bug/1994952 .

Is reproducible with master, Ubuntu 20.04 and gnome-terminal / xterm.

comment:2 Changed 15 months ago by andrew_b

Did you have such problem with "\xf0\x9f\x98\xb4" (U+1F634, "Sleeping Face") emoticon?

Changed 14 months ago by zaytsev

comment:3 follow-up: ↓ 4 Changed 14 months ago by zaytsev

No, with sleeping face I cannot reproduce it. What does it mean? We need more sleep?

comment:4 in reply to: ↑ 3 Changed 14 months ago by andrew_b

Replying to zaytsev:

No, with sleeping face I cannot reproduce it. What does it mean?

"\xf0\x9f\xa5\xb4" ("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.

comment:5 Changed 14 months ago by zaytsev

  • Status changed from new to closed
  • Resolution set to wontfix
  • Milestone Future Releases deleted

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

Note: See TracTickets for help on using tickets.