[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [Bug 302783] In kde 4.9 rc1 some opengl fullscreen games dont work correctly, by not going fullscree
From:       Thomas Lübking <thomas.luebking () gmail ! com>
Date:       2012-08-10 22:28:43
Message-ID: bug-302783-17878-o4qH2zLDcs () http ! bugs ! kde ! org/
[Download RAW message or body]

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

--- Comment #46 from Thomas Lübking <thomas.luebking@gmail.com> ---
What happens is that the application (or rather SDL) "somehow" attempts to set
a different video size (1024x768) and that is also signaled through xrandr and
kwin correctly and successfully resizes the overlay window as well as the
glViewport (there's no GL error on the stack afterwards) BUT the geometry is
not *really* changed but a canvas (original video size) is created (with a
1024x768 viewport)
"pkill -9 dosbox" will shut it down but prevent unsetting the video mode, you
can then see that moving the cursor to the screen edge will move the viewport
around the canvas

FTR:
just not doing anything in reaction (ie not attempting to change the screen
size as it's not necessary anyway) will "just work" ie. you get a fully
functional dosbox window.

I'd like you to confirm this finding by injecting a "return;" statement to the
very top of 
void SceneOpenGL::screenGeometryChanged(const QSize &size)
in scene_opengl_glx.cpp:617

We got to figure whether we can detect this failed resize approach and
therefore at least prevent invalid reaction, kind of working around this issue.
-

-- 
You are receiving this mail because:
You are watching all bug changes.=
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic