Tomoyon / makehuman

Automatically exported from code.google.com/p/makehuman
0 stars 0 forks source link

Interface is not redrawn when the window is maximized on OSX #118

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Launch makehuman
2. click the green dot to maximize the window

What is the expected output? What do you see instead?
The UI is blank

What version of the product are you using? On what operating system?
alpha 6 on OSX 10.6.something

Original issue reported on code.google.com by bdela...@gmail.com on 17 Jun 2011 at 12:34

GoogleCodeExporter commented 8 years ago

Original comment by mflerack...@gmail.com on 17 Jun 2011 at 12:50

GoogleCodeExporter commented 8 years ago
Thanks! Reproducible here on Mac mini C2D 2,53GHz.

This issue needs further investigations. However I consider this as a low-prio 
bug. 

Original comment by hdusel on 27 Jun 2011 at 11:20

GoogleCodeExporter commented 8 years ago
This issue has been analyzed: The issue here is that whenever the Window will 
be resized a call of SDL_SetVideoMode() happens. SDL_SetVideoMode() behaves 
platform dependent and on OS X it destroys the current OpenGL Context which 
leads in a destruction of all Textures. This explains why the UI is blank.

BTW - The SDL discussion board talked about this issue either: 
http://forums.libsdl.org/viewtopic.php?t=5503&sid=bb2bd59aff7710bbb3dc3ecd5e9b79
cf

This problem is now fixed in MakeHuman SVN revision 2661: After every resize 
the textures will be restored. This is done by the help of TextureCache which 
has been implemented for this purpose on the Platform specific part for OS X.

Original comment by hdusel on 24 Jul 2011 at 3:10