Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
5.1.0 RC2
-
None
-
Windows 7. Qt 5.1.0rc2. Qt Creator.
-
a096b4680dca367ec26725d064eba1df6c37d6b7
Description
If a widget created with QWidget::createWindowContainer has focus, then QApplication::activeWindow() returns NULL.
SAMPLE PROJECT INCLUDED. PLEASE READ INSTRUCTIONS.
1. Run sample project. You will need to view the 'Output' to see results.
2. Press button at top of window. Now click on a list item near bottom. Click on button again. Output is 'NULL' for activeWindow.
3. Now switch to another application and back to the sample application. Click on the button immediately without clicking on the list. Output is non-NULL for activeWindow.
4. Click on list again. Notice output is again 'NULL'.
QApplication::activeWindow is returned as NULL when focus is on the list (Qml embedded with QWidget::createWindowContainer).
Attachments
Issue Links
- is required for
-
QTBUG-32183 Issues to be fixed in 5.1.1 (next patch release)
- Closed