Bug 3072 - Minimize buttons disappear
Status: RESOLVED FIXED
Alias:
Product: ioquake3
Classification: Unclassified
Component: Platform
Version: 1.33 SVN
Hardware: Macintosh MacOS X
: P2 normal
Assignee: Tony J. White
QA Contact: ioquake3 bugzilla mailing list
URL: http://bugzilla.libsdl.org/show_bug.c...
Depends on:
Blocks:
 
Reported: 2007-03-26 08:18 EDT by Stefan Stommels
Modified: 2007-06-07 11:53:34 EDT
0 users

See Also:



Description Stefan Stommels 2007-03-26 08:18:52 EDT
When running ioquake3 on full screen, the yellow minimize buttons on all open application windows disappear. The fix is to run ioquake3 again, sometimes more than once before my minimize buttons re-appear. This is on an intel mac 2.0GHz using mac os x 10.4.9 (also occured under 10.4.8). The bug does not occur when using Quake3 UB.app or any other full screen application I am aware of.
Comment 1 Zachary J. Slater 2007-05-20 15:12:47 EDT
I can't reproduce this, can you reproduce it on other machines?
Comment 2 Zachary J. Slater 2007-05-20 20:20:02 EDT
Ok apparently we need to SetSystemUIMode(kUIModeContentSuppressed, 0); after each change to fullscreen.
Comment 3 Zachary J. Slater 2007-05-20 20:21:50 EDT
The real fix will be in the URL I just added.
Comment 4 Ryan C. Gordon 2007-05-21 11:22:32 EDT
Setting a QA contact on all ioquake3 bugs, even resolved ones. Sorry if you get a flood of email from this, it should only happen once. Apologies for the incovenience.

--ryan.

Comment 5 Tony J. White 2007-06-06 15:27:35 EDT
http://bugzilla.libsdl.org/show_bug.cgi?id=281

Minimal SDL patch follows.  I will apply this to SDL-1.2.11 and update the
ioq3-included SDL .dylib file because I know how everyone loves downloading
it through svn.


--- SDL-1.2.11/src/video/quartz/SDL_QuartzVideo.m       2007-06-06 14:25:09.000000000 -0500
+++ SDL-1.2.11.fixed/src/video/quartz/SDL_QuartzVideo.m 2007-06-06 14:26:16.000000000 -0500
@@ -385,10 +385,10 @@
             CGLSetFullScreen (NULL);
         }
         if (to_desktop) {
+            ShowMenuBar ();
             /* Restore original screen resolution/bpp */
             CGDisplaySwitchToMode (display_id, save_mode);
             CGReleaseAllDisplays ();
-            ShowMenuBar ();
             /*
                 Reset the main screen's rectangle
                 See comment in QZ_SetVideoFullscreen for why we do this
Comment 6 Tony J. White 2007-06-07 11:53:34 EDT
updated .dylib at revision 1098