View Issue Details

IDProjectCategoryView StatusLast Update
0034576LazarusWidgetsetpublic2018-11-20 19:34
ReporterAlexey Tor.Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
PlatformLinux x64, gtk2/qt4OSOS Version
Product Version2.1 (SVN)Product Build 
Target VersionFixed in Version 
Summary0034576: Gtk2/Qt: Shift+NumPad7 must give Shift+Home press, but gives Home press
DescriptionUser 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 InformationI 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+<usual Home on 2nd keyboard>
(NumLock don't help)
TagsNo tags attached.
Fixed in Revision
LazTarget
WidgetsetGTK 2
Attached Files

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2018-11-20 19:34 Alexey Tor. New Issue