Gtk2/Qt: Shift+NumPad7 must give Shift+Home press, but gives Home press
Original Reporter info from Mantis: Alextp
-
Reporter name: CudaText man
Original Reporter info from Mantis: Alextp
- Reporter name: CudaText man
Description:
User of CudaText tells that he cannot do selection-to-line-start on his notebook with only NumPad block of keys.
He presses in other apps Shift+Num7 [in NumLock state] and it works.
In CudaText this gives only jump to line begin, ie only Home press.
He tried 2nd external keyboard, same result.
Additional information:
I gave him Lazarus test app with code:
procedure TForm1.FormKeyDown(Sender: TObject; var Key: Word; Shift: TShiftState);
var
sh: TShortCut;
begin
sh:= ShortCut(key, shift);
caption:= ShortCutToText(sh);
end;
and he gets
[~/Dev/CudaText_up]$ xev | grep keycode
state 0x10, keycode 50 (keysym 0xffe1, Shift_L), same_screen YES,
state 0x11, keycode 79 (keysym 0xff95, KP_Home), same_screen YES,
state 0x11, keycode 79 (keysym 0xff95, KP_Home), same_screen YES,
state 0x11, keycode 50 (keysym 0xffe1, Shift_L), same_screen YES,
state 0x10, keycode 65 (keysym 0x20, space), same_screen YES,
state 0x10, keycode 65 (keysym 0x20, space), same_screen YES,
state 0x10, keycode 50 (keysym 0xffe1, Shift_L), same_screen YES,
state 0x11, keycode 110 (keysym 0xff50, Home), same_screen YES,
state 0x11, keycode 110 (keysym 0xff50, Home), same_screen YES,
state 0x11, keycode 50 (keysym 0xffe1, Shift_L), same_screen YES,
first 4 lines - he presses Shift+Num7
next 2 lines - spaces
next 4 lines - he presses Shift+&LtPos;usual Home on 2nd keyboard>
(NumLock don't help)
Mantis conversion info:
- Mantis ID: 34576
- Platform: Linux x64, gtk2/qt4
- Version: 2.1 (SVN)