Empty window in fullscreen mode
|Target version:||Version 0.9.0|
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é.
#1 Updated by GelluleX over 1 year ago
- File Fix1005.patch added
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:
- No menubar accessible.
- No dock.
- At least hot corners work.
- Issue http://dev.ryzom.com/issues/1347, becomes a little more annoying, but has fix.