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

Popup inside popup gets parent null when retranslating

    XMLWordPrintable

Details

    • Windows

    Description

      In QML, when there's a Popup inside another Popup component, the inner Popup will get its parent set to null when calling QQmlEngine::retranslate().

      Output: "QML Popup: cannot find any window to open popup in."

      This only happens when neither have been opened prior to the retranslate.

      Attachments

        1. Retranslator.h
          0.4 kB
        2. main.cpp
          0.9 kB
        3. main.qml
          2 kB
        4. qtbug109628.zip
          3 kB
        5. qtbug109628qt62.zip
          2 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            davykox Davy Kox
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes