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 769921 - Enter doesn't work to start the game
Enter doesn't work to start the game
Status: RESOLVED FIXED
Product: swell-foop
Classification: Applications
Component: general
git master
Other Linux
: Normal normal
: ---
Assigned To: swell-foop-maint
swell-foop-maint
Depends on:
Blocks:
 
 
Reported: 2016-08-15 09:50 UTC by Mario Wenzel
Modified: 2017-05-22 14:56 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Change when the keypress callback is connected. (1.61 KB, patch)
2017-05-17 09:00 UTC, Robert Mibus
committed Details | Review

Description Mario Wenzel 2016-08-15 09:50:42 UTC
Once the game is open pressing enter should start new game.
Comment 1 Robert Roth 2016-08-29 22:29:37 UTC
I'm out of ideas, I have tried using has_default, has_focus, receives_default, grab_focus () on the let's play button, all without a result.
Comment 2 Robert Mibus 2017-05-17 09:00:44 UTC
Created attachment 352008 [details] [review]
Change when the keypress callback is connected.

This patch changes when the keypress callback is attached to the window; otherwise that callback swallows the "enter" that looks like it should go to the button to start the game.
Comment 3 Robert Roth 2017-05-22 14:56:30 UTC
Thanks for the solution, it indeed worked, congrats for figuring that out.