[Bug 379826] Re: kde keyboard shortcuts can't capture ctrl/alt/shift plus forward
jshute
jshute at gmail.com
Sun May 24 17:55:58 UTC 2009
I'm using a microsoft natural keyboard 4000, which has a row of extra
keys along the top (including volume up/down, mute, pause), and
forward/back buttons at the bottom.
These keys are captured correctly but lose the modifiers.
Here's what I see in xev for Ctrl+VolumeUp. It has the modifier state
set on the KeyRelease but not on the KeyPress the first time. The
second time (without releasing Ctrl), it has the state set for both
KeyPress and KeyRelease. (For normal letter keys, the state is always
set for both press and release.)
KeyPress event, serial 293, synthetic NO, window 0x2c00001,
root 0x1a7, subw 0x0, time 1809658, (138,156), root:(197,495),
state 0x0, keycode 123 (keysym 0x1008ff13, XF86AudioRaiseVolume), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
KeyRelease event, serial 295, synthetic NO, window 0x2c00001,
root 0x1a7, subw 0x0, time 1809769, (138,156), root:(197,495),
state 0x4, keycode 123 (keysym 0x1008ff13, XF86AudioRaiseVolume), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False
KeyPress event, serial 295, synthetic NO, window 0x2c00001,
root 0x1a7, subw 0x0, time 1811473, (138,156), root:(197,495),
state 0x4, keycode 123 (keysym 0x1008ff13, XF86AudioRaiseVolume), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
KeyRelease event, serial 295, synthetic NO, window 0x2c00001,
root 0x1a7, subw 0x0, time 1811569, (138,156), root:(197,495),
state 0x4, keycode 123 (keysym 0x1008ff13, XF86AudioRaiseVolume), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False
If I do one Ctrl+VolumeUp outside the window, then click capture, and do
it again, the shortcut is captured with the Ctrl modifier. (This
doesn't work with Alt though because Alt+Click doesn't count as a click
in the window manager.)
So maybe this is actually a bug in X or somewhere else about losing the
modifiers. I don't know what is actually supposed to happen for key
events.
--
kde keyboard shortcuts can't capture ctrl/alt/shift plus forward
https://bugs.launchpad.net/bugs/379826
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to kdebase-workspace in ubuntu.
More information about the kubuntu-bugs
mailing list