OpenSceneGraph/src/osgViewer
Robert Osfield 167b6e69e4 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."
2012-01-26 13:08:19 +00:00
..
CMakeLists.txt From Olaf Flebbe, fixes for OSX AGL build 2011-05-25 09:34:02 +00:00
CompositeViewer.cpp Improved the handling of setStartTick() being called mid app, such as when idirectly called when doing a Viewer::setSceneData(). 2011-11-04 12:47:24 +00:00
DarwinUtils.h Fixed permissions 2010-06-03 16:02:01 +00:00
DarwinUtils.mm From Ulrich Hertlein, Added some error checks and memory cleanup. 2011-09-12 16:24:08 +00:00
GraphicsWindow.cpp From Jan Peciva, "please find attached proposed fix for ON_DEMAND rendering. The biggest issue was 2011-04-19 12:01:38 +00:00
GraphicsWindowCarbon.cpp
GraphicsWindowCocoa.mm From Tobias Ottenweller, "this is a fix for the problem where all input freezes for a quarter second when calling requestWarpPointer under Mac OS X (described here: http://forum.openscenegraph.org/viewtopic.php?t=3933 ). 2012-01-24 17:49:18 +00:00
GraphicsWindowIOS.mm From Stephan Huber, "A recent commit 2011-11-01 13:41:48 +00:00
GraphicsWindowWin32.cpp From Wojciech Lewandowski, "There was a bug in reading modifier keys when focus to GraphicsWindowWin32 was restored. Handler of WM_SETFOCUS was reading pressed keys and sending WM_KEYDOWN messages to fill initial keyboard state. But WM_KEYDOWN messages sent had 0 on lParam and adaptKey method computing state of modifier mask was using lParam to find which modifier keys are down. Obviously when lParam was 0 it was not recording proper modifier masks. 2011-09-19 10:39:19 +00:00
GraphicsWindowX11.cpp 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. 2012-01-26 13:08:19 +00:00
HelpHandler.cpp Changed HelpHandler so it supports use with CompositeViewer and Viewer 2007-09-30 19:15:32 +00:00
IOSUtils.h Removed executable permission. 2011-06-14 09:11:58 +00:00
IOSUtils.mm Removed executable permission. 2011-06-14 09:11:58 +00:00
PixelBufferCarbon.cpp conversion of osg::notify to OSG_INFO etc. 2010-05-28 15:56:43 +00:00
PixelBufferCocoa.mm
PixelBufferWin32.cpp Fixed Coverity reported issue. 2011-05-06 12:22:10 +00:00
PixelBufferX11.cpp
Renderer.cpp Fixed stats bug where not all stats fields were being collected by the cull_draw() method used in the SingleThreaded and CullDrawThreadPerContext threading models. 2011-07-25 17:07:56 +00:00
Scene.cpp Fixed crash on intialization of static applications by moving the static mutexes inside singleton methods. 2010-11-12 09:48:21 +00:00
ScreenCaptureHandler.cpp Fixed a range of issues reported by cppcheck: 2011-06-20 19:15:53 +00:00
StatsHandler.cpp Fixed Coverity reported issues. 2011-05-06 12:20:48 +00:00
Version.cpp
View.cpp From Magnus Kessler, typo fixes 2011-09-12 10:52:16 +00:00
Viewer.cpp Improved the handling of setStartTick() being called mid app, such as when idirectly called when doing a Viewer::setSceneData(). 2011-11-04 12:47:24 +00:00
ViewerBase.cpp Moved setEndBarrierOperation(..) implementation into .cpp and added support for stoppig and starting threading if required. 2012-01-24 17:30:44 +00:00
ViewerEventHandlers.cpp From J.P. Delport, "this fall-through had me scratching my head for a while... 2012-01-25 17:37:55 +00:00