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 154983 - Focus is on "new" button by default
Focus is on "new" button by default
Status: RESOLVED FIXED
Product: gnome-games-superseded
Classification: Deprecated
Component: general
2.6.x
Other Linux
: Normal trivial
: ---
Assigned To: Rosanna Yuen
GNOME Games maintainers
: 159175 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2004-10-09 19:51 UTC by Nicolas George
Modified: 2012-01-31 23:16 UTC
See Also:
GNOME target: ---
GNOME version: 2.9/2.10



Description Nicolas George 2004-10-09 19:51:20 UTC
AisleRiot 2.6.2 (Debian version 1:2.6.2-3)
Start the game.
Accidently press enter.
Result: a new game is started, even if you were winning.
Comment 1 Callum McKenzie 2004-10-11 06:29:00 UTC
I can't see a clean way to fix this with the gnome_app* functions we currently
use. This is probably a good excuse to update the toolbar code to use
gtk_toolbar*, I'll try and do it in the 2.9.x cycle. 
Comment 2 Callum McKenzie 2004-11-23 22:40:20 UTC
*** Bug 159175 has been marked as a duplicate of this bug. ***
Comment 3 Callum McKenzie 2005-02-07 09:54:34 UTC
I have had another look at this. Basically the problem is that GTK doesn't seem
to let me not have an active widget. The obvious thing then is to use the
drawing area as the active widget and use space/return instead of a click.
Unfortunately this requires more code than I am prepared to put in at this stage
of the 2.9/2.10 release cycle, so it will have to wait another month for
2.11/2.12. Sorry.
Comment 4 Callum McKenzie 2005-06-02 21:41:07 UTC
Finally fixed. The call to use is under gtk_window_*, not gtk_widget_* where all
the other focus and default behaviour stuff is. Grrr.
Comment 5 Robert Ancell 2012-01-31 23:16:33 UTC
This bug is being reassigned to the "general" component so we can close the aisleriot bugzilla component.  Apologies for the mass email!