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

tst_qshortcut_kernel in gui failed on Wayland

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P1: Critical
    • None
    • dev
    • QPA: Wayland
    • None
    • Linux/Wayland
    • d14a1ceff (dev), cf0d34bf1 (dev), b70496888 (6.7), 0b04acd1f (6.7)

    Description

      https://codereview.qt-project.org/c/qt/qtwayland/+/524023
      https://testresults.qt.io/coin/integration/qt/qtwayland/tasks/1705133287
      https://testresults.qt.io/coin/api/log/qt/qtbase/4f2b76cce6a289af94247a259a3006baceb4d05c/LinuxUbuntu_22_04x86_64LinuxUbuntu_22_04x86_64GCCqtci-linux-Ubuntu-22.04-x86_64-50-d505adInsignificantTests_RunDependencyTests_Sccache_TestOnly/8f9d8282492f0f50732e4bf3894b109c94de0bd7/test_1705133300/log.txt.gz

      agent:2023/12/11 09:25:20 build.go:404: 351: * Start testing of tst_QShortcut *
      agent:2023/12/11 09:25:20 build.go:404: 351: Config: Using QtTest library 6.7.0, Qt 6.7.0 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 11.4.0), ubuntu 22.04
      agent:2023/12/11 09:25:20 build.go:404: 351: PASS : tst_QShortcut::initTestCase()
      agent:2023/12/11 09:25:20 build.go:404: 351: QWARN : tst_QShortcut::applicationShortcut() qWaitForWindowActive was called on a platform that doesn't support window activation. This means there is an error in the test and it should either check for the WindowActivation platform capability before calling qWaitForWindowActivate, use qWaitForWindowExposed instead, or skip the test. Falling back to qWaitForWindowExposed.
      agent:2023/12/11 09:25:35 build.go:404: 351: FAIL! : tst_QShortcut::applicationShortcut() Compared values are not the same
      agent:2023/12/11 09:25:35 build.go:404: 351: Actual (QGuiApplication::applicationState()): ApplicationInactive
      agent:2023/12/11 09:25:35 build.go:404: 351: Expected (Qt::ApplicationActive) : ApplicationActive
      agent:2023/12/11 09:25:35 build.go:404: 351: Loc: [/home/qt/work/qt/qtbase/tests/auto/gui/kernel/qshortcut/tst_qshortcut.cpp(33)]
      agent:2023/12/11 09:25:50 build.go:404: 351: FAIL! : tst_QShortcut::windowShortcut() 'QGuiApplication::applicationState() == Qt::ApplicationActive' returned FALSE. ()
      agent:2023/12/11 09:25:50 build.go:404: 351: Loc: [/home/qt/work/qt/qtbase/tests/auto/gui/kernel/qshortcut/tst_qshortcut.cpp(45)]
      agent:2023/12/11 09:25:50 build.go:404: 351: PASS : tst_QShortcut::cleanupTestCase()
      agent:2023/12/11 09:25:50 build.go:404: 351: Totals: 2 passed, 2 failed, 0 skipped, 0 blacklisted, 30639ms
      agent:2023/12/11 09:25:50 build.go:404: 351: * Finished testing of tst_QShortcut *
      
      After skip first failure, the one failed locally
      
      FAIL! : tst_QShortcut::windowShortcut() 'QGuiApplication::applicationState() == Qt::ApplicationActive' returned FALSE. ()
      Loc: [/home/liangqi/qt/qtbase/tests/auto/gui/kernel/qshortcut/tst_qshortcut.cpp(51)]
      

      Attachments

        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
            liaqi Liang Qi
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes