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 151541 - Insensitive actions still claim accelerator
Insensitive actions still claim accelerator
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Class: UIManager / Actions
2.4.x
Other All
: High normal
: ---
Assigned To: gtk-bugs
gtk-bugs
: 151539 (view as bug list)
Depends on:
Blocks: 95256
 
 
Reported: 2004-08-31 17:59 UTC by Jody Goldberg
Modified: 2011-02-04 16:17 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Only claim to have handled accelerators when action is sensitive (1.23 KB, patch)
2004-08-31 18:00 UTC, Jody Goldberg
none Details | Review

Description Jody Goldberg 2004-08-31 17:59:39 UTC
I'm not certain this is a bug it will depend on the semantics of actions and accelerators.

We had a situation where an action was assigned an explicit accelerator 'F4'
In instances where that action was insensitive we had a different operation
that used the same key.  Even when the action was insensitive the other event
was never received.
Comment 1 Jody Goldberg 2004-08-31 18:00:24 UTC
Created attachment 31148 [details] [review]
Only claim to have handled accelerators when action is sensitive
Comment 2 Matthias Clasen 2004-09-01 12:40:15 UTC
*** Bug 151539 has been marked as a duplicate of this bug. ***
Comment 3 Matthias Clasen 2004-11-28 05:13:30 UTC
2004-11-28  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkaction.c (closure_accel_activate): Don't claim to have
	handled the accelerator if the action is insensitive.  (#151541,
	Jody Goldberg)