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

Dialog popup on wrong screen when parent is ActiveX embedded

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reported
    • Priority: P4: Low
    • Resolution: Unresolved
    • Affects Version/s: 4.8.x, 5.3.1, 5.5.1
    • Fix Version/s: None
    • Component/s: ActiveX Support
    • Environment:
      Windows 7 x86 shared

      Description

      I found an issue with dialog pop-ups from ActiveX embedded apps.

      When an application is embedded in another application using ActiveX (setControl on a AxWidget) it seems to have problems to show dialogs on the correct screen.

      If the application is started on screen != 0 the dialogs keep poping up on screen 0.

      I have attached a fairly simple example to demonstrate the issue. As I am using Visual Studio I am not sure if this QT based pro example compiles from start. I based the project files on the QT examples.

      The ActiveXWidget should be compiled and than the app should be registered (/regserver).

      The ActiveXApplication should be started and select the option embed application. From the new embedded application select the option to start a dialog.

      Small remark: programatically the ActiveXApplication start on screen 1 instead of 0! See mainWindow.setGeometry.

        Attachments

          Issue Links

          For Gerrit Dashboard: QTBUG-50206
          # Subject Branch Project Status CR V

            Activity

              People

              Assignee:
              kleint Friedemann Kleint
              Reporter:
              mstegehuis E.M. Stegehuis
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated: