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

QML popups not being parented in out-of-process ActiveQt application

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P3: Somewhat important P3: Somewhat important
    • None
    • 5.8.0 Beta
    • None
    • Windows 7

      When running a Qt application as a COM object / ActiveX control built as "app" to run out-of-process (.exe file in Windows). Then, when creating a popup like a MessageDialog it does not get correctly parented by the main GUI. It even gets it's own icon on the Windows taskbar.

      The same behavior is seen in C++ when the parent widget is not set explicitly using setParent() or by passing the parent widget to a QMessageBox constructor.

      This is easily reproducible with a slightly modified version of the "simpleqml" example in the official activeqt examples, see attachment. Run this in the "testcon" application.

        1. simpleqml_with_popup.zip
          4 kB
          Oyvind Bakken
        2. qtbug56723_repro.diff
          2 kB
          Friedemann Kleint
        3. qtbug56723_windowdump.txt
          6 kB
          Friedemann Kleint
        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
            oyvindb Oyvind Bakken
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes