Problems switching to full screen mode on macs

Found a bug? Post here.
Post Reply
User avatar
gunn
Posts: 323
Joined: Thu 14. Dec 2006, 09:56
Location: TU Berlin
Contact:

Problems switching to full screen mode on macs

Post by gunn » Fri 1. Feb 2013, 09:32

I've noticed that when I run a jReality application on my relatively new iMac, running 10.6.4, and go into full screen mode (with Cmd F) and then return to ordinary size window, the menubar for the application has disappeared.

It's even worse on my Macbook Pro. If I go into fullscreen mode on it, I can't get out of it. Even the 'esc' key, which I have attached to program exit, doesn't work. Apparently the keyboard is completely disconnected. So I have to turn off and restart the machine! I'm running Mac OS X 10.7.5.

Has anyone else noticed problems like this? (On Macs or on other systems?)
jReality core developer

benjamin.kutschan
Posts: 48
Joined: Mon 16. May 2011, 16:29

Re: Problems switching to full screen mode on macs

Post by benjamin.kutschan » Sat 2. Feb 2013, 15:05

Hi,
fullscreen works great on my linux machine. Maybe the solution lies in the discard method of the JOGLViewer. How about software viewer and fullscreen?
Edit: On my Windows7 fullscreen only works for the software renderer. It probably has something to do with how openGl connects to the awt.

benjamin.kutschan
Posts: 48
Joined: Mon 16. May 2011, 16:29

Re: Problems switching to full screen mode on macs

Post by benjamin.kutschan » Wed 6. Feb 2013, 13:19

Hi,
I have found a clue. Even though it works in linux, I get the following error message when switching to fullscreen mode:
calling JOGLViewer.dispose()
Info: Nativewindow X11 Error: 3 - BadWindow (invalid Window parameter), dpy 0x7fb4a82e65f0, id 3a00013, # 485: 20:0 X_GetProperty
Info: Nativewindow X11 Error: 3 - BadWindow (invalid Window parameter), dpy 0x7fb4a82e65f0, id 3a00013, # 486: 20:0 X_GetProperty
And this, when I exit fullscreen mode:
calling JOGLViewer.dispose()
Info: Nativewindow X11 Error: 3 - BadWindow (invalid Window parameter), dpy 0x7f92342b6600, id 3a00042, # 1531: 20:0 X_GetProperty
Info: Nativewindow X11 Error: 3 - BadWindow (invalid Window parameter), dpy 0x7f92342b6600, id 3a00042, # 1532: 20:0 X_GetProperty
Info: Nativewindow X11 Error: 8 - BadMatch (invalid parameter attributes), dpy 0x7f92342b6600, id 3a00053, # 1608: 42:0 X_SetInputFocus

benjamin.kutschan
Posts: 48
Joined: Mon 16. May 2011, 16:29

Re: Problems switching to full screen mode on macs

Post by benjamin.kutschan » Wed 6. Feb 2013, 15:04

On Windows7 64bit with NVidia drivers I get the following behaviour for the jogl-backend:
When I switch to fullscreen mode, screen goes black (this is not the clear color, I have tried setting it to red, and the screen still goes black). Using Alt-Tab to switch Windows back and forth results only in the black window for the fullscreen jogl app.
However! When I push the geometry so it rotates continuously, then go into fullscreen I still get a black screen, but after switching to a different window with alt-tab and back to the jogl-app it displays half a second the correct image with the rotating geometry and then goes black again.

Edit: On the Mac (from 2008, ATI card) in my office fullscreen works with jogl- and software-viewer.

Post Reply