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

Inserting a QOpenGLWidget causes a recreation of the top level window

    XMLWordPrintable

Details

    • Linux/X11, Windows

    Description

      When inserting a QOpenGLWidget the top level window becomes deleted and recreated. For the user it has not only a flicker effect - the new window is repositioned by the policy of the window manager for new windows ( in my case centered ).

      The problem appears only once - any following insertion of QOpenGLWidgets work like expected.

      The bug has been reported on the Qwt bug tracker ( https://sourceforge.net/p/qwt/bugs/358/ ) for X11 and Windows, but might be available on other platforms as well.

      I checked the situation with a small demo application myself. Attached is the code and a related callstack.

       

      Attachments

        1. gdbtext.txt
          2 kB
        2. main.cpp
          0.5 kB
        3. screenshot-1.png
          screenshot-1.png
          44 kB

        Issue Links

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

          Activity

            People

              lagocs Laszlo Agocs
              uwe Uwe Rathmann
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes