Menu

#163 glutMainLoop hangs when title bar clicked

closed-wont-fix
nobody
None
5
2013-04-05
2012-02-20
Gaszton
No

I am using windows xp, visual studio 2008, and the latest freeglut.
Seems like the glutMainLoop() is stopping, when i click the title bar of my window (to move the window).
Unfortunalty if i have 2 glut windows, both hangs while i hold down the mouse
button at the title bar of any of the 2 windows.

(there is an opengl windows app that is not using glut, also hangs when the window is moved with the mouse, http://nehe.gamedev.net/tutorial/bitmap_fonts/17002/\)

Discussion

  • Diederick C. Niehorster

    Thanks for the report, I observe this too. Sadly, its very hard to remidy, see e.g. the thread here: http://en.sfml-dev.org/forums/index.php?topic=1090.0

     
  • Diederick C. Niehorster

    • status: open --> closed-wont-fix
     
  • Diederick C. Niehorster

    It seems that the changes required for this to work around the windows modal loop that is entered when a title bar is click-held (same for other resize dragging) are significant. We wont fix this but would accept a patch (media players tend to not have this problem, so one could have a look at their draw during dragging implementation to see how they do this) if it doesn't have much effect on drawing when not dragging.

     

Log in to post a comment.