[kmahjongg] [Bug 332656] Kmahjongg can't be paused

Jan-Peter Nilsson kdebugs at pappkartong.se
Sun Aug 3 15:13:10 BST 2014


https://bugs.kde.org/show_bug.cgi?id=332656

Jan-Peter Nilsson <kdebugs at pappkartong.se> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kdebugs at pappkartong.se

--- Comment #1 from Jan-Peter Nilsson <kdebugs at pappkartong.se> ---
A is side effect of pause on minimize.
Since pause toggles between pause/unpause and the game is already paused, the
pause triggered by the minimize will unpause the game and the pause triggered
by restoring the window pauses the game.

With B we have a similar story, except that it also shows a problem in the
conditions for unpausing on restore:
1. Sets window state to maximized
2. Minimize pauses the game, this sets the window sate to minimized and
maximized
3. Restore checks if the previous window state was minimized
It was not, it was minimized and maximized, so no unpause it triggered.
4. Second minimize unpauses the game
5. Same as 4

So in summary I believe we have three problems here:
1. Minimizing while paused will unpause the game
2. Unpausing the game on restore of the window does not work if the window is
maximized
3. Restoring the window will unpause the game even if it was manually paused
before minimizing (assuming 1 is fixed).

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the Unassigned-bugs mailing list