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 504963 - Button press is ignored after state changes from disabled to enabled
Button press is ignored after state changes from disabled to enabled
Status: RESOLVED DUPLICATE of bug 56070
Product: gtk+
Classification: Platform
Component: Widget: Other
2.12.x
Other All
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2007-12-22 00:34 UTC by A Schuring
Modified: 2007-12-24 14:44 UTC
See Also:
GNOME target: ---
GNOME version: 2.19/2.20



Description A Schuring 2007-12-22 00:34:36 UTC
When the mouse cursor hovers over a disabled button, and that button gets enabled (by an external event), mouse clicks on that button are not captured until the mouse has left and re-entered the button area. I believe this happens on all platforms, it at least affects Windows and Linux.

This is a long-standing annoyance of me; this bug has existed for at least two years and I'm a little surprised it hasn't been fixed yet; probably it's such a minor issue that no one ever bothered to file a bug report for it.

The applications that exhibit this behaviour:
Freeciv 1.8 on Windows (don't know the gtk version)
Freeciv 2.1 on Windows
Freeciv 2.0 on Ubuntu Gutsy: Freeciv version 2.0.9 gui-gtk-2.0
Exfalso 1.0 on Ubuntu Gutsy (python application)

Because multiple applications are affected, I suspect it's a GTK bug. Of course it might also be an application bug, I really have no way to tell. I listed these applications because I know how to trigger it in them.
Comment 1 A Schuring 2007-12-22 00:41:22 UTC
In case anyone is wondering: the Freeciv "Turn Done" button in the main game gets disabled while the other players' moves are processed. When the players next turn starts, the button gets re-enabled.

How to reproduce: start a new freeciv game (any platform I suspect), and immediately click "Turn Done". You will see the year counter advance, and the button is no longer highlighted. Additional clicks on the button have no effect (the year counter does not change). When the mouse leaves the button, and re-enters the button, the button gets highlighted again and a mouse click is processed as normal.

This is not a freeciv feature, because multiple shift-enter keypresses are still processed as separate "Turn Done" events.
Comment 2 Xan Lopez 2007-12-23 01:13:34 UTC

*** This bug has been marked as a duplicate of 56070 ***
Comment 3 Xan Lopez 2007-12-23 01:14:50 UTC
Yes, this is a known issue. Thanks for taking the time to report it :)
Comment 4 A Schuring 2007-12-24 14:44:33 UTC
Ah, so there already is already a bug for it. Apologies for not being able to find it (I did search for it, though).