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

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

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

        Issue Links

          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
              oyvindb Oyvind Bakken
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes