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

[REG 6.6 → 6.7] Opening window from Loader does not work

    XMLWordPrintable

Details

    • 6db942a87 (dev), e824eaf86 (6.7)

    Description

      Originally reported as https://bugs.kde.org/show_bug.cgi?id=479816

      The following code snippet, running with qml(scene) opens a second window with Qt 6.6 but doesn't with Qt 6.7

      import QtQuick
      
      Item {
          property Item newStuffDialog: Loader {
              onLoaded: {
                  console.warn("loaded", status)
                  item.visible = true
              }
              sourceComponent: Window {
                  width: 400
                  height: 400
                  Rectangle {
                      anchors.fill: parent
                      color: "red"
                  }
              }
          }
      } 

      tested on both wayland and xcb. qtbase commit be67204568328952ca6b5cbbbe03ff9653f2d465, qtdeclarative commit 77e3cc7b36e9bc31208fd957562b6a0cc8b70fb5

      Attachments

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

        Activity

          People

            vestbo Tor Arne Vestbø
            nicolasfella Nicolas Fella
            Votes:
            1 Vote for this issue
            Watchers:
            9 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes