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

[REG]: When a QGLWidget is created and added as a child then the mainwindow will no longer be active

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.3.1
    • 5.1.0
    • GUI: Window management
    • None
    • Windows
    • ff776214698ee8a0d4b5fa819af412d363611cb2 (stable, 28.4.2014, 5.3.1)

    Description

      When a QGLWidget is created and added as a child then the mainwindow will no longer be active. Clicking on the window will cause it to be active again. This also happens (albeit in a more contrived case) with a QWidget that is created with the MSWindowsOwnDC flag when the QApplication attribute - AA_CreateWidgetsImmediately is turned on.

      Attached is an example that shows how to do this with a QGLWidget, after starting click on the menu and choose Create Dockwidget.

      Attachments

        1. LostFocus.zip
          5 kB
        2. qtbug32867_diag.patch
          4 kB
        3. qtbug32867.zip
          6 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            kleint Friedemann Kleint
            andysh Andy Shaw
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes