- 
    
Bug
 - 
    Resolution: Unresolved
 - 
    
P4: Low
 - 
    None
 - 
    4.8.x, 5.3.1, 5.5.1
 - 
    Windows 7 x86 shared
 
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.
- relates to
 - 
                    
QTBUG-41186 Clarify functionality of QWindow::fromWinId() on the various platforms
-         
 - Reported
 
 -         
 
| For Gerrit Dashboard: QTBUG-50206 | ||||||
|---|---|---|---|---|---|---|
| # | Subject | Branch | Project | Status | CR | V | 
| 145134,3 | WIP: QAxServerBase: Track the screen for the embedded widget | dev | qt/qtactiveqt | Status: NEW | -2 | 0 |