After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 154940 - Dead keys after a key binding is unmapped for multimedia event
Dead keys after a key binding is unmapped for multimedia event
Status: RESOLVED DUPLICATE of bug 133815
Product: gnome-control-center
Classification: Core
Component: [obsolete] Keybinding
git master
Other Linux
: Normal normal
: ---
Assigned To: Control-Center Maintainers
Control-Center Maintainers
: 159226 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2004-10-08 22:31 UTC by Michal Bukovjan
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Michal Bukovjan 2004-10-08 22:31:08 UTC
When unmapping a key code in the capplet (or changing existing mapping), the key
that is unmapped gets cleared its keysym without ever restoring the original value.

Try this (pick a sound/multimedia binding like Next track):
1. Assign a key "w" (you can use any modifier).
2. Remove the assignment via Backspace.
3. Now you cannot use the "w" key anywhere in X - it is dead, because it got its
keysym removed.

Only logout/login restores correct behavior.

The bug is in gnome-settings-daemon/gnome-settings-multimedia-keys.c:290
(update_kbd_cb). We unhook the key in unhookup_keysym, but then the key is clear
and can no longer be used!

The correct solution would probably be:
a) to remember the original value after login and rebind that value

or

b) when doing the keyboard update, instead of unhooking individual keys, reset
to the session default keyboard layout.
Comment 1 Sebastien Bacher 2004-11-28 20:26:24 UTC
*** Bug 159226 has been marked as a duplicate of this bug. ***
Comment 2 Michal Bukovjan 2004-12-04 17:24:07 UTC

*** This bug has been marked as a duplicate of 133815 ***