[Kde-games-devel] KScoreDialog

Fela Winkelmolen fela.kde at gmail.com
Mon Apr 28 16:40:37 CEST 2008


It's quite some time I wanted to write this mail.. :) So here I am, finally..

Mostly it is a list of shortcomings and bugs of KScoreDialog:

1. There are internationalization issues of which I think Milliams is taking 
care of..

2. If the same instance of KScoreDialog is used (I create a new instance every 
time the dialog is showed as that seems to work better) the caption comment 
in the dialog isn't shown correctly. For example in KMines, the capiton "Well 
Done...." will remain if press Show Highscore after having won the game.

3. Again when using always the same instance of KScoreDialog, there are 
problems with the size of the dialog. To reproduce this try to show the 
highscore list in KMines as soon as the app is running, and then win a game. 
You will notice that the input area to enter the name will be too small.

4. The last username used doesn't seem to be remembered at all.. (contrarily 
as to what the apidox says).

5. KScoreDialog::setComment() doen't seem to work... I added a comment "You 
did not make it to the highscore list.. " when not making it in the highscore 
list in KNetWalk, but it's never shown..

6. It looks like scores <= 0 aren't supported.

7. Clicking on close while entering the user name discarts what is written so 
far.. maybe there could be two buttons: Ok and Cancel.

On a slightly unrelated note, the way KNetWalk calculate it's score changed 
radically from the previous version, what could I do to make the new 
highscore entries not clash with the old ones? Does anybody by any chance 
have a knetwalkrc from kde 4.0 containing some highscore entries so I can do 
some tests??

Cheers,

- fela


More information about the kde-games-devel mailing list