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

[Win]Multiple issues when switching Qt::FramelessWindowHint on and off

    XMLWordPrintable

Details

    Description

      Supplied is an example, which tests:

      • QWidget
      • QGraphicsView with and without a QOpenGLWidget viewport
      • QOpenglWidget subclass
      • QOpenglWindow subclass

      In all cases - when switching back and forth b/w windowed and FramelessWindowHint state the drawing and/or the event handling are misaligned and/or misplaced. In some cases the window size is clearly wrong as well.

      See the attached screens for more information.

      Note, this problem is closely related to QTBUG-40485 which is about a QQuickWindow

      This bug, combined with QTBUG-41309 makes fullscreen desktop OpenGL on Windows close to impossible !!!

      Edit Frameless is broken in the Qt widget example as well

      Attachments

        1. GraphicsView.png
          GraphicsView.png
          34 kB
        2. GraphicsViewAndGL.png
          GraphicsViewAndGL.png
          36 kB
        3. OpenGLOffsetProblems.cpp
          3 kB
        4. openglWidget.png
          openglWidget.png
          39 kB
        5. openglWidow.png
          openglWidow.png
          35 kB
        6. qtbug48704.zip
          2 kB
        7. qwidget-case.png
          qwidget-case.png
          32 kB
        8. windowFlagsExample.PNG
          windowFlagsExample.PNG
          12 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            sletta Gunnar Sletta
            mnaydenov Mihail Naydenov
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes