Bug 1475615 - High scores not in order
High scores not in order
Status: CLOSED INSUFFICIENT_DATA
Product: Fedora
Classification: Fedora
Component: gnome-2048 (Show other bugs)
26
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Yanko Kaneti
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2017-07-26 21:44 EDT by Alexander Ploumistos
Modified: 2017-07-27 10:49 EDT (History)
4 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2017-07-27 10:41:18 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


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

  None (edit)
Description Alexander Ploumistos 2017-07-26 21:44:39 EDT
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 02:27:24 EDT
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 07:49 EDT
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 09:23:54 EDT
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 10:09:30 EDT
(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 10:41:18 EDT
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 10:49:59 EDT
(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.