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 728305 - New Game button incorrectly becomes Resume button if window loses focus before start of game
New Game button incorrectly becomes Resume button if window loses focus befor...
Status: RESOLVED FIXED
Product: gnome-mines
Classification: Applications
Component: general
3.12.x
Other Linux
: Normal normal
: ---
Assigned To: gnome-mines-maint
gnome-mines-maint
Depends on:
Blocks:
 
 
Reported: 2014-04-15 23:19 UTC by Michael Catanzaro
Modified: 2014-04-15 23:39 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Never pause the game before it has begun (1.33 KB, patch)
2014-04-15 23:39 UTC, Michael Catanzaro
committed Details | Review

Description Michael Catanzaro 2014-04-15 23:19:41 UTC
* Start a new game. Do not clear any mines.
* Click outside the window so that the window loses focus and the game automatically pauses itself.
* The New Game button has changed to a Play button. Clicking Play pauses and unpauses the game.

It shouldn't be possible to pause the game before the first mine has been uncovered.
Comment 1 Michael Catanzaro 2014-04-15 23:39:52 UTC
The following fix has been pushed:
ad69a8b Never pause the game before it has begun
Comment 2 Michael Catanzaro 2014-04-15 23:39:55 UTC
Created attachment 274407 [details] [review]
Never pause the game before it has begun

Clicking outside the window incorrectly results in the New Game button
being replaced with the Play button, which both pauses and resumes the
game. Oops.