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

Opengl / Qml : fullscreen gui respawn in window with border

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P1: Critical
    • None
    • 6.5
    • GUI: Window management
    • None
    • Windows 10 22H2
      Nvidia Driver 546.12 (Quadro RTX 4000)
      MSVC 2022 / 193 / C++20
      Qt 6.5.3
    • Windows

    Description

      This is a regression between Qt6.3 & Qt6.5

       


       

      In fullscreen, calling QMainWindow setCurrentWidget(...)

      If the first QWidget does not have a QOpenGLWidget or QQuickWidget (children)
      The QMainWindow disappears and "reappears" in a normal bordered window when we call one of these widgets with setCurrentWidget.
      (When the app load "nvidia driver dll system")

       

      If at the first setCurrentWidget in fullscreen we load a QOpenGLWidget/QQuickWidget, no problem appears and the graphical interface still always in fullscreen.

       

      We don't have any issue if we start the application directly in bordered window.

       


       

      This is the "fix" we put on the first Qwidget loaded to trigger Opengl and Nvidia drivers.

      ...
      // Just for trigger Opengl dll & Nvidia driver (Fix fullscreen)
      QQuickWidget* view = new QQuickWidget();
      view->setMaximumSize(1, 1);
      myLayout->addWidget(view);
      ... 

       

      We don't have this issue with Qt 6.3

       

       

      Attachments

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

        Activity

          People

            owolff Oliver Wolff
            nicolasm Nicolas Masson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes