Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-128187

Fix tst_QWindowContainer::testFocus() failed on GNOME Wayland

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P1: Critical
    • None
    • 6.7, 6.8, 6.9
    • QPA: Wayland
    • None
    • Linux/Wayland

    Description

      This test is moving to blacklist and this ticket is created to fix and take it back into CI.

      https://testresults.qt.io/coin/integration/qt/qtwayland/tasks/web_qt_qtwayland_1721719815326
      https://testresults.qt.io/coin/api/log/qt/qtbase/dce6ffb53b200733df8a06a0e8ce7ee749dbbabc/LinuxUbuntu_24_04aarch64LinuxUbuntu_24_04aarch64GCCqtci-linux-Ubuntu-24.04-aarch64-50-e2370eInsignificantTests_RunDependencyTests_TestOnly/2164dac4780f4629c9b038f46e0b45581adc6ccc/test_1721720440/log.txt.gz

      agent:2024/07/23 08:38:00 build.go:404: 600: ********* Start testing of tst_QWindowContainer *********
      agent:2024/07/23 08:38:00 build.go:404: 600: Config: Using QtTest library 6.9.0, Qt 6.9.0 (arm64-little_endian-lp64 shared (dynamic) debug build; by GCC 13.2.0), ubuntu 24.04
      agent:2024/07/23 08:38:00 build.go:404: 600: PASS   : tst_QWindowContainer::initTestCase()
      agent:2024/07/23 08:38:00 build.go:404: 600: SKIP   : tst_QWindowContainer::testShow() Wayland: This fails. Figure out why.
      agent:2024/07/23 08:38:00 build.go:404: 600:    Loc: [/home/qt/work/qt/qtbase/tests/auto/widgets/kernel/qwindowcontainer/tst_qwindowcontainer.cpp(80)]
      agent:2024/07/23 08:38:00 build.go:404: 600: PASS   : tst_QWindowContainer::testPositionAndSize()
      agent:2024/07/23 08:38:00 build.go:404: 600: PASS   : tst_QWindowContainer::testSizeHints()
      agent:2024/07/23 08:38:00 build.go:404: 600: SKIP   : tst_QWindowContainer::testExposeObscure() Wayland: This fails. Figure out why.
      agent:2024/07/23 08:38:00 build.go:404: 600:    Loc: [/home/qt/work/qt/qtbase/tests/auto/widgets/kernel/qwindowcontainer/tst_qwindowcontainer.cpp(144)]
      agent:2024/07/23 08:38:00 build.go:404: 600: PASS   : tst_QWindowContainer::testOwnership()
      agent:2024/07/23 08:38:00 build.go:404: 600: PASS   : tst_QWindowContainer::testBehindTheScenesDeletion()
      agent:2024/07/23 08:38:00 build.go:404: 600: PASS   : tst_QWindowContainer::testUnparenting()
      agent:2024/07/23 08:38:00 build.go:404: 600: PASS   : tst_QWindowContainer::testReparenting()
      agent:2024/07/23 08:38:00 build.go:404: 600: SKIP   : tst_QWindowContainer::testUnparentReparent() Wayland: This fails. Figure out why.
      agent:2024/07/23 08:38:00 build.go:404: 600:    Loc: [/home/qt/work/qt/qtbase/tests/auto/widgets/kernel/qwindowcontainer/tst_qwindowcontainer.cpp(276)]
      agent:2024/07/23 08:38:00 build.go:404: 600: SKIP   : tst_QWindowContainer::testActivation() Wayland: This fails. Figure out why.
      agent:2024/07/23 08:38:00 build.go:404: 600:    Loc: [/home/qt/work/qt/qtbase/tests/auto/widgets/kernel/qwindowcontainer/tst_qwindowcontainer.cpp(196)]
      agent:2024/07/23 08:38:00 build.go:404: 600: PASS   : tst_QWindowContainer::testAncestorChange()
      agent:2024/07/23 08:38:00 build.go:404: 600: PASS   : tst_QWindowContainer::testDockWidget()
      agent:2024/07/23 08:38:00 build.go:404: 600: SKIP   : tst_QWindowContainer::testNativeContainerParent() Wayland: This fails. Figure out why.
      agent:2024/07/23 08:38:00 build.go:404: 600:    Loc: [/home/qt/work/qt/qtbase/tests/auto/widgets/kernel/qwindowcontainer/tst_qwindowcontainer.cpp(389)]
      agent:2024/07/23 08:38:00 build.go:404: 600: PASS   : tst_QWindowContainer::testPlatformSurfaceEvent()
      agent:2024/07/23 08:38:00 build.go:404: 600: PASS   : tst_QWindowContainer::embedWidgetWindow()
      agent:2024/07/23 08:38:06 build.go:404: 600: FAIL!  : tst_QWindowContainer::testFocus() 'QTest::qWaitForWindowFocused(embedded)' returned FALSE. ()
      agent:2024/07/23 08:38:06 build.go:404: 600:    Loc: [/home/qt/work/qt/qtbase/tests/auto/widgets/kernel/qwindowcontainer/tst_qwindowcontainer.cpp(498)]
      agent:2024/07/23 08:38:06 build.go:404: 600: PASS   : tst_QWindowContainer::parentDestroyed()
      agent:2024/07/23 08:38:06 build.go:404: 600: PASS   : tst_QWindowContainer::cleanupTestCase()
      agent:2024/07/23 08:38:06 build.go:404: 600: Totals: 13 passed, 1 failed, 5 skipped, 0 blacklisted, 5529ms
      agent:2024/07/23 08:38:06 build.go:404: 600: ********* Finished testing of tst_QWindowContainer *********
      

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              qt.team.graphics.and.multimedia Qt Graphics Team
              teheikki Tero Heikkinen
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes