Ticket #1634 (new defect) — at Version 8

Opened 11 years ago

Last modified 10 years ago

DEL & END keys dialog binding

Reported by: theMIROn Owned by:
Priority: major Milestone: 4.8.0-pre1
Component: mc-tty Version: master
Keywords: Cc: zaytsev
Blocked By: Blocking:
Branch state: Votes for changeset:

Description (last modified by andrew_b) (diff)

Currently DEL & END keys misprocessed in all dialogs.
Keys check from menu works fine at the same time.
TERM=linux
CP866 (IBM866) locale

Change History

comment:1 Changed 11 years ago by theMIROn

  • Priority changed from major to critical

comment:2 Changed 11 years ago by angel_il

  • Priority changed from critical to minor

comment:3 Changed 11 years ago by theMIROn

DEL is working, but BackSpace? is not.

comment:4 Changed 11 years ago by theMIROn

any news?
hotkeys are not treated as unicode, that's the problem

comment:5 Changed 11 years ago by theMIROn

  • Priority changed from minor to major

comment:6 Changed 11 years ago by andrew_b

  • Component changed from mc-core to mc-tty

Changed 11 years ago by theMIROn

comment:7 follow-up: ↓ 8 Changed 11 years ago by theMIROn

g_ascii_tolower strips unicode key param, moreover, don't reflect actual label text encoding.
following patch fixes hotkeys on 8bit locale

comment:8 in reply to: ↑ 7 Changed 11 years ago by andrew_b

  • Description modified (diff)

Replying to theMIROn:

g_ascii_tolower strips unicode key param,

Actually, param in not unicode. Multibyte hotkeys are not correctly constuct in handling of tty key events.

following patch fixes hotkeys on 8bit locale

I'm not shure that it is correct way. Your patch breaks case-insensitive hotkeys.

Note: See TracTickets for help on using tickets.