[Kde-games-devel] Review Request: Correcting inactive behaviour

Mauricio Piacentini piacentini at kde.org
Fri Mar 27 03:39:07 CET 2009



> On 2009-03-26 19:15:31, Mauricio Piacentini wrote:
> > Your patch indeed fixes the problem with KGameDifficulty, but it disables pausing the game when a menu or the configuration dialog is opened. In this case, after patching, the game continues to run. Can you reproduce this with the patched game? So I believe you are on track for fixing the KGameDifficulty issue, but we need to have a closer look at how to do this and still keep the game pausing when a menu is invoked. Notice that we need to store the state info, as we need to know if the game was paused by the user (in which case it will not be resumed)... hum....

I just noticed that with Qt 4.5rc2 the game does NOT pause when a configuration dialog or menu is opened, like it used to do in KDE 4.1 days.
To fix just the KGameDifficulty bug, the patch is simpler, a one line. I have just committed it. But the pause functionality is not working as designed, so this routine and the FocusIn FocusOut events need to be rechecked. I will see if I will have time to update to 4.5 final and investigate this during the next days. But thanks for the KGameDifficulty fix!


- Mauricio


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://reviewboard.kde.org/r/434/#review640
-----------------------------------------------------------


On 2009-03-26 16:14:34, Dirk Leifeld wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://reviewboard.kde.org/r/434/
> -----------------------------------------------------------
> 
> (Updated 2009-03-26 16:14:34)
> 
> 
> Review request for KDE Games.
> 
> 
> Summary
> -------
> 
> Using the menue to switch the difficulty should not make the game inactive. But it leads to a FocusOutEvent...
> 
> 
> This addresses bug 169481.
>     https://bugs.kde.org/show_bug.cgi?id=169481
> 
> 
> Diffs
> -----
> 
>   trunk/KDE/kdegames/kblocks/kblocksscene.cpp 944983 
> 
> Diff: http://reviewboard.kde.org/r/434/diff
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Dirk
> 
>



More information about the kde-games-devel mailing list