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

Handling of exclusive fullscreen windows

XMLWordPrintable

    • Icon: User Story User Story
    • Resolution: Unresolved
    • Icon: P2: Important P2: Important
    • None
    • None
    • GUI: Window management
    • None
    • macOS, Windows

      Based on feedback in https://codereview.qt-project.org/c/qt/qtbase/+/412497 it's clear that we need to investigate how Qt behaves when the application is using full screen windows, and expect either fullscreen exclusive access (for performance), or not (for showing dialogs/popups on top of the fullscreen window).

      This applies primarily to Windows OpenGL-accelerated windows (WS_BORDER) but also potentially to macOS (https://developer.apple.com/documentation/appkit/nswindowcollectionbehavior?language=objc)

      Existing APIs

      Qt 5

      • QWindowsWindowFunctions::setHasBorderInFullScreen(QWindow *window, bool border)
      • QWindowsWindowFunctions::setHasBorderInFullScreenDefault(bool border)

      Qt 6

      • QNativeInterface::Private::QWindowsWindow::setHasBorderInFullScreen(bool border)
        (no way of setting a default)

      Relevant Changes

        For Gerrit Dashboard: QTBUG-104511
        # Subject Branch Project Status CR V

            vestbo Tor Arne Vestbø
            vestbo Tor Arne Vestbø
            Votes:
            0 Vote for this issue
            Watchers:
            12 Start watching this issue

              Created:
              Updated: