Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
5.11
-
openSUSE 42.3 in CI
Description
tst_QWidget::saveRestoreGeometry is flaky in CI on openSUSE 42.3. It is blacklisted on Ubuntu, so has been deemed flaky there already.
Example failure (extra qWarnings added to help):
********* Start testing of tst_QWidget ********* Config: Using QtTest library 5.11.0, Qt 5.11.0 (x86_64-little_endian-lp64 shared (dynamic) debug build; by GCC 7.2.1 20171005 [gcc-7-branch revision 253439]) PASS : tst_QWidget::initTestCase() QWARN : tst_QWidget::saveRestoreGeometry() Restore full, pre full geometry: QRect(100,100 200x200) QWARN : tst_QWidget::saveRestoreGeometry() Restore full, post full geometry: QRect(0,0 1280x768) QWARN : tst_QWidget::saveRestoreGeometry() Restore full, post restore geometry: QRect(100,100 200x200) QWARN : tst_QWidget::saveRestoreGeometry() Restore full, post restore and wait geometry: QRect(104,129 200x200) FAIL! : tst_QWidget::saveRestoreGeometry() Compared values are not the same Actual (((widget.geometry()))): QRect(104,129 200x200) (bottomright 303,328) Expected (geom) : QRect(100,100 200x200) (bottomright 299,299) Loc: [tst_qwidget.cpp(3267)] PASS : tst_QWidget::cleanupTestCase() Totals: 2 passed, 1 failed, 0 skipped, 0 blacklisted, 15998ms ********* Finished testing of tst_QWidget *********
Example success with same extra info:
********* Start testing of tst_QWidget ********* Config: Using QtTest library 5.11.0, Qt 5.11.0 (x86_64-little_endian-lp64 shared (dynamic) debug build; by GCC 7.2.1 20171005 [gcc-7-branch revision 253439]) PASS : tst_QWidget::initTestCase() QWARN : tst_QWidget::saveRestoreGeometry() Restore full, pre full geometry: QRect(104,129 200x200) QWARN : tst_QWidget::saveRestoreGeometry() Restore full, post full geometry: QRect(0,0 1280x768) QWARN : tst_QWidget::saveRestoreGeometry() Restore full, post restore geometry: QRect(100,100 200x200) QWARN : tst_QWidget::saveRestoreGeometry() Restore full, post restore and wait geometry: QRect(104,129 200x200) PASS : tst_QWidget::saveRestoreGeometry() PASS : tst_QWidget::cleanupTestCase() Totals: 3 passed, 0 failed, 0 skipped, 0 blacklisted, 4926ms ********* Finished testing of tst_QWidget *********
Attachments
Issue Links
- resulted in
-
QTBUG-76900 [REG 5.9.4=>5.12.3/4] Widget geometry restored outside visible area
- Closed
For Gerrit Dashboard: QTBUG-66708 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
221496,3 | Blacklist tst_QWidget::saveRestoreGeometry on openSUSE | 5.11 | qt/qtbase | Status: MERGED | +2 | 0 |
225924,15 | xcb: rely on WM_SIZE_HINTS gravity to handle x,y positioning | dev | qt/qtbase | Status: MERGED | -2 | 0 |
233209,4 | widgets: fix QWidget::save/restoreGeometry() | dev | qt/qtbase | Status: MERGED | +2 | 0 |