Bug 1475615 - High scores not in order
Summary: High scores not in order
Keywords:
Status: CLOSED INSUFFICIENT_DATA
Alias: None
Product: Fedora
Classification: Fedora
Component: gnome-2048
Version: 26
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Yanko Kaneti
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-07-27 01:44 UTC by Alexander Ploumistos
Modified: 2017-07-27 14:49 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-07-27 14:41:18 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Scoreboard (25.25 KB, image/png)
2017-07-27 01:44 UTC, Alexander Ploumistos
no flags Details
grid4 scores (34.93 KB, text/plain)
2017-07-27 11:49 UTC, Alexander Ploumistos
no flags Details

Description Alexander Ploumistos 2017-07-27 01:44:39 UTC
Created attachment 1305141 [details]
Scoreboard

After upgrading to F26 and gnome-2048-3.22.0-2.fc26.x86_64, the scoreboard is not in order any more and the highest scores are missing.

There does seem to be some order with regard to the player names, though not alphabetical. In the attached screenshot, the first two scores belong to "player_F" while the others to "player_A".

Comment 1 Yanko Kaneti 2017-07-27 06:27:24 UTC
I can't reproduce which makes this awkard  to track.

- If you run gnome-2048 in a terminal , does it spew anything unusual ?
- what is your system locale ?
- could you maybe share your (~/.local/share/gnome-2048/scores/grid4) perhaps with somewhat sanitized names ?

Comment 2 Alexander Ploumistos 2017-07-27 11:49:13 UTC
Created attachment 1305303 [details]
grid4 scores

(In reply to Yanko Kaneti from comment #1)
> I can't reproduce which makes this awkard  to track.
> 
> - If you run gnome-2048 in a terminal , does it spew anything unusual ?

No output whatsoever.

> - what is your system locale ?

en_US.utf8

> - could you maybe share your (~/.local/share/gnome-2048/scores/grid4)
> perhaps with somewhat sanitized names ?

I changed the names so that they are in the same alphabetical order and I kept the exclamation mark, that the second player had right after his name and a hyphen in the first player's name.

Comment 3 Yanko Kaneti 2017-07-27 13:23:54 UTC
Thanks. Unfortunately I still can't reproduce, with your score file and with mine.
Tried both rawhide and f26 fully updated.

Maybe there is another score category file in the same directory ? or any other file there that might be confusing it ?

Comment 4 Alexander Ploumistos 2017-07-27 14:09:30 UTC
(In reply to Yanko Kaneti from comment #3)
> Maybe there is another score category file in the same directory ? or any
> other file there that might be confusing it ?

Just a grid5 with a single score.

I moved both files out of the directory and played a few games using the same player names. This time, the scores were displayed in descending order. I deleted the new file and restored the original ones. Problem gone. I checked my gsettings as well, but I didn't notice anything out of the ordinary.

Comment 5 Yanko Kaneti 2017-07-27 14:41:18 UTC
Thanks for the report. Now that its gone on your end too I'll close this one as INSUFFICIENT_DATA and reopen if something like that comes up again...

I have no idea what it might be.

Comment 6 Alexander Ploumistos 2017-07-27 14:49:59 UTC
(In reply to Yanko Kaneti from comment #5)
> Thanks for the report. Now that its gone on your end too I'll close this one
> as INSUFFICIENT_DATA and reopen if something like that comes up again...

Sure, thanks for taking an interest.


Note You need to log in before you can comment on or make changes to this bug.