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

QDockWidget lost its frame and z-ordering when QGLWidget is used at central widget of main window

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.0.2
    • 5.0.0 RC 1, 5.0.0 RC 2, 5.0.0
    • None
    • Windows 7 64Bit, Visual Studio 2010 SP1, Qt 5.0.0 32bit build using msvc
    • cd7ba89a07f794b17fc66ba29515b104c4d21f27, Undock button positioning: 33315010224edbf4b80d727502b24459ea8806ae

    Description

      I uses Qt 5.0 with visual studio.
      I downloaded source code of Qt 5, and compiled with visual studio 2010.
      I have a problem of window visibility when using QDockWidget with QGLWidget
      I set QGLWidget as a central widget of main window and added QDockWidget to the main window.
      When I undock the QDockWidget, it lost it’s title bar and frame, so I cannot move and resize the dock widget.
      (It works well if I don’t use QGLWidget at central widget area)
      Moreover, It goes behind the main window like attached image.
      It appears with ANGLE and with desktop(opengl) build.
      I attached a source code and a captured movie

      Attachments

        1. dockwidgets.zip
          58 kB
        2. QDockWidgetVisibility.png
          QDockWidgetVisibility.png
          119 kB
        3. QDockWidget Z-Order.avi
          2.62 MB
        4. qtbug28872.tar
          80 kB
        5. test_bug28872.zip
          1 kB

        Issue Links

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

          Activity

            People

              kleint Friedemann Kleint
              junyoungp Junyoung Park
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes