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 361071 - score table is not updated with user name or score
score table is not updated with user name or score
Status: RESOLVED FIXED
Product: gnome-games-superseded
Classification: Deprecated
Component: mahjongg
2.16.x
Other Linux
: Normal normal
: gnome-2-18
Assigned To: GNOME Games maintainers
GNOME Games maintainers
: 362062 371849 390619 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2006-10-10 06:47 UTC by Frank Lohmeyer
Modified: 2006-12-29 11:51 UTC
See Also:
GNOME target: ---
GNOME version: 2.15/2.16


Attachments
Proposed patch. (698 bytes, patch)
2006-10-30 21:18 UTC, Naer Dinsul
none Details | Review

Description Frank Lohmeyer 2006-10-10 06:47:00 UTC
Please describe the problem:
when a game ends in a "winning" time, the window opens, but the username and time are never listed. -- difficult mode

Steps to reproduce:
1. finish a game in winning time
2. 
3. 


Actual results:
the window opens but there is no username, score or ony way to add them


Expected results:
see the username and score in the appropriate place in the list

Does this happen every time?
every time

Other information:
not a priority fix; however, seeing the list of scoring time is fun
Comment 1 Jason Clinton 2006-10-29 02:31:24 UTC
I have seen this. Confirming.
Comment 2 Jason Clinton 2006-10-29 02:33:20 UTC
*** Bug 362062 has been marked as a duplicate of this bug. ***
Comment 3 Jason Clinton 2006-10-29 02:34:01 UTC
Fixing summary.
Comment 4 Sebastien Bacher 2006-10-29 10:25:16 UTC
From the duplicate:

"gnome-games-2.16.1/mahjongg/Makefile.am has:

        -for i in easy difficult confounding pyramid tictactoe cloud dragon
bridges ziggurat; do \
                touch $(DESTDIR)$(scoredir)/mahjongg.$$i.scores; \
                chown $(scores_user):$(scores_group)
$(DESTDIR)$(scoredir)/mahjongg.$$i.scores; \
                chmod 664 $(DESTDIR)$(scoredir)/mahjongg.$$i.scores; \
        done


but mahjongg.map:

<map name="Difficult" scorename="diff">


create mahjongg.diff.scores by hand and the scores are saved."
Comment 5 Naer Dinsul 2006-10-30 21:18:55 UTC
Created attachment 75689 [details] [review]
Proposed patch.

Simply replace "difficult" with "diff" in Makefile.am

This produces the file mahjongg.diff.scores instead of mahjongg.difficult.scores.
Comment 6 Callum McKenzie 2006-11-07 05:30:42 UTC
*** Bug 371849 has been marked as a duplicate of this bug. ***
Comment 7 Callum McKenzie 2006-11-07 05:41:37 UTC
The proposed patch is the wrong way to do it. The high score file has always been known as difficult, changing it will effectively remove any old high scores. Instead I've changed the mahjongg.map file which has the faulty high score name in it.

Andreas or Jason: should 2.16 be fixed too?

Comment 8 Jason Clinton 2006-11-07 19:42:43 UTC
Andreas, since you are currently making the stable releases, I'll defer to your opinion.
Comment 9 Andreas Røsdal 2006-11-07 20:24:16 UTC
Yes, I think that this patch should be backported to the 2.16 branch.

Since there are now quite a lot of fixed bugs in the 2.16 branch since the previous stable release, I think that a relese of 2.16.1.1 should be done within the next few days.
Comment 10 Andreas Røsdal 2006-12-29 11:51:59 UTC
*** Bug 390619 has been marked as a duplicate of this bug. ***