Same GNOME: False high score notice

Bug #44646 reported by Martijn Vermaat
10
Affects Status Importance Assigned to Milestone
GNOME Games
Fix Released
Low
gnome-games (Ubuntu)
Fix Released
Medium
Daniel Holbach

Bug Description

After playing a Same GNOME game, the high scores pop up in a dialog. That's expected, but even if my score is too low to be a high score, the dialog says "Congratulations! Your score is in the top 10.".

My low score does not appear in the high scores and I cannot type my name anywhere, so it's just the message that should not be displayed.

When I actually have a high score, I can just type my name as expected.

Revision history for this message
Martijn Vermaat (mvermaat) wrote : Example screenshot

This screenshot shows the false congratulating message.

It's in Dutch, translations are:

'Gefeliciteerd' = 'Congratulations'
'Uw score zit bij de top 10' = 'Your score is in the top 10'

Revision history for this message
Vassilis Pandis (pandisv) wrote :

I can't reproduce this on Dapper with 1:2.14.1-0ubuntu2. Are you running Dapper too ?

Revision history for this message
Martijn Vermaat (mvermaat) wrote :

Yes, running Dapper with all updates (as of yesterday).

I considered the possibility that this is a locale problem, but my mother tried it today in English and the problem was still there ('Congratulations! Your score has made the top ten.').

Are there relevant files that might give a clue whether or not this is a problem local to my mother's computer? I have not yet tried to reproduce it on my own computer because it takes some time to fill the highscores first...

Revision history for this message
Daniel Holbach (dholbach) wrote :

Can't reproduce either.

Revision history for this message
Martijn Vermaat (mvermaat) wrote :

Ok, I tried it and I can't reproduce it on my own computer either. Although I'm sure the problem exists on my mother's computer (see the screenshot I took there). I installed and maintain both systems, and I don't see any obvious configuration differences. My mother created most of the highscores under Breezy, so maybe that's where the problem is...

I will have a look at the highscore files. Any hints where to look?

Revision history for this message
Martijn Vermaat (mvermaat) wrote :

So I had a look at /var/games/same-gnome.Small.scores on the computer with the problem:

4094 1146223647 Janny Vermaat
3976 1143716774 Janny Vermaat
3892 1144161002 Janny Vermaat
3834 1146580105 Janny Vermaat
3826 1139920615 Janny Vermaat
3802 1138970224 Janny Vermaat
3770 1142856452 Janny Vermaat
3756 1146070258 Janny Vermaat
3740 1140376532 Janny Vermaat
3738 1139584275 Janny Vermaat
.000000 1140376532 Janny Vermaat
3738.000000 1139584275 Janny Vermaat

The last two lines look suspicious ;)

Compare the same file on my own computer:

2632 1147958549 Martijn Vermaat
1739 1147958856 Martijn Vermaat
1447 1147958454 Martijn Vermaat
1433 1147958776 Martijn Vermaat
1300 1147958676 Martijn Vermaat
1182 1147958502 Martijn Vermaat
1180 1147958976 Martijn Vermaat
996 1147958593 Martijn Vermaat
601 1147958735 Martijn Vermaat
416 1147958915 Martijn Vermaat

I checked and indeed placing the first file on my machine introduces the bug on my machine.

Now my mother is certain the bug was introduced with the upgrade to Dapper I did some weeks ago. Are there other users with a Same GNOME highscore file that got corrupted after upgrading from Breezy to Dapper?

Revision history for this message
Martijn Vermaat (mvermaat) wrote :

Sorry, forgot to add this. The highscore file for the 'medium' sized game has the same problem. That is, /var/games/same-gnome.Medium.scores looks like this:

2826 1147632471 Janny Vermaat
2300 1135165871 Janny Vermaat
2278 1135268901 Janny Vermaat
2139 1147698776 Janny Vermaat
2034 1135280560 Janny Vermaat
1944 1135262321 Janny Vermaat
1821 1135252639 Janny Vermaat
1658 1135177926 Janny Vermaat
1620 1135274661 Janny Vermaat
1582 1135262944 Janny Vermaat
.000000 1135162833 Janny Vermaat
1551.000000 1135261983 Janny Vermaat

Changed in gnome-games:
assignee: nobody → dholbach
Revision history for this message
Richard Hoelscher (rahga) wrote :

This was fixed upstream, and a patch was applied to stable. We will be releasing 2.14.2.1 soon because of a bigger bug in aisleriot, and this fix will be included in it.

http://bugzilla.gnome.org/show_bug.cgi?id=344548

(Technically, we were writing to a file that was open r/w, and not truncating it once we were finished with it.)

Changed in gnome-games:
status: Unknown → Fix Released
Revision history for this message
Daniel Holbach (dholbach) wrote :

2.14.2.1 was uploaded to dapper-updates.

Changed in gnome-games:
status: Unconfirmed → Fix Released
Changed in gnome-games:
importance: Unknown → Low
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.