Bug 177515

Summary: High scores list should not alphabetize tabs
Product: [Frameworks and Libraries] libkdegames Reporter: David Benjamin <davidben>
Component: generalAssignee: kdegames bugs list <kde-games-bugs>
Status: RESOLVED FIXED    
Severity: wishlist CC: kde-games-bugs
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:

Description David Benjamin 2008-12-11 19:07:11 UTC
Version:            (using Devel)
OS:                Linux
Installed from:    Compiled sources

The high scores alphabetizes the categories in KNetwalk in KMines, and I assume other games as well. A more natural ordering would be "Easy" "Medium" "Hard".
Comment 1 Albert Astals Cid 2008-12-11 20:04:57 UTC
Andreas do you feel like being libkdegames maintainer, would you want us to assign kde-games-bugs@kde.org as libkdegames default owner?
Comment 2 Andreas Beckermann 2008-12-11 20:29:13 UTC
I haven't been the maintainer of libkdegames in quite a while, so feel free to reassign.
Comment 3 Albert Astals Cid 2008-12-14 22:34:56 UTC
I agree than difficulty ordering instead of alphabetic ordering would look nicer.
Comment 4 Albert Astals Cid 2008-12-16 20:56:17 UTC
SVN commit 897774 by aacid:

Add to KScoreDialog the possibility of giving tabs weights so they are ordered by difficulty level not by level name

BUGS: 177515


 M  +2 -0      kbattleship/src/playfield.cpp  
 M  +2 -0      kblackbox/kbbmainwindow.cpp  
 M  +2 -0      kmines/mainwindow.cpp  
 M  +2 -0      knetwalk/src/mainwindow.cpp  
 M  +2 -0      kollision/mainwindow.cpp  
 M  +19 -1     libkdegames/highscore/kscoredialog.cpp  
 M  +12 -0     libkdegames/highscore/kscoredialog.h  
 M  +16 -0     libkdegames/kgamedifficulty.cpp  
 M  +5 -0      libkdegames/kgamedifficulty.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=897774