Bug 154068 - kgoldrunner's "Quick start" and "Tutorial" dialogs behave bad on start
Summary: kgoldrunner's "Quick start" and "Tutorial" dialogs behave bad on start
Status: RESOLVED FIXED
Alias: None
Product: kgoldrunner
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Ian Wadham
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-15 00:26 UTC by Dmitry Suzdalev
Modified: 2007-12-15 20:26 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dmitry Suzdalev 2007-12-15 00:26:53 UTC
Version:            (using KDE Devel)
Installed from:    Compiled sources
OS:                Linux

Note: this bug can be reproduced only inside a KDE4 session - during IRC meeting we found that no one of kdegames team seen it when launching the game from KDE3 session. Perhaps this has something to do with kde4's kwin.

Steps to reproduce:

1. Start kgoldrunner - you will see a "Quick start" dialog
2. Press "Play"
3. "Tutorial" message box comes up
4. Press "OK"
5. "Quick start" dialog is shown *again*! On top of "Tutorial" message box. That looks really odd. If you press any button in "Quick start" it doesn't react, just hides and immediately shows itself again - blinks.
6. Only if you press "OK" button in "Tutorial" message box which sits *behind* the "Quick start" - then both dialogs do disappear and you are able to start playing

I think this makes a bad first impression of kgoldrunner and should be fixed before KDE4 release.

If I wasn't clear enough, feel free to demand further details :)
Comment 1 Luciano Montanaro 2007-12-15 11:46:47 UTC
I think I managed to reproduce it somehow, with KGoldrunner and Kwin 4 only.
But I can reproduce it only with the Quartz decoration, and it does not happen regularly.

Is this what you are using, by chance?

Does the problem described appear randomly or systematically?

The decoration looks problematic with other programs, and it has rendering artifacts, I think. I'll have a closer look at it.
Comment 2 Ian Wadham 2007-12-15 12:03:44 UTC
Andreas Pakulat sent me the answer when I posted on kde-devel.
The KDialog is there all the time.  In KDE 3 it is UNDER the message
box: in KDE 4 it is on top.  I will send a patch to Dmitry to test.
Basically just a line "qs->hide();" in KGrGame::quickStartPlay(), if you
would like to try it too.
Comment 3 Dmitry Suzdalev 2007-12-15 16:18:29 UTC
Luciano: I am using oxygen windec, but the patch Ian sent me fixes the problem.

Ian, commit'n'close! :)
Comment 4 Ian Wadham 2007-12-15 20:26:48 UTC
SVN commit 748863 by ianw:

BUG: 154068
Make sure the quick-start KDialog is hidden before displaying tutorial message boxes.

 M  +3 -0      kgrgame.cpp  


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