From J.P. Delport, "when switching from windowed mode to fullscreen (with the 'f' key) in X11, no RESIZE event is generated. This confuses handlers that perform some processing on the RESIZE event, e.g. the InteractiveImageHandler.
From J.P. Delport, "when switching from windowed mode to fullscreen (with the 'f' key) in X11, no RESIZE event is generated. This confuses handlers that perform some processing on the RESIZE event, e.g. the InteractiveImageHandler.

To reproduce the problem I attach a minimally modified osgviewer that just prints resize events. You can check what's printed in the console when you go fullscreen and windowed a few times.

The attached version of GraphicsWindowX11 fixes the problem for me, but I'm not sure this is the right approach. Maybe you can see a fix for the problem clearer.

The only place where the RESIZE event is generated in GraphicsWindowX11 is in CheckEvents and it then depends on the ConfigureNotify message. For some reason, either ConfigureNotify is not sent when going fullscreen or the traits already reflect the latest window size."


ghub/osg,omega-hub/osg,XiaoCC/osg,ntoand/osg,koshman86/osg,artoolkit/osg,XiaoCC/osg,ntoand/osg,ntoand/osg,artoolkit/osg,stmh/osg,artoolkit/osg,omega-hub/osg,koshman86/osg,ghub/osg,stmh/osg,artoolkit/osg,XiaoCC/osg,stmh/osg,stmh/osg,stmh/osg,koshman86/osg,omega-hub/osg,ghub/osg,omega-hub/osg,ghub/osg,ntoand/osg,koshman86/osg,XiaoCC/osg,XiaoCC/osg