Bug 317908 - Highscore dialog: default tab could be the current game difficulty
Summary: Highscore dialog: default tab could be the current game difficulty
Status: RESOLVED FIXED
Alias: None
Product: libkdegames
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR wishlist
Target Milestone: ---
Assignee: kdegames bugs list
URL:
Keywords: junior-jobs
Depends on:
Blocks:
 
Reported: 2013-04-06 02:35 UTC by André Marcelo Alvarenga
Modified: 2016-04-11 13:20 UTC (History)
9 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description André Marcelo Alvarenga 2013-04-06 02:35:58 UTC
When you click on Game -> Show High Scores (CTRL + H), the highscore dialog is opened in 'Easy' tab.
This occurs even if you're playing in medium or hard difficulty.

Reproducible: Always

Actual Results:  
Easy game -> CTRL+H -> Easy tab
Medium game -> CTRL+H -> Easy tab
Hard game -> CTRL+H -> Easy tab

Expected Results:  
Easy game -> CTRL+H -> Easy tab
Medium game -> CTRL+H -> Medium tab
Hard game -> CTRL+H -> Hard tab
Comment 1 Roney Gomes 2013-04-08 15:24:11 UTC
Again, not a KBounce issue. libkdegames is the component that provides the highscores.

I'm not really sure whether we shall threat this behavior as a bug. just happens that the dialog defaults to the first tab, the "Easy" tab. I guess that, when people designed the high scores widget, it was intended to be a global overview of all high scores, not really related to the current game state.
Comment 2 Alex Jones 2013-09-14 12:31:11 UTC
Clean installation of KBounce, played a game in each difficulty. Each difficulty has it's own scoreboard which is correct and they are displayed along the side. However, as noted, if you are in medium difficulty mode, you should be taken to the medium difficulty scoreboard.
Comment 3 Nitish Chauhan 2015-12-22 07:52:24 UTC
i am interested in solving this bug.
Please guide me from where to start.
Thanks a lot.
Comment 4 Frederik Schwarzer 2015-12-22 16:14:19 UTC
Here is the repo: https://quickgit.kde.org/?p=libkdegames.git
The subdir "highscore" is of interest here.

For questions please subscribe to the mailing list and ask there.
https://mail.kde.org/mailman/listinfo/kde-games-devel
Comment 5 awanish 2016-01-27 19:12:58 UTC
hello i am new here and interested to solve this bug .
Please provide me the details to solve this
Comment 6 Frederik Schwarzer 2016-04-11 13:20:26 UTC
Git commit b84edcac03c4eb39891954b715f3a266ff2d299e by Frederik Schwarzer, on behalf of Dustin Steinack.
Committed on 11/04/2016 at 13:19.
Pushed by schwarzer into branch 'master'.

Set the default selected tab of the highscore dialog to the current game difficulty.

M  +5    -0    highscore/kscoredialog.cpp

http://commits.kde.org/libkdegames/b84edcac03c4eb39891954b715f3a266ff2d299e