#109 Vista: broken screen refresh

closed-fixed
nobody
critical (31)
5
2012-08-06
2008-11-08
Dee
No

All FreeGLUT applications are broken in Vista, simple alt-tab alt-tab corrupts window updates; regions that were NOT overlapped by other windows are no longer refreshed.

Tested in Vista without Aero, with FreeGLUT 2.4.0 and then with revision 740. (I haven't tested current head 759, but changes since 740 seem unrelated)

I'm trying to find out what's wrong, no luck yet...the best clue so far: All GLUT applications are ok. Anyone here who knows relevant differences between GLUT and FreeGLUT?

The same problem is also in all wxWidgets applications, see http://trac.wxwidgets.org/ticket/10168 for more details/image.

Discussion

  • Dee

    Dee - 2008-11-08

    Steps to reproduce in Vista (without Aero):
    1. PARTIALLY overlap FreeGLUT window by any other window
    2. Switch back to FreeGLUT window
    3. See that regions that were NOT overlapped are no longer refreshed

     
  • Dee

    Dee - 2008-11-17

    See this <a href="http://www.opengl.org/discussion_boards/ubbthreads.php?ubb=showflat&Number=248466">OpenGL.org post</a> for new details.

     
  • Comment has been marked as spam. 
    Undo

    You can see all pending comments posted by this user  here

    Anonymous - 2010-09-09

    In freeglut_main.c I added InvalidateRgn before BeginPaint. This fixed the problem for me.

    InvalidateRgn( hWnd, NULL, GL_FALSE );
    BeginPaint( hWnd, &ps );

     
  • Diederick C. Niehorster

    Can't reproduce this on windows 7, but added the InvalidateRect call before BeginPaint. Similar sounding reports have come in over the years for many windows versions is similar situations. rev. 1384.

     
  • Diederick C. Niehorster

    • status: open --> closed-fixed
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks