[Bug 66492] keuphoria occasionally only using quarter of screen
Ivo Anjo
knuckles at gmail.com
Tue Mar 31 21:03:11 UTC 2009
https://bugs.kde.org/show_bug.cgi?id=66492
--- Comment #27 from Ivo Anjo <knuckles gmail com> 2009-03-31 23:03:10 ---
Nice to see it seems to be fixed for you :)
As for the kernel panics, I tested it pretty hard before posting this second
patch, and no problems at all here (pc on since I woke up this morning). I'm
running on an nvidia 8600GT with the 180.29 drivers.
Finally,
> I don't want to be mean, but... is this really a fix? Shouldn't the inital size
> be the right one without setting it explicitely?
The problem is that the real screensaver widget is KScreenSaver. The XEmbed is
there to suck another top-level window (the one with the opengl animation)
inside the screensaver one. I did a small test application and found that if
you don't give a size to a top-level QGlWidget, the default will be 640x480 so
I'm guessing part of the bug was a race: maybe the default size was set before
the embed, maybe after, and that was causing the "works sometimes, other times
it doesn't".
In both my small test app and kscreensaver, setting the right size (e.g.
telling the gl widget that its size should be that of the real screensaver
widget) before XEmbed'ding did the trick.
--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the pkg-kde-bugs-fwd
mailing list