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

setGraphicsApi :OpenGLRhi. QML application resizing flickers and is sometimes blank

XMLWordPrintable

    • macOS
    • 3cf2c5d63cc4abbe4764e0f8c331d7d32b9caa63 (qtbase/6.2), c1899ca310cbd3a4ce5e8454a01a22638beb8d73 (qtbase/dev)

      When resizing QML application, the contents flickers and the window can be blank sometimes. It also happens that the window is blank when started.
      (See qtbug96405.zip-video.mov)

      Adding this to main.cpp

      setGraphicsApi(QSGRendererInterface::OpenGLRhi);
      

      and QML application is as simple as

      ApplicationWindow {
          width: 360
          height: 240
          visible: true
          Button
          {
              anchors.centerIn: parent
              text: "Hello my world"
          }
      }
      

      How to reproduce
      Use qtbug96405.zip and try to resize.

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

            lagocs Laszlo Agocs
            nagrohn Nahomi Gröhn (Inactive)
            Votes:
            2 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes