Details
-
Task
-
Resolution: Unresolved
-
P2: Important
-
None
-
5.7
Description
Many of our autotests have been lately failed in qWaitForWindowExposed()/Active() and this is beginning to be a big problem, since it slows down the CI. This is not macOS problem only, but it affects all platforms. Every platform has it's own interpretation of when a window is exposed. See: https://bugreports.qt.io/browse/QTBUG-53252
At least the following tests are failing:
tst_qdialog, tst_qmdisubwindow, tst_qmdiarea
At the moment qWaitForWindowExposed() is implemented in terms of QWindow::isExposed() and QExposeEvent. However the desired behavior here might be slightly different: The expose event is sent just before the window becomes visible on screen (Qt needs to draw a frame then so we have something to display on screen), while qWaitForWindowExposed() probably wants to wait until after the window has become visible and is stable.
Attachments
Issue Links
- relates to
-
QTBUG-53252 isExposed() returns true also if window minimized or completely covered
- Closed
-
QTBUG-63146 qtestlib: cleanups, re-design, API completeness and documentation
- Reported
-
QTBUG-61967 Order of QWindow expose and activation not specified
- Open
-
QTBUG-63424 Investigate and define in the documentation when are expose events dispatched.
- Reported
1.
|
Deprecate QTest::qWait | Reported | Jason McDonald |