Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-4327

After showing a context menu on a QGLWidget under Windows Vista, the window is only partly repainted.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 4.7.0
    • 4.5.2
    • GUI: OpenGL
    • None

    Description

      To reproduce, turn off all visual effects in Windows Vista or Windows 7 and start the boxes demo. Right click the white cube in any of the corners to get a context menu, click outside it or press escape to close it. After the menu disappears, only the part of the widget that was under the menu ever gets repainted, even though the whole widget should be repainted continuously. To repaint the whole widget again, it must be moved, be resized, lose focus, or pop up a new context menu.

      I am not able to reproduce the bug in a simpler program. See mail task for details and another way to reproduce the bug.

      The bug cannot be reproduced on Windows XP.

      Workaround: Call SetWindowRgn(widget.winId(), 0, FALSE) before painting.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            cattell Matthew Cattell (Inactive)
            kkalland Kim Motoyoshi Kalland (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes