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 761316 - Score gets registered multiple times when pause button is pushed
Score gets registered multiple times when pause button is pushed
Status: RESOLVED FIXED
Product: gnome-nibbles
Classification: Applications
Component: general
git master
Other Linux
: Normal normal
: ---
Assigned To: gnome-nibbles-maint
gnome-nibbles-maint
Depends on:
Blocks:
 
 
Reported: 2016-01-30 00:16 UTC by Anders Jonsson
Modified: 2016-02-13 18:56 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Disable pause button after submitting high score (854 bytes, patch)
2016-02-13 15:08 UTC, Gabriel Ivașcu
committed Details | Review

Description Anders Jonsson 2016-01-30 00:16:06 UTC
Hi,
noticed a thing when testing gnome-nibbles from current git master:

When having played a game, a high score is recorded and I can click "Done". So far so good. 

However, if I then click the "Pause" button in the GUI the congratulation screen is shown again, and the same score is added once more to the top ten list. This can be repeated until this score no longer is good enough to enter the top ten list.
Comment 1 Gabriel Ivașcu 2016-02-13 15:08:31 UTC
Created attachment 321073 [details] [review]
Disable pause button after submitting high score

This should fix it.
Comment 2 Michael Catanzaro 2016-02-13 18:54:26 UTC
Thanks