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

Popup inside popup gets parent null when retranslating

XMLWordPrintable

    • Windows

      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.

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes