Package: release.debian.org Severity: normal Tags: buster User: release.debian....@packages.debian.org Usertags: pu
Dear Release team, [ Reason ] One of our users requested a new upload to fix this bug: https://bugs.debian.org/1001082. [ Impact ] This bug causes various applications to segfault on exit. [ Tests ] Upstream commits add auto-tests for this change (tabOrderNoChange and tabOrderNoChange2). We do not run tests during build because there are too many issues with them, and my patch does not include the test additions for that reason. However, I patched the test manually and ran it against the new build, and these tests passed: PASS : tst_QWidget::defaultTabOrder() PASS : tst_QWidget::reverseTabOrder() PASS : tst_QWidget::tabOrderWithProxy() PASS : tst_QWidget::tabOrderWithCompoundWidgets() PASS : tst_QWidget::tabOrderNoChange() PASS : tst_QWidget::tabOrderNoChange2() Some other tests in tst_qwidget.cpp failed, but I believe it's because of Xvfb (tests are designed to run in real X11). Full test log is attached. [ Risks ] On one hand, this change is in QWidget class, which the base class for all Qt's widgets. On the other hand, this change is covered by upstream tests, and upstream has backported it to 5.12 LTS branch (we ship 5.11 but it's quite similar to 5.12). [ Checklist ] [x] *all* changes are documented in the d/changelog [x] I reviewed all changes and I approve them [x] attach debdiff against the package in (old)stable [x] the issue is verified as fixed in unstable [ Changes ] It is a backport of two upstream commits from upstream 5.12 LTS branch: https://code.qt.io/cgit/qt/qtbase.git/commit/?id=81e298a51d08c510 https://code.qt.io/cgit/qt/qtbase.git/commit/?id=a7cbb8c639487edb -- Dmitry Shachnev
--- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +qtbase-opensource-src (5.11.3+dfsg1-1+deb10u5) buster; urgency=medium + + * Backport two upstream commits to fix setTabOrder for compound widgets + (closes: #1001082). + + -- Dmitry Shachnev <mity...@debian.org> Sun, 20 Feb 2022 20:35:51 +0300 + qtbase-opensource-src (5.11.3+dfsg1-1+deb10u4) buster; urgency=medium [ Dmitry Shachnev ] --- /dev/null +++ b/debian/patches/fix_settaborder.diff @@ -0,0 +1,76 @@ +Description: QWidget: fix setTabOrder for compound widgets +Origin: upstream, commits: + https://code.qt.io/cgit/qt/qtbase.git/commit/?id=81e298a51d08c510 + https://code.qt.io/cgit/qt/qtbase.git/commit/?id=a7cbb8c639487edb +Last-Update: 2022-02-13 + +--- a/src/widgets/kernel/qwidget.cpp ++++ b/src/widgets/kernel/qwidget.cpp +@@ -6975,35 +6975,41 @@ void QWidget::setTabOrder(QWidget* first + lastFocusChild = focusNext; + } + }; ++ auto setPrev = [](QWidget *w, QWidget *prev) ++ { ++ w->d_func()->focus_prev = prev; ++ }; ++ auto setNext = [](QWidget *w, QWidget *next) ++ { ++ w->d_func()->focus_next = next; ++ }; + +- QWidget *lastFocusChildOfFirst, *lastFocusChildOfSecond; +- determineLastFocusChild(first, lastFocusChildOfFirst); ++ // remove the second widget from the chain ++ QWidget *lastFocusChildOfSecond; + determineLastFocusChild(second, lastFocusChildOfSecond); ++ { ++ QWidget *oldPrev = second->d_func()->focus_prev; ++ QWidget *prevWithFocus = oldPrev; ++ while (prevWithFocus->focusPolicy() == Qt::NoFocus) ++ prevWithFocus = prevWithFocus->d_func()->focus_prev; ++ // only widgets between first and second -> all is fine ++ if (prevWithFocus == first) ++ return; ++ QWidget *oldNext = lastFocusChildOfSecond->d_func()->focus_next; ++ setPrev(oldNext, oldPrev); ++ setNext(oldPrev, oldNext); ++ } + +- // If the tab order is already correct, exit early +- if (lastFocusChildOfFirst->d_func()->focus_next == second) +- return; +- +- // Note that we need to handle two different sections in the tab chain; The section +- // that 'first' belongs to (firstSection), where we are about to insert 'second', and +- // the section that 'second' used be a part of (secondSection). When we pull 'second' +- // out of the second section and insert it into the first, we also need to ensure +- // that we leave the second section in a connected state. +- QWidget *firstChainOldSecond = lastFocusChildOfFirst->d_func()->focus_next; +- QWidget *secondChainNewFirst = second->d_func()->focus_prev; +- QWidget *secondChainNewSecond = lastFocusChildOfSecond->d_func()->focus_next; +- +- // Insert 'second' after 'first' +- lastFocusChildOfFirst->d_func()->focus_next = second; +- second->d_func()->focus_prev = lastFocusChildOfFirst; +- +- // The widget that used to be 'second' in the first section, should now become 'third' +- lastFocusChildOfSecond->d_func()->focus_next = firstChainOldSecond; +- firstChainOldSecond->d_func()->focus_prev = lastFocusChildOfSecond; +- +- // Repair the second section after we pulled 'second' out of it +- secondChainNewFirst->d_func()->focus_next = secondChainNewSecond; +- secondChainNewSecond->d_func()->focus_prev = secondChainNewFirst; ++ // insert the second widget into the chain ++ QWidget *lastFocusChildOfFirst; ++ determineLastFocusChild(first, lastFocusChildOfFirst); ++ { ++ QWidget *oldNext = lastFocusChildOfFirst->d_func()->focus_next; ++ setPrev(second, lastFocusChildOfFirst); ++ setNext(lastFocusChildOfFirst, second); ++ setPrev(oldNext, lastFocusChildOfSecond); ++ setNext(lastFocusChildOfSecond, oldNext); ++ } + } + + /*!\internal --- a/debian/patches/series +++ b/debian/patches/series @@ -12,6 +12,7 @@ CVE-2020-0569.diff CVE-2020-0570.diff XCB_Fix_clipboard_breaking_when_timer_wraps_after_50_days.patch CVE-2020-17507.diff +fix_settaborder.diff # Debian specific. gnukfreebsd.diff
/usr/lib/qt5/bin/moc -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_TESTLIB_LIB -DQT_CORE_LIB -DQT_TESTCASE_BUILDDIR='"/tests/auto/widgets/kernel/qwidget"' --include /tests/auto/widgets/kernel/qwidget/moc_predefs.h -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -I/tests/auto/widgets/kernel/qwidget -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets/5.11.3 -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets/5.11.3/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui/5.11.3 -I/usr/include/x86_64-linux-gnu/qt5/QtGui/5.11.3/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtTest/5.11.3 -I/usr/include/x86_64-linux-gnu/qt5/QtTest/5.11.3/QtTest -I/usr/include/x86_64-linux-gnu/qt5/QtCore/5.11.3 -I/usr/include/x86_64-linux-gnu/qt5/QtCore/5.11.3/QtCore -I/usr/include/x86_64-linux-gnu/qt5/QtTest -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/c++/8 -I/usr/include/x86_64-linux-gnu/c++/8 -I/usr/include/c++/8/backward -I/usr/lib/gcc/x86_64-linux-gnu/8/include -I/usr/local/include -I/usr/lib/gcc/x86_64-linux-gnu/8/include-fixed -I/usr/include/x86_64-linux-gnu -I/usr/include tst_qwidget.cpp -o tst_qwidget.moc g++ -c -pipe -O2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_TESTLIB_LIB -DQT_CORE_LIB -DQT_TESTCASE_BUILDDIR='"/tests/auto/widgets/kernel/qwidget"' -I. -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets/5.11.3 -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets/5.11.3/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui/5.11.3 -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui/5.11.3/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtTest/5.11.3 -isystem /usr/include/x86_64-linux-gnu/qt5/QtTest/5.11.3/QtTest -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore/5.11.3 -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore/5.11.3/QtCore -isystem /usr/include/x86_64-linux-gnu/qt5/QtTest -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -I. -isystem /usr/include/libdrm -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o tst_qwidget.o tst_qwidget.cpp tst_qwidget.cpp: In function 'QWidgetBackingStore* backingStore(QWidget&)': tst_qwidget.cpp:9383:44: warning: unused parameter 'widget' [-Wunused-parameter] QWidgetBackingStore* backingStore(QWidget &widget) ~~~~~~~~~^~~~~~ g++ -Wl,-O1 -o tst_qwidget tst_qwidget.o qrc_qwidget.o -lQt5Widgets -lQt5Gui -lQt5Test -lQt5Core -lGL -lpthread /tests/auto/widgets/kernel/qwidget/target_wrapper.sh ./tst_qwidget QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root' ********* Start testing of tst_QWidget ********* Config: Using QtTest library 5.11.3, Qt 5.11.3 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 8.3.0) PASS : tst_QWidget::initTestCase() QWARN : tst_QWidget::getSetCheck() QWidget::setMinimumSize: (/QWidget) Negative sizes (-2147483648,0) are not possible QWARN : tst_QWidget::getSetCheck() QWidget::setMinimumSize: (/QWidget) The largest allowed size is (16777215,16777215) QWARN : tst_QWidget::getSetCheck() QWidget::setMinimumSize: (/QWidget) Negative sizes (-2147483648,0) are not possible QWARN : tst_QWidget::getSetCheck() QWidget::setMinimumSize: (/QWidget) The largest allowed size is (16777215,16777215) QWARN : tst_QWidget::getSetCheck() QWidget::setMinimumSize: (/QWidget) Negative sizes (0,-2147483648) are not possible QWARN : tst_QWidget::getSetCheck() QWidget::setMinimumSize: (/QWidget) The largest allowed size is (16777215,16777215) QWARN : tst_QWidget::getSetCheck() QWidget::setMinimumSize: (/QWidget) Negative sizes (0,-2147483648) are not possible QWARN : tst_QWidget::getSetCheck() QWidget::setMinimumSize: (/QWidget) The largest allowed size is (16777215,16777215) QWARN : tst_QWidget::getSetCheck() QWidget::setMaximumSize: (/QWidget) Negative sizes (-2147483648,16777215) are not possible QWARN : tst_QWidget::getSetCheck() QWidget::setMaximumSize: (/QWidget) The largest allowed size is (16777215,16777215) QWARN : tst_QWidget::getSetCheck() QWidget::setMaximumSize: (/QWidget) Negative sizes (16777215,-2147483648) are not possible QWARN : tst_QWidget::getSetCheck() QWidget::setMaximumSize: (/QWidget) The largest allowed size is (16777215,16777215) QDEBUG : tst_QWidget::getSetCheck() QRect(10,10 100x100) QDEBUG : tst_QWidget::getSetCheck() QRect(0,0 0x0) QWARN : tst_QWidget::getSetCheck() QWidget::setLayout: Cannot set layout to 0 PASS : tst_QWidget::getSetCheck() PASS : tst_QWidget::fontPropagation() PASS : tst_QWidget::fontPropagation2() PASS : tst_QWidget::palettePropagation() PASS : tst_QWidget::palettePropagation2() PASS : tst_QWidget::enabledPropagation() WARNING: tst_QWidget::ignoreKeyEventsWhenDisabled_QTBUG27417() Keyboard event not accepted by receiving widget WARNING: tst_QWidget::ignoreKeyEventsWhenDisabled_QTBUG27417() Keyboard event not accepted by receiving widget PASS : tst_QWidget::ignoreKeyEventsWhenDisabled_QTBUG27417() FAIL! : tst_QWidget::properTabHandlingWhenDisabled_QTBUG27417() '(lineEdit->hasFocus())' returned FALSE. () Loc: [tst_qwidget.cpp(1038)] PASS : tst_QWidget::acceptDropsPropagation() PASS : tst_QWidget::isEnabledTo() PASS : tst_QWidget::visible() PASS : tst_QWidget::visible_setWindowOpacity() PASS : tst_QWidget::isVisibleTo() PASS : tst_QWidget::isHidden() PASS : tst_QWidget::fonts() PASS : tst_QWidget::mapFromAndTo(window 1 sub1 1 sub2 1 subsub 1) PASS : tst_QWidget::mapFromAndTo(window 0 sub1 1 sub2 1 subsub 1) PASS : tst_QWidget::mapFromAndTo(window 1 sub1 0 sub2 1 subsub 1) PASS : tst_QWidget::mapFromAndTo(window 0 sub1 0 sub2 1 subsub 1) PASS : tst_QWidget::mapFromAndTo(window 1 sub1 1 sub2 0 subsub 1) PASS : tst_QWidget::mapFromAndTo(window 0 sub1 1 sub2 0 subsub 1) PASS : tst_QWidget::mapFromAndTo(window 1 sub1 0 sub2 0 subsub 1) PASS : tst_QWidget::mapFromAndTo(window 0 sub1 0 sub2 0 subsub 1) PASS : tst_QWidget::mapFromAndTo(window 1 sub1 1 sub2 1 subsub 0) PASS : tst_QWidget::mapFromAndTo(window 0 sub1 1 sub2 1 subsub 0) PASS : tst_QWidget::mapFromAndTo(window 1 sub1 0 sub2 1 subsub 0) PASS : tst_QWidget::mapFromAndTo(window 0 sub1 0 sub2 1 subsub 0) PASS : tst_QWidget::mapFromAndTo(window 1 sub1 1 sub2 0 subsub 0) PASS : tst_QWidget::mapFromAndTo(window 0 sub1 1 sub2 0 subsub 0) PASS : tst_QWidget::mapFromAndTo(window 1 sub1 0 sub2 0 subsub 0) PASS : tst_QWidget::mapFromAndTo(window 0 sub1 0 sub2 0 subsub 0) PASS : tst_QWidget::mapFromAndTo(window 1 sub1 1 sub2 1 subsub 1 windowMinimized) PASS : tst_QWidget::mapFromAndTo(window 0 sub1 1 sub2 1 subsub 1 windowMinimized) PASS : tst_QWidget::mapFromAndTo(window 1 sub1 0 sub2 1 subsub 1 windowMinimized) PASS : tst_QWidget::mapFromAndTo(window 0 sub1 0 sub2 1 subsub 1 windowMinimized) PASS : tst_QWidget::mapFromAndTo(window 1 sub1 1 sub2 0 subsub 1 windowMinimized) PASS : tst_QWidget::mapFromAndTo(window 0 sub1 1 sub2 0 subsub 1 windowMinimized) PASS : tst_QWidget::mapFromAndTo(window 1 sub1 0 sub2 0 subsub 1 windowMinimized) PASS : tst_QWidget::mapFromAndTo(window 0 sub1 0 sub2 0 subsub 1 windowMinimized) PASS : tst_QWidget::mapFromAndTo(window 1 sub1 1 sub2 1 subsub 0 windowMinimized) PASS : tst_QWidget::mapFromAndTo(window 0 sub1 1 sub2 1 subsub 0 windowMinimized) PASS : tst_QWidget::mapFromAndTo(window 1 sub1 0 sub2 1 subsub 0 windowMinimized) PASS : tst_QWidget::mapFromAndTo(window 0 sub1 0 sub2 1 subsub 0 windowMinimized) PASS : tst_QWidget::mapFromAndTo(window 1 sub1 1 sub2 0 subsub 0 windowMinimized) PASS : tst_QWidget::mapFromAndTo(window 0 sub1 1 sub2 0 subsub 0 windowMinimized) PASS : tst_QWidget::mapFromAndTo(window 1 sub1 0 sub2 0 subsub 0 windowMinimized) PASS : tst_QWidget::mapFromAndTo(window 0 sub1 0 sub2 0 subsub 0 windowMinimized) PASS : tst_QWidget::mapFromAndTo(window 1 sub1 1 sub2 1 subsub 1 subWindow1Minimized) PASS : tst_QWidget::mapFromAndTo(window 0 sub1 1 sub2 1 subsub 1 subWindow1Minimized) PASS : tst_QWidget::mapFromAndTo(window 1 sub1 0 sub2 1 subsub 1 subWindow1Minimized) PASS : tst_QWidget::mapFromAndTo(window 0 sub1 0 sub2 1 subsub 1 subWindow1Minimized) PASS : tst_QWidget::mapFromAndTo(window 1 sub1 1 sub2 0 subsub 1 subWindow1Minimized) PASS : tst_QWidget::mapFromAndTo(window 0 sub1 1 sub2 0 subsub 1 subWindow1Minimized) PASS : tst_QWidget::mapFromAndTo(window 1 sub1 0 sub2 0 subsub 1 subWindow1Minimized) PASS : tst_QWidget::mapFromAndTo(window 0 sub1 0 sub2 0 subsub 1 subWindow1Minimized) PASS : tst_QWidget::mapFromAndTo(window 1 sub1 1 sub2 1 subsub 0 subWindow1Minimized) PASS : tst_QWidget::mapFromAndTo(window 0 sub1 1 sub2 1 subsub 0 subWindow1Minimized) PASS : tst_QWidget::mapFromAndTo(window 1 sub1 0 sub2 1 subsub 0 subWindow1Minimized) PASS : tst_QWidget::mapFromAndTo(window 0 sub1 0 sub2 1 subsub 0 subWindow1Minimized) PASS : tst_QWidget::mapFromAndTo(window 1 sub1 1 sub2 0 subsub 0 subWindow1Minimized) PASS : tst_QWidget::mapFromAndTo(window 0 sub1 1 sub2 0 subsub 0 subWindow1Minimized) PASS : tst_QWidget::mapFromAndTo(window 1 sub1 0 sub2 0 subsub 0 subWindow1Minimized) PASS : tst_QWidget::mapFromAndTo(window 0 sub1 0 sub2 0 subsub 0 subWindow1Minimized) PASS : tst_QWidget::focusChainOnHide() PASS : tst_QWidget::focusChainOnReparent() PASS : tst_QWidget::defaultTabOrder() PASS : tst_QWidget::reverseTabOrder() PASS : tst_QWidget::tabOrderWithProxy() PASS : tst_QWidget::tabOrderWithCompoundWidgets() PASS : tst_QWidget::tabOrderNoChange() PASS : tst_QWidget::tabOrderNoChange2() PASS : tst_QWidget::reparent() SKIP : tst_QWidget::windowState() X11: Many window managers do not support window state properly, which causes this test to fail. Loc: [tst_qwidget.cpp(2047)] FAIL! : tst_QWidget::showMaximized() '(widget.size().width() > 20 && widget.size().height() > 20)' returned FALSE. () Loc: [tst_qwidget.cpp(2249)] FAIL! : tst_QWidget::showFullScreen() Compared values are not the same Actual (((plain.geometry()))) : QRect(0,0 640x480) (bottomright 639,479) Expected (expectedFullScreenGeometry): QRect(0,0 1024x768) (bottomright 1023,767) Loc: [tst_qwidget.cpp(2280)] PASS : tst_QWidget::showMinimized() SKIP : tst_QWidget::showMinimizedKeepsFocus() QTBUG-26424 Loc: [tst_qwidget.cpp(2440)] PASS : tst_QWidget::icon() PASS : tst_QWidget::hideWhenFocusWidgetIsChild() FAIL! : tst_QWidget::normalGeometry() '(parent.geometry() != geom)' returned FALSE. () Loc: [tst_qwidget.cpp(2711)] SKIP : tst_QWidget::setGeometry() QTBUG-26424 Loc: [tst_qwidget.cpp(2810)] PASS : tst_QWidget::windowOpacity() PASS : tst_QWidget::raise() PASS : tst_QWidget::lower() XFAIL : tst_QWidget::stackUnder() See QTBUG-493 Loc: [tst_qwidget.cpp(3161)] PASS : tst_QWidget::stackUnder() PASS : tst_QWidget::testContentsPropagation() FAIL! : tst_QWidget::saveRestoreGeometry() '(widget.geometry() != geom)' returned FALSE. () Loc: [tst_qwidget.cpp(3363)] BPASS : tst_QWidget::restoreVersion1Geometry(geometry.dat) BPASS : tst_QWidget::restoreVersion1Geometry(geometry-maximized.dat) BPASS : tst_QWidget::restoreVersion1Geometry(geometry-fullscreen.dat) PASS : tst_QWidget::widgetAt() PASS : tst_QWidget::optimizedResizeMove() SKIP : tst_QWidget::optimizedResize_topLevel() QTBUG-26424 Loc: [tst_qwidget.cpp(3889)] PASS : tst_QWidget::resizeEvent() PASS : tst_QWidget::task110173() PASS : tst_QWidget::testDeletionInEventHandlers() PASS : tst_QWidget::childDeletesItsSibling() FAIL! : tst_QWidget::setMinimumSize() 'QTest::qWaitForWindowActive(&w)' returned FALSE. () Loc: [tst_qwidget.cpp(3938)] PASS : tst_QWidget::setMaximumSize() FAIL! : tst_QWidget::setFixedSize() 'QTest::qWaitForWindowActive(&w)' returned FALSE. () Loc: [tst_qwidget.cpp(3990)] PASS : tst_QWidget::ensureCreated() PASS : tst_QWidget::winIdChangeEvent() PASS : tst_QWidget::persistentWinId() PASS : tst_QWidget::showNativeChild() PASS : tst_QWidget::transientParent() PASS : tst_QWidget::qobject_castInDestroyedSlot() PASS : tst_QWidget::showHideEvent(window: only show) PASS : tst_QWidget::showHideEvent(window: show/hide) PASS : tst_QWidget::showHideEvent(window: show/hide/create) PASS : tst_QWidget::showHideEvent(window: hide/create) PASS : tst_QWidget::showHideEvent(window: only hide) PASS : tst_QWidget::showHideEvent(window: nothing) PASS : tst_QWidget::showHideEventWhileMinimize() PASS : tst_QWidget::showHideChildrenWhileMinimize_QTBUG50589() PASS : tst_QWidget::lostUpdatesOnHide() PASS : tst_QWidget::update() PASS : tst_QWidget::isOpaque() FAIL! : tst_QWidget::scroll() 'QTest::qWaitForWindowActive(&updateWidget)' returned FALSE. () Loc: [tst_qwidget.cpp(4605)] PASS : tst_QWidget::scrollNativeChildren() SKIP : tst_QWidget::setWindowGeometry(100,100 200x200, flags 0) X11: Skip this test due to Window manager positioning issues. Loc: [tst_qwidget.cpp(4788)] SKIP : tst_QWidget::setWindowGeometry(100,100 200x200, flags 800) X11: Skip this test due to Window manager positioning issues. Loc: [tst_qwidget.cpp(4788)] SKIP : tst_QWidget::setWindowGeometry(100,100 824x568, flags 0) X11: Skip this test due to Window manager positioning issues. Loc: [tst_qwidget.cpp(4788)] SKIP : tst_QWidget::setWindowGeometry(100,100 824x568, flags 800) X11: Skip this test due to Window manager positioning issues. Loc: [tst_qwidget.cpp(4788)] SKIP : tst_QWidget::setWindowGeometry(130,100 0x200, flags 0) X11: Skip this test due to Window manager positioning issues. Loc: [tst_qwidget.cpp(4788)] SKIP : tst_QWidget::setWindowGeometry(130,100 0x200, flags 800) X11: Skip this test due to Window manager positioning issues. Loc: [tst_qwidget.cpp(4788)] SKIP : tst_QWidget::setWindowGeometry(100,50 200x0, flags 0) X11: Skip this test due to Window manager positioning issues. Loc: [tst_qwidget.cpp(4788)] SKIP : tst_QWidget::setWindowGeometry(100,50 200x0, flags 800) X11: Skip this test due to Window manager positioning issues. Loc: [tst_qwidget.cpp(4788)] SKIP : tst_QWidget::setWindowGeometry(130,50 0x0, flags 0) X11: Skip this test due to Window manager positioning issues. Loc: [tst_qwidget.cpp(4788)] SKIP : tst_QWidget::setWindowGeometry(130,50 0x0, flags 800) X11: Skip this test due to Window manager positioning issues. Loc: [tst_qwidget.cpp(4788)] SKIP : tst_QWidget::windowMoveResize(100,100 200x200, flags 0) X11: Skip this test due to Window manager positioning issues. Loc: [tst_qwidget.cpp(4952)] SKIP : tst_QWidget::windowMoveResize(100,100 200x200, flags 800) X11: Skip this test due to Window manager positioning issues. Loc: [tst_qwidget.cpp(4952)] SKIP : tst_QWidget::windowMoveResize(100,100 824x568, flags 0) X11: Skip this test due to Window manager positioning issues. Loc: [tst_qwidget.cpp(4952)] SKIP : tst_QWidget::windowMoveResize(100,100 824x568, flags 800) X11: Skip this test due to Window manager positioning issues. Loc: [tst_qwidget.cpp(4952)] SKIP : tst_QWidget::windowMoveResize(130,100 0x200, flags 0) X11: Skip this test due to Window manager positioning issues. Loc: [tst_qwidget.cpp(4952)] SKIP : tst_QWidget::windowMoveResize(130,100 0x200, flags 800) X11: Skip this test due to Window manager positioning issues. Loc: [tst_qwidget.cpp(4952)] SKIP : tst_QWidget::windowMoveResize(100,50 200x0, flags 0) X11: Skip this test due to Window manager positioning issues. Loc: [tst_qwidget.cpp(4952)] SKIP : tst_QWidget::windowMoveResize(100,50 200x0, flags 800) X11: Skip this test due to Window manager positioning issues. Loc: [tst_qwidget.cpp(4952)] SKIP : tst_QWidget::windowMoveResize(130,50 0x0, flags 0) X11: Skip this test due to Window manager positioning issues. Loc: [tst_qwidget.cpp(4952)] SKIP : tst_QWidget::windowMoveResize(130,50 0x0, flags 800) X11: Skip this test due to Window manager positioning issues. Loc: [tst_qwidget.cpp(4952)] PASS : tst_QWidget::moveChild(right) PASS : tst_QWidget::moveChild(down) PASS : tst_QWidget::moveChild(left) PASS : tst_QWidget::moveChild(up) FAIL! : tst_QWidget::showAndMoveChild() 'QTest::qWaitForWindowActive(&parent)' returned FALSE. () Loc: [tst_qwidget.cpp(5318)] PASS : tst_QWidget::subtractOpaqueSiblings() PASS : tst_QWidget::setLocale() PASS : tst_QWidget::propagateLocale() PASS : tst_QWidget::deleteStyle() BPASS : tst_QWidget::multipleToplevelFocusCheck() PASS : tst_QWidget::setFocus() PASS : tst_QWidget::setCursor() PASS : tst_QWidget::setToolTip() PASS : tst_QWidget::testWindowIconChangeEventPropagation() PASS : tst_QWidget::minAndMaxSizeWithX11BypassWindowManagerHint() PASS : tst_QWidget::showHideShowX11() FAIL! : tst_QWidget::clean_qt_x11_enforce_cursor() 'QTest::qWaitForWindowActive(&window)' returned FALSE. () Loc: [tst_qwidget.cpp(6178)] PASS : tst_QWidget::childEvents() PASS : tst_QWidget::render() SKIP : tst_QWidget::renderInvisible() QTBUG-26424 Loc: [tst_qwidget.cpp(6659)] PASS : tst_QWidget::renderWithPainter() PASS : tst_QWidget::render_task188133() PASS : tst_QWidget::render_task211796() PASS : tst_QWidget::render_task217815() PASS : tst_QWidget::render_windowOpacity() PASS : tst_QWidget::render_systemClip() PASS : tst_QWidget::render_systemClip2(Only auto-fill background) PASS : tst_QWidget::render_systemClip2(Only draw in paintEvent) PASS : tst_QWidget::render_systemClip2(Auto-fill background and draw in paintEvent) PASS : tst_QWidget::render_systemClip3(Norwegian Civil Flag) PASS : tst_QWidget::render_systemClip3(Norwegian War Flag) PASS : tst_QWidget::render_task252837() PASS : tst_QWidget::render_worldTransform() PASS : tst_QWidget::setContentsMargins() SKIP : tst_QWidget::moveWindowInShowEvent(1) QTBUG-26424 Loc: [tst_qwidget.cpp(7517)] SKIP : tst_QWidget::moveWindowInShowEvent(2) QTBUG-26424 Loc: [tst_qwidget.cpp(7517)] PASS : tst_QWidget::repaintWhenChildDeleted() PASS : tst_QWidget::hideOpaqueChildWhileHidden() FAIL! : tst_QWidget::updateWhileMinimized() Compared values are not the same Actual (widget.numPaintEvents): 1 Expected (0) : 0 Loc: [tst_qwidget.cpp(7639)] XFAIL : tst_QWidget::alienWidgets() QTBUG-26424 Loc: [tst_qwidget.cpp(7733)] XFAIL : tst_QWidget::alienWidgets() QTBUG-26424 Loc: [tst_qwidget.cpp(7736)] XFAIL : tst_QWidget::alienWidgets() QTBUG-26424 Loc: [tst_qwidget.cpp(7739)] XFAIL : tst_QWidget::alienWidgets() QTBUG-26424 Loc: [tst_qwidget.cpp(7742)] XFAIL : tst_QWidget::alienWidgets() QTBUG-26424 Loc: [tst_qwidget.cpp(7788)] XFAIL : tst_QWidget::alienWidgets() QTBUG-26424 Loc: [tst_qwidget.cpp(7791)] XFAIL : tst_QWidget::alienWidgets() QTBUG-26424 Loc: [tst_qwidget.cpp(7794)] XFAIL : tst_QWidget::alienWidgets() QTBUG-26424 Loc: [tst_qwidget.cpp(7849)] XFAIL : tst_QWidget::alienWidgets() QTBUG-26424 Loc: [tst_qwidget.cpp(7852)] XFAIL : tst_QWidget::alienWidgets() QTBUG-26424 Loc: [tst_qwidget.cpp(7855)] XFAIL : tst_QWidget::alienWidgets() QTBUG-26424 Loc: [tst_qwidget.cpp(7858)] XFAIL : tst_QWidget::alienWidgets() QTBUG-26424 Loc: [tst_qwidget.cpp(7861)] XFAIL : tst_QWidget::alienWidgets() QTBUG-26424 Loc: [tst_qwidget.cpp(7864)] PASS : tst_QWidget::alienWidgets() PASS : tst_QWidget::adjustSize(1) PASS : tst_QWidget::adjustSize(2) PASS : tst_QWidget::adjustSize(3) PASS : tst_QWidget::adjustSize(4) PASS : tst_QWidget::adjustSize(5) PASS : tst_QWidget::adjustSize(6) PASS : tst_QWidget::adjustSize(7) PASS : tst_QWidget::adjustSize(8) PASS : tst_QWidget::adjustSize(9) PASS : tst_QWidget::adjustSize(1c) PASS : tst_QWidget::adjustSize(2c) PASS : tst_QWidget::adjustSize(3c) PASS : tst_QWidget::adjustSize(4c) PASS : tst_QWidget::adjustSize(5c) PASS : tst_QWidget::adjustSize(6c) PASS : tst_QWidget::adjustSize(7c) PASS : tst_QWidget::adjustSize(8c) PASS : tst_QWidget::adjustSize(9c) PASS : tst_QWidget::updateGeometry(setMinimumSize) PASS : tst_QWidget::updateGeometry(setMaximumSize) PASS : tst_QWidget::updateGeometry(setMinimumSize, then maximumSize to a different size) PASS : tst_QWidget::updateGeometry(setMinimumSize, then maximumSize to the same size) PASS : tst_QWidget::updateGeometry(setMinimumSize, then maximumSize to the same size and then hide it) PASS : tst_QWidget::updateGeometry(Change sizePolicy) PASS : tst_QWidget::sendUpdateRequestImmediately() PASS : tst_QWidget::doubleRepaint() FAIL! : tst_QWidget::resizeInPaintEvent() 'QTest::qWaitForWindowActive(&window)' returned FALSE. () Loc: [tst_qwidget.cpp(8183)] PASS : tst_QWidget::opaqueChildren() PASS : tst_QWidget::setMaskInResizeEvent() PASS : tst_QWidget::moveInResizeEvent() PASS : tst_QWidget::immediateRepaintAfterInvalidateBuffer() PASS : tst_QWidget::effectiveWinId() PASS : tst_QWidget::effectiveWinId2() PASS : tst_QWidget::customDpi() PASS : tst_QWidget::customDpiProperty() PASS : tst_QWidget::quitOnCloseAttribute() PASS : tst_QWidget::moveRect() QWARN : tst_QWidget::reparentStaticWidget() QWidget::paintEngine: Should no longer be called QWARN : tst_QWidget::reparentStaticWidget() QWidget::paintEngine: Should no longer be called QWARN : tst_QWidget::reparentStaticWidget() QWidget::paintEngine: Should no longer be called QWARN : tst_QWidget::reparentStaticWidget() QWidget::paintEngine: Should no longer be called QWARN : tst_QWidget::reparentStaticWidget() QWidget::paintEngine: Should no longer be called QWARN : tst_QWidget::reparentStaticWidget() QWidget::paintEngine: Should no longer be called QWARN : tst_QWidget::reparentStaticWidget() QWidget::paintEngine: Should no longer be called QWARN : tst_QWidget::reparentStaticWidget() QWidget::paintEngine: Should no longer be called QWARN : tst_QWidget::reparentStaticWidget() QWidget::paintEngine: Should no longer be called QWARN : tst_QWidget::reparentStaticWidget() QWidget::paintEngine: Should no longer be called QWARN : tst_QWidget::reparentStaticWidget() QWidget::paintEngine: Should no longer be called QWARN : tst_QWidget::reparentStaticWidget() QWidget::paintEngine: Should no longer be called PASS : tst_QWidget::reparentStaticWidget() PASS : tst_QWidget::QTBUG6883_reparentStaticWidget2() PASS : tst_QWidget::translucentWidget() FAIL! : tst_QWidget::setClearAndResizeMask() 'QTest::qWaitForWindowActive(&topLevel)' returned FALSE. () Loc: [tst_qwidget.cpp(8782)] PASS : tst_QWidget::maskedUpdate() PASS : tst_QWidget::syntheticEnterLeave() FAIL! : tst_QWidget::taskQTBUG_4055_sendSyntheticEnterLeave() 'QTest::qWaitForWindowActive(&parent)' returned FALSE. () Loc: [tst_qwidget.cpp(9215)] WARNING: tst_QWidget::underMouse() Mouse event at 81, 151 occurs outside of target window (50x50). WARNING: tst_QWidget::underMouse() Mouse event at 80, 10 occurs outside of target window (50x50). WARNING: tst_QWidget::underMouse() Mouse event at 80, 50 occurs outside of target window (50x50). WARNING: tst_QWidget::underMouse() Mouse event at 74, 124 occurs outside of target window (50x50). WARNING: tst_QWidget::underMouse() Mouse event at 80, 10 occurs outside of target window (50x50). PASS : tst_QWidget::underMouse() PASS : tst_QWidget::taskQTBUG_27643_enterEvents() PASS : tst_QWidget::windowFlags() PASS : tst_QWidget::initialPosForDontShowOnScreenWidgets() PASS : tst_QWidget::updateOnDestroyedSignal() FAIL! : tst_QWidget::toplevelLineEditFocus() Compared pointers are not the same Loc: [tst_qwidget.cpp(9335)] PASS : tst_QWidget::focusWidget_task254563() PASS : tst_QWidget::rectOutsideCoordinatesLimit_task144779() PASS : tst_QWidget::setGraphicsEffect() PASS : tst_QWidget::activateWindow() PASS : tst_QWidget::openModal_taskQTBUG_5804() BPASS : tst_QWidget::focusProxyAndInputMethods() PASS : tst_QWidget::taskQTBUG_7532_tabOrderWithFocusProxy() PASS : tst_QWidget::movedAndResizedAttributes() PASS : tst_QWidget::childAt() PASS : tst_QWidget::taskQTBUG_17333_ResizeInfiniteRecursion() PASS : tst_QWidget::nativeChildFocus() PASS : tst_QWidget::grab() FAIL! : tst_QWidget::grabMouse() 'QTest::qWaitForWindowActive(&w)' returned FALSE. () Loc: [tst_qwidget.cpp(9916)] PASS : tst_QWidget::grabKeyboard() PASS : tst_QWidget::touchEventSynthesizedMouseEvent() PASS : tst_QWidget::touchUpdateOnNewTouch() PASS : tst_QWidget::touchEventsForGesturePendingWidgets() PASS : tst_QWidget::styleSheetPropagation() PASS : tst_QWidget::destroyedSignal() FAIL! : tst_QWidget::keyboardModifiers() 'QTest::qWaitForWindowActive(&w)' returned FALSE. () Loc: [tst_qwidget.cpp(10622)] PASS : tst_QWidget::mouseDoubleClickBubbling_QTBUG29680() PASS : tst_QWidget::largerThanScreen_QTBUG30142() PASS : tst_QWidget::resizeStaticContentsChildWidget_QTBUG35282() SKIP : tst_QWidget::qmlSetParentHelper() Needs QT_BUILD_INTERNAL Loc: [tst_qwidget.cpp(10704)] SKIP : tst_QWidget::testForOutsideWSRangeFlag() Test assumes QWindows can have 0x0 size, see QTBUG-61953 Loc: [tst_qwidget.cpp(10710)] PASS : tst_QWidget::tabletTracking() PASS : tst_QWidget::closeEvent() PASS : tst_QWidget::cleanupTestCase() Totals: 207 passed, 17 failed, 29 skipped, 5 blacklisted, 155913ms ********* Finished testing of tst_QWidget ********* make: *** [Makefile:348: check] Error 17
signature.asc
Description: PGP signature