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 169462 - Statistics are wrong
Statistics are wrong
Status: RESOLVED FIXED
Product: gnome-games-superseded
Classification: Deprecated
Component: general
2.9.x
Other All
: Normal minor
: ---
Assigned To: Rosanna Yuen
GNOME Games maintainers
: 169560 171452 313506 331913 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2005-03-07 07:06 UTC by Mitchell Ferschweiler
Modified: 2012-01-31 23:15 UTC
See Also:
GNOME target: ---
GNOME version: 2.9/2.10


Attachments
Resets game-in-progress to FALSE when "New Game" is selected after a win. (319 bytes, patch)
2005-03-25 21:55 UTC, wbartl1
none Details | Review

Description Mitchell Ferschweiler 2005-03-07 07:06:36 UTC
Please describe the problem:
The total number of games is wrong. It's being incremented at the beginning and
the end of the game. (Note: I've only tried this method with Freecell)

Steps to reproduce:
1. Start a new game. This will add 1 to the total number of games played.
2. Beat the game. This will add 1 to the number of total games played.
3. One game has been played, but the statistics report two have been played.


Actual results:


Expected results:


Does this happen every time?
Yes

Other information:
Comment 1 Mitchell Ferschweiler 2005-03-07 07:16:12 UTC
There are some ways to avoid this bug, but if you play consecutive games, you're
sure to run into it on the second or third game. There are some ways to avoid
it, such as resetting the statistics at the right time.
Comment 2 Callum McKenzie 2005-03-07 11:09:35 UTC
Just a quick note to confirm the bug. Unfortunately I have jsut made the 2.10.0
release with this in it. I hope to get a fix into 2.10.1.
Comment 3 Callum McKenzie 2005-03-08 08:33:50 UTC
*** Bug 169560 has been marked as a duplicate of this bug. ***
Comment 4 Callum McKenzie 2005-03-08 09:16:17 UTC
This has now been fixed in CVS, both the HEAD and 2.10 versions. The fix should
first appear in a tarball release in 2.10.1.
Comment 5 Richard Hoelscher 2005-03-24 06:24:12 UTC
*** Bug 171452 has been marked as a duplicate of this bug. ***
Comment 6 wbartl1 2005-03-25 21:55:47 UTC
Created attachment 39258 [details] [review]
Resets game-in-progress to FALSE when "New Game" is selected after a win.

Patch works as "patch -p0 < patchfile" when run from the
top directory of the extracted source code.
Comment 7 Callum McKenzie 2005-08-15 06:49:42 UTC
*** Bug 313506 has been marked as a duplicate of this bug. ***
Comment 8 Callum McKenzie 2006-02-21 04:41:19 UTC
*** Bug 331913 has been marked as a duplicate of this bug. ***
Comment 9 Robert Ancell 2012-01-31 23:15:30 UTC
This bug is being reassigned to the "general" component so we can close the aisleriot bugzilla component.  Apologies for the mass email!