Bug 43098 - Shift+Backspace, Shift+Delete fail with xkeyboard-config-2.4.1 and current git head
Summary: Shift+Backspace, Shift+Delete fail with xkeyboard-config-2.4.1 and current gi...
Status: RESOLVED FIXED
Alias: None
Product: xkeyboard-config
Classification: Unclassified
Component: General (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: xkb
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-19 19:03 UTC by Alexandre Rostovtsev
Modified: 2011-11-20 14:23 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
xkbcomp :0 -xkb out.xkb (with xkeyboard-config git a0e5adf1) (59.57 KB, text/plain)
2011-11-20 11:53 UTC, Alexandre Rostovtsev
Details

Description Alexandre Rostovtsev 2011-11-19 19:03:59 UTC
As the summary says: Shift+Backspace and Shift+Delete fail to work both in xkeyboard-config-2.4.1 and in xkeyboard-config current git head (a0e5adf1).

Here's the xev output for pressing Backspace with xkeyboard-config current git head:

KeyPress event, serial 29, synthetic NO, window 0x1e00001,
    root 0xae, subw 0x0, time 238783943, (119,56), root:(173,493),
    state 0x0, keycode 22 (keysym 0xff08, BackSpace), same_screen YES,
    XLookupString gives 1 bytes: (08) "
    XmbLookupString gives 1 bytes: (08) "
    XFilterEvent returns: False

KeyRelease event, serial 32, synthetic NO, window 0x1e00001,
    root 0xae, subw 0x0, time 238784038, (119,56), root:(173,493),
    state 0x0, keycode 22 (keysym 0xff08, BackSpace), same_screen YES,
    XLookupString gives 1 bytes: (08) "
    XFilterEvent returns: False

And here's the xev output for Shift+Backspace:

KeyPress event, serial 32, synthetic NO, window 0x2800001,
    root 0xae, subw 0x0, time 238841584, (141,46), root:(195,483),
    state 0x0, keycode 50 (keysym 0xffe1, Shift_L), same_screen YES,
    XLookupString gives 0 bytes: 
    XmbLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyPress event, serial 32, synthetic NO, window 0x2800001,
    root 0xae, subw 0x0, time 238841798, (141,46), root:(195,483),
    state 0x1, keycode 22 (keysym 0x0, NoSymbol), same_screen YES,
    XLookupString gives 0 bytes: 
    XmbLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyRelease event, serial 32, synthetic NO, window 0x2800001,
    root 0xae, subw 0x0, time 238841903, (141,46), root:(195,483),
    state 0x1, keycode 22 (keysym 0x0, NoSymbol), same_screen YES,
    XLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyRelease event, serial 32, synthetic NO, window 0x2800001,
    root 0xae, subw 0x0, time 238842058, (141,46), root:(195,483),
    state 0x1, keycode 50 (keysym 0xffe1, Shift_L), same_screen YES,
    XLookupString gives 0 bytes: 
    XFilterEvent returns: False
Comment 1 Sergey V. Udaltsov 2011-11-20 09:01:16 UTC
Could you please attach
xkbcomp :0 -xkb out.xkb
Comment 2 Alexandre Rostovtsev 2011-11-20 11:53:15 UTC
Created attachment 53728 [details]
xkbcomp :0 -xkb out.xkb (with xkeyboard-config git a0e5adf1)
Comment 3 Sergey V. Udaltsov 2011-11-20 11:58:26 UTC
Thanks, I see the issue with BKSP. What do you see in xev when you press Delete and Shift+Delete?

Also, if you disable the option terminate:ctrl_alt_bksp - would shift+backspace work again?
Comment 4 Sergey V. Udaltsov 2011-11-20 12:04:18 UTC
I hope I fixed bksp in git. please check
Comment 5 Alexandre Rostovtsev 2011-11-20 13:52:46 UTC
(In reply to comment #3)
> Also, if you disable the option terminate:ctrl_alt_bksp - would shift+backspace
> work again?

Yes, Shift+Backspace works with git-a0e5adf1 if terminate:ctrl_alt_bksp is disabled.

(In reply to comment #4)
> I hope I fixed bksp in git. please check

Yes, thank you! Shift+Backspace is fixed with git-81fc86a9 (works even if terminate:ctrl_alt_bksp is enabled).

> Thanks, I see the issue with BKSP. What do you see in xev when you press Delete
> and Shift+Delete?

With git-81fc86a9, when pressing Delete:

KeyPress event, serial 32, synthetic NO, window 0x2600001,
    root 0xae, subw 0x0, time 305101635, (120,20), root:(174,457),
    state 0x0, keycode 119 (keysym 0xffff, Delete), same_screen YES,
    XLookupString gives 1 bytes: (7f) ""
    XmbLookupString gives 1 bytes: (7f) ""
    XFilterEvent returns: False

KeyRelease event, serial 32, synthetic NO, window 0x2600001,
    root 0xae, subw 0x0, time 305101734, (120,20), root:(174,457),
    state 0x0, keycode 119 (keysym 0xffff, Delete), same_screen YES,
    XLookupString gives 1 bytes: (7f) ""
    XFilterEvent returns: False

When pressing Shift+Delete:

KeyPress event, serial 32, synthetic NO, window 0x2800001,
    root 0xae, subw 0x0, time 305156712, (106,52), root:(107,128),
    state 0x0, keycode 50 (keysym 0xffe1, Shift_L), same_screen YES,
    XLookupString gives 0 bytes: 
    XmbLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyPress event, serial 32, synthetic NO, window 0x2800001,
    root 0xae, subw 0x0, time 305157146, (106,52), root:(107,128),
    state 0x1, keycode 119 (keysym 0xffff, Delete), same_screen YES,
    XLookupString gives 1 bytes: (7f) ""
    XmbLookupString gives 1 bytes: (7f) ""
    XFilterEvent returns: False

KeyRelease event, serial 32, synthetic NO, window 0x2800001,
    root 0xae, subw 0x0, time 305157321, (106,52), root:(107,128),
    state 0x1, keycode 119 (keysym 0xffff, Delete), same_screen YES,
    XLookupString gives 1 bytes: (7f) ""
    XFilterEvent returns: False

KeyRelease event, serial 32, synthetic NO, window 0x2800001,
    root 0xae, subw 0x0, time 305157441, (106,52), root:(107,128),
    state 0x1, keycode 50 (keysym 0xffe1, Shift_L), same_screen YES,
    XLookupString gives 0 bytes: 
    XFilterEvent returns: False

-----------

I now suspect that the Shift+Delete problem might be a toolkit issue, not a bug in xkeyboard-config. This is because I observe the same behavior with xkeyboard-config-2.3 (and the same xev output); and because while gtk+ and qt-based programs do not appear to recognize Shift+Delete, in xedit it has the same effect as the normal Delete key.

In other words, feel free to close this as fixed :)
Comment 6 Sergey V. Udaltsov 2011-11-20 14:23:11 UTC
Yes, DELE looks quite ok in your out.xkb. Closing the bug.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.