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

Details

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

    Description

      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.

      Attachments

        1. TitlebarNoRedraw.png
          TitlebarNoRedraw.png
          13 kB
        2. TitleBarIssue.zip
          5 kB
        3. qtbug30667.tar
          10 kB

        Issue Links

          For Gerrit Dashboard: QTBUG-30667
          # Subject Branch Project Status CR V

          Activity

            People

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

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes