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

Resize on custom OpenGL widget regression

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • Not Evaluated
    • None
    • 4.7.1
    • None
    • Windows 7, Aero off

    Description

      A custom QWidget subclass
      http://vtk.org/gitweb?p=VTK.git;a=blob;f=GUISupport/Qt/QVTKWidget.cxx
      has suffered a regression between Qt 4.5.2 and Qt 4.7.1 on Windows with Aero off (not a problem with Aero on).

      Noteably, it sets MSWindowsOwnDC, WA_NoBackground, WA_PaintOnScreen.

      If I resize the widget larger, it appears that some corrupted layer is put on top of the widget. If I resize smaller, the apparent corrupt layer is removed.
      When resized larger, I can see a last few pixels of correct data in the newly exposed area of the widget during resize (which is why I suspect a corrupt layer). Also, if I switch focus to another application and back, the widget fixes itself and the entire widget content is correct.

      If I remove WA_PaintOnScreen, the problem goes away, but another problem shows up.
      If I remove MSWindowsOwnDC, the problem goes away, but that doesn't seem correct.

      The problem can be seen by resizing the window of any Qt example in VTK, such as qtevents (VTK/Examples/GUI/Qt/Events).

      Attachments

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

        Activity

          People

            Unassigned Unassigned
            cjstimpson Clinton Stimpson
            Votes:
            4 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes