[Bug 310881] New: shortcut alt-1 gets intercepted, event does not reach the active window

Simon info.ised at gmail.com
Thu Nov 29 16:42:30 GMT 2012


https://bugs.kde.org/show_bug.cgi?id=310881

            Bug ID: 310881
          Severity: normal
           Version: 4.9
          Priority: NOR
          Assignee: unassigned-bugs at kde.org
           Summary: shortcut alt-1 gets intercepted, event does not reach
                    the active window
    Classification: Unclassified
                OS: Linux
          Reporter: info.ised at gmail.com
          Hardware: Archlinux Packages
            Status: UNCONFIRMED
         Component: general
           Product: kde

When using konsole or any other terminal emulator, alt-1 should activate "(arg:
1)" in readline handling. This works in all other window managers, but in fresh
KDE installs on several different computers and software configurations, the
event does nothing. alt-2 and other numbers work normally. The problem is not
restricted to console emulators - it is across all applications, for example in
emacs, argument passing also does not work.

Changes in keymap do not change the behaviour. I use slovene (si) keymap. I
have been noticing this problem for more than half a year, so this is not
specific to 4.9 version.
I checked the global shortcuts, but alt-1 is not bound to anything. I don't run
xbindkeys or similar software. I also checked the output of xev, and it reacts
differently:

alt-2:
KeyPress event, serial 40, synthetic NO, window 0x1a00001,
    root 0xf1, subw 0x0, time 235118774, (-790,-290), root:(589,471),
    state 0x10, keycode 64 (keysym 0xffe9, Alt_L), same_screen YES,
    XLookupString gives 0 bytes: 
    XmbLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyPress event, serial 40, synthetic NO, window 0x1a00001,
    root 0xf1, subw 0x0, time 235122942, (-790,-290), root:(589,471),
    state 0x18, keycode 11 (keysym 0x32, 2), same_screen YES,
    XLookupString gives 1 bytes: (32) "2"
    XmbLookupString gives 1 bytes: (32) "2"
    XFilterEvent returns: False

KeyRelease event, serial 40, synthetic NO, window 0x1a00001,
    root 0xf1, subw 0x0, time 235123030, (-790,-290), root:(589,471),
    state 0x18, keycode 11 (keysym 0x32, 2), same_screen YES,
    XLookupString gives 1 bytes: (32) "2"
    XFilterEvent returns: False

KeyRelease event, serial 40, synthetic NO, window 0x1a00001,
    root 0xf1, subw 0x0, time 235123934, (-790,-290), root:(589,471),
    state 0x18, keycode 64 (keysym 0xffe9, Alt_L), same_screen YES,
    XLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyPress event, serial 40, synthetic NO, window 0x1a00001,
    root 0xf1, subw 0x0, time 235124622, (-790,-290), root:(589,471),
    state 0x10, keycode 64 (keysym 0xffe9, Alt_L), same_screen YES,
    XLookupString gives 0 bytes: 
    XmbLookupString gives 0 bytes: 
    XFilterEvent returns: False

alt-1:
KeyPress event, serial 40, synthetic NO, window 0x1a00001,                      
    root 0xf1, subw 0x0, time 235190662, (-833,52), root:(546,813),             
    state 0x10, keycode 64 (keysym 0xffe9, Alt_L), same_screen YES,             
    XLookupString gives 0 bytes: 
    XmbLookupString gives 0 bytes: 
    XFilterEvent returns: False

FocusOut event, serial 40, synthetic NO, window 0x1a00001,
    mode NotifyGrab, detail NotifyAncestor

FocusIn event, serial 40, synthetic NO, window 0x1a00001,
    mode NotifyUngrab, detail NotifyAncestor

KeymapNotify event, serial 40, synthetic NO, window 0x0,
    keys:  2   4   0   0   0   0   0   0   1   0   0   0   0   0   0   0   
           0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   

KeyRelease event, serial 40, synthetic NO, window 0x1a00001,
    root 0xf1, subw 0x0, time 235192134, (-833,52), root:(546,813),
    state 0x18, keycode 10 (keysym 0x31, 1), same_screen YES,
    XLookupString gives 1 bytes: (31) "1"
    XFilterEvent returns: False

KeyRelease event, serial 40, synthetic NO, window 0x1a00001,
    root 0xf1, subw 0x0, time 235194494, (-833,52), root:(546,813),
    state 0x18, keycode 64 (keysym 0xffe9, Alt_L), same_screen YES,
    XLookupString gives 0 bytes: 
    XFilterEvent returns: False

Notice the extra Focus and KeymapNotify events that should not be there. Is
there a KDE component that swallows this event or can this be resolved by
changing configuration?


Reproducible: Always

Steps to Reproduce:
1. launch terminal emulator (konsole) or emacs
2. press alt-1

Actual Results:  
The shortcut (key press combination) is ignored, nothing happens.

Expected Results:  
In terminal emulators, (arg: 1) should indicate the beginning of the line. In
emacs, M-1- should appear in the minibuffer.

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the Unassigned-bugs mailing list