GNOME Bugzilla – Bug 591526
Accelerator keys with <super> modifier also triggered by unmodified key
Last modified: 2009-08-17 17:48:26 UTC
Please describe the problem: An accelerator key with a GDK_SUPER_MASK modifier is defined with widget_add_accelerator. The specified signal is emitted for both the modified and unmodified key press. Steps to reproduce: 1. as above 2. 3. Actual results: as above Expected results: Only the keypress with the super modifier should emit the signal Does this happen every time? Yes Other information: There are some other application specific bug reports filed in Bugzilla that may also be being caused by this problem.
*** Bug 591161 has been marked as a duplicate of this bug. ***
commit 270a95f12e2375227218ec66da4e112d8f331f77 Author: Matthias Clasen <mclasen@redhat.com> Date: Mon Aug 17 13:38:06 2009 -0400 Handle accelerators involving virtual modifiers better The previous code would trigger on an unmodified 'S' key for a 'Super+S' accel. The current code avoids that at the cost of breaking combinations like 'Mod4+Super+S' which are too exotic to worry about... Bug 591526