Brian Fisher wrote:
On Sat, Nov 29, 2008 at 10:54 AM, "Jørgen P. Tjernø" <[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>> wrote:
Sometimes it does regrab fullscreen after a few seconds - and
sometimes it doesn't, continuing to run in windowed. I've recently
set up a "debug server" so I can query the various flags at runtime,
and I'll see if it re-occurs.
The "sometimes it doesn't" sounds like a real bug - other platforms
(windows and mac OS X for me anyways) go back into exclusive fullscreen
mode when the app becomes active again. On most windows machines I've
tested on, it does take a few seconds for the process for that to
complete, and in such cases I believe the delay is just an exclusive
mode thing and out of SDL & pygame's hands. However, I've never seen it
not go back.
Yeah, it's strange. I've set up better routines for debugging (more
logging, a telnet console to inspect state), so if it occurs again, I
can try tracing it down. If not, I'll just dismiss it as one of those
pesky PEBKAC errors from my end. ;-)
I don't suppose you can get a similar problem with your systems alt-tab
(or equivalent)? The reason I ask, is the whole SSH'ing in and then
running something to take fullscreen part of things sounds like an
uncommon usage case to me and I'm curious if the cause of the problem
here is specific to that behavior.
It's from "normal usage"; a fullscreen pygame spawns a fullscreen VLC in
its own window, so this takes focus and my app loses it's fullscreen
status. Later on, when VLC quits, my program is active again, and that's
when I've experienced it not attaining fullscreen.
I'll send a new email with more info if I catch it happening again. :)
--
Kindest regards, Jørgen P. Tjernø.