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. main.cpp
          0.9 kB
          Davy Kox
        2. main.qml
          2 kB
          Davy Kox
        3. qtbug109628.zip
          3 kB
          Mitch Curtis
        4. qtbug109628qt62.zip
          2 kB
          Mitch Curtis
        5. Retranslator.h
          0.4 kB
          Davy Kox
        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