Bug #1005

Empty window in fullscreen mode

Added by rti about 8 years ago. Updated over 6 years ago.

Status:New Start date:07/05/2010
Priority:Normal Due date:
Assignee:- % Done:

0%

Category:OS: Mac
Target version:Version 0.9.0

Description

On Mac OS Cocoa, the opengl view is set to fullscreen mode.
To do this, Cocoa removes the view from the window and rescales it to fill the whole screen, but an empty window remains, which is ugly when using eg. exposé.

Fix1005.patch (5.7 kB) Magnifier GelluleX, 09/26/2011 06:54 am

History

#1 Updated by GelluleX almost 7 years ago

I tried a few things to get rid of this rogue window. From what I understand the fullscreen is achieved by taking the OpenGL view out of the base NSWindow. What we see behind is that NSWindow. Tried to hide the window, but it would always reappear one way or another. And since I did not want to "close" it, I found some inspiration on the web and changed the way fullscreen is implemented. The attached patch keeps the OpenGL view in the window, but makes the window use the entire screen and be above the menu bar. This approach is recommended on the apple dev website. let me know if it works for you.

A few things though:

#2 Updated by sfb over 6 years ago

GelluleX,

We currently have a problem in that our main Mac guy hasn't been available to the community for awhile. Can you provide me with more details about this patch before I apply it?

Thank you by the way for providing us with this patch!

Also available in: Atom PDF