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

Changing the window opacity of a QDockWidget containing an openGL widget causes the titlebar widget area to not redraw.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P3: Somewhat important P3: Somewhat important
    • None
    • 5.0.2
    • GUI: Drag and Drop
    • None
    • Windows 7, Windows 8

      In my program when dragging to undock a QDockWidget I am calling setWindowOpacity(0) on the QDockWidget because I am creating my own drag feedback. When the QDockWidget is released I call setWindowOpacity(1).

      This was working great in 5.0.1, but now in 5.0.2 if the QDockWidget contains an OpenGL widget then the now docked QDockWidget's titlebar is no longer redrawing.

      As you can see from the attached image. The title bar area still contains the blue highlight from when it was docked.

      The titlebar still functions, as does the close button on the title bar. It's just that you can't see them.

        1. qtbug30667.tar
          10 kB
          Friedemann Kleint
        2. TitleBarIssue.zip
          5 kB
          Cale Larsen
        3. TitlebarNoRedraw.png
          13 kB
          Cale Larsen
        For Gerrit Dashboard: QTBUG-30667
        # Subject Branch Project Status CR V

            kleint Friedemann Kleint
            cale Cale Larsen
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes