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

Window with Qt.SplashScreen flag not visible anymore when app starts on macOS Ventura

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P1: Critical
    • None
    • 6.4.0
    • QPA, Quick: Other
    • None

    Description

      Splash windows are not visible anymore when the associated app starts on macOS Ventura. It can be reproduce with the following simple example in QtCreator:

      import QtQuick
      
      Window {
          id: splash
          width: 640
          height: 480
          visible: true
          flags: Qt.SplashScreen
          title: qsTr("Hello World")
      }
      

      However if you set visible to false and use a timer to show the splash window it will work, ex:

      import QtQuick
      
      Window {
          id: splash
          width: 640
          height: 480
          visible: false
          flags: Qt.SplashScreen
          title: qsTr("Hello World")
      
          Component.onCompleted:{
              show_splash_timer.restart();
          }
      
          Timer {
              id: show_splash_timer
              interval: 16
              running: false
              repeat: false      
              onTriggered:{
                  splash.show();
              }
          }
      }
      

      Attachments

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

        Activity

          People

            mikolaj.boc MikoĊ‚aj Boc (Inactive)
            brunosignify Bruno Cadoret
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes