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

tst_QQuickMenu::mousePropagationWithinPopup is flaky under stress

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.10
    • Quick: Controls 2

    Description

      From https://bugreports.qt.io/browse/QTBUG-133380?focusedId=864842&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-864842:

      mitch@mitch-ubuntu:~/dev/qt-6.9-debug-no-asan/qtdeclarative/tests/auto/quickcontrols/qquickmenu$ QT_QUICK_CONTROLS_STYLE=FluentWinUI3 systemd-run --scope -p MemoryMax=500M --user nice -n 19 taskset -c 0 ./tst_qquickmenu
      Running as unit: run-rcf5ad0369eb24300b8b72083e5ac748f.scope; invocation ID: 3d5a5d1ab14347da80d22448e44769e3
      ********* Start testing of tst_QQuickMenu *********
      Config: Using QtTest library 6.10.0, Qt 6.10.0 (x86_64-little_endian-lp64 shared (dynamic) debug build; by GCC 13.3.0), ubuntu 24.04
      PASS   : tst_QQuickMenu::FluentWinUI3::initTestCase()
      PASS   : tst_QQuickMenu::FluentWinUI3::defaults()
      PASS   : tst_QQuickMenu::FluentWinUI3::count()
      PASS   : tst_QQuickMenu::FluentWinUI3::mouse(Popup.Item)
      PASS   : tst_QQuickMenu::FluentWinUI3::pressAndHold()
      PASS   : tst_QQuickMenu::FluentWinUI3::contextMenuKeyboard(Popup.Item)
      FAIL!  : tst_QQuickMenu::FluentWinUI3::contextMenuKeyboard(Popup.Window) 'firstItem->hasVisualFocus()' returned FALSE. ()
         Loc: [/home/mitch/dev/qt-6.9/qtdeclarative/tests/auto/quickcontrols/qquickmenu/tst_qquickmenu.cpp(521)]
      PASS   : tst_QQuickMenu::FluentWinUI3::disabledMenuItemKeyNavigation()
      PASS   : tst_QQuickMenu::FluentWinUI3::mnemonics()
      PASS   : tst_QQuickMenu::FluentWinUI3::checkableMnemonics(checkable_enabled_action)
      PASS   : tst_QQuickMenu::FluentWinUI3::checkableMnemonics(checkable_disabled_action)
      PASS   : tst_QQuickMenu::FluentWinUI3::checkableMnemonics(uncheckable_enabled_action)
      PASS   : tst_QQuickMenu::FluentWinUI3::checkableMnemonics(uncheckable_disabled_action)
      PASS   : tst_QQuickMenu::FluentWinUI3::checkableMnemonics(checkable_enabled_menuItem)
      PASS   : tst_QQuickMenu::FluentWinUI3::checkableMnemonics(checkable_disabled_menuItem)
      PASS   : tst_QQuickMenu::FluentWinUI3::checkableMnemonics(uncheckable_enabled_menuItem)
      PASS   : tst_QQuickMenu::FluentWinUI3::checkableMnemonics(uncheckable_disabled_menuItem)
      PASS   : tst_QQuickMenu::FluentWinUI3::checkableMnemonics(checkable_enabled_subMenuItem)
      PASS   : tst_QQuickMenu::FluentWinUI3::checkableMnemonics(checkable_disabled_subMenuItem)
      PASS   : tst_QQuickMenu::FluentWinUI3::checkableMnemonics(uncheckable_enabled_subMenuItem)
      PASS   : tst_QQuickMenu::FluentWinUI3::checkableMnemonics(uncheckable_disabled_subMenuItem)
      PASS   : tst_QQuickMenu::FluentWinUI3::checkableMnemonics(checkable_enabled_subMenuAction)
      PASS   : tst_QQuickMenu::FluentWinUI3::checkableMnemonics(checkable_disabled_subMenuAction)
      PASS   : tst_QQuickMenu::FluentWinUI3::checkableMnemonics(uncheckable_enabled_subMenuAction)
      PASS   : tst_QQuickMenu::FluentWinUI3::checkableMnemonics(uncheckable_disabled_subMenuAction)
      PASS   : tst_QQuickMenu::FluentWinUI3::menuButton()
      PASS   : tst_QQuickMenu::FluentWinUI3::addItem()
      PASS   : tst_QQuickMenu::FluentWinUI3::menuSeparator()
      PASS   : tst_QQuickMenu::FluentWinUI3::repeater()
      PASS   : tst_QQuickMenu::FluentWinUI3::order()
      PASS   : tst_QQuickMenu::FluentWinUI3::popup()
      PASS   : tst_QQuickMenu::FluentWinUI3::openParentlessMenu()
      PASS   : tst_QQuickMenu::FluentWinUI3::actions()
      PASS   : tst_QQuickMenu::FluentWinUI3::actionShortcuts()
      PASS   : tst_QQuickMenu::FluentWinUI3::removeTakeItem()
      PASS   : tst_QQuickMenu::FluentWinUI3::subMenuMouse(cascading, in-scene)
      PASS   : tst_QQuickMenu::FluentWinUI3::subMenuMouse(non-cascading, in-scene)
      PASS   : tst_QQuickMenu::FluentWinUI3::subMenuDisabledMouse(cascading, in-scene)
      PASS   : tst_QQuickMenu::FluentWinUI3::subMenuDisabledMouse(non-cascading, in-scene)
      PASS   : tst_QQuickMenu::FluentWinUI3::subMenuKeyboard(cascading)
      PASS   : tst_QQuickMenu::FluentWinUI3::subMenuKeyboard(cascading,mirrored)
      PASS   : tst_QQuickMenu::FluentWinUI3::subMenuKeyboard(non-cascading)
      PASS   : tst_QQuickMenu::FluentWinUI3::subMenuKeyboard(non-cascading,mirrored)
      PASS   : tst_QQuickMenu::FluentWinUI3::subMenuDisabledKeyboard(cascading)
      PASS   : tst_QQuickMenu::FluentWinUI3::subMenuDisabledKeyboard(cascading,mirrored)
      PASS   : tst_QQuickMenu::FluentWinUI3::subMenuDisabledKeyboard(non-cascading)
      PASS   : tst_QQuickMenu::FluentWinUI3::subMenuDisabledKeyboard(non-cascading,mirrored)
      PASS   : tst_QQuickMenu::FluentWinUI3::subMenuPosition(cascading)
      PASS   : tst_QQuickMenu::FluentWinUI3::subMenuPosition(cascading,flip)
      PASS   : tst_QQuickMenu::FluentWinUI3::subMenuPosition(cascading,overlap)
      PASS   : tst_QQuickMenu::FluentWinUI3::subMenuPosition(cascading,flip,overlap)
      PASS   : tst_QQuickMenu::FluentWinUI3::subMenuPosition(cascading,mirrored)
      PASS   : tst_QQuickMenu::FluentWinUI3::subMenuPosition(cascading,mirrored,flip)
      PASS   : tst_QQuickMenu::FluentWinUI3::subMenuPosition(cascading,mirrored,overlap)
      PASS   : tst_QQuickMenu::FluentWinUI3::subMenuPosition(cascading,mirrored,flip,overlap)
      PASS   : tst_QQuickMenu::FluentWinUI3::subMenuPosition(non-cascading)
      SKIP   : tst_QQuickMenu::FluentWinUI3::subMenuFlipsPositionWhenOutOfBounds(PopupType::Item) This fails for several styles, and needs investigation: QTBUG-133530
         Loc: [/home/mitch/dev/qt-6.9/qtdeclarative/tests/auto/quickcontrols/qquickmenu/tst_qquickmenu.cpp(2165)]
      PASS   : tst_QQuickMenu::FluentWinUI3::subMenuWithIcon()
      PASS   : tst_QQuickMenu::FluentWinUI3::addRemoveSubMenus()
      SKIP   : tst_QQuickMenu::FluentWinUI3::subMenuPopupType() The platform doesn't support popup windows. Skipping test.
         Loc: [/home/mitch/dev/qt-6.9/qtdeclarative/tests/auto/quickcontrols/qquickmenu/tst_qquickmenu.cpp(2319)]
      PASS   : tst_QQuickMenu::FluentWinUI3::scrollable(Window)
      PASS   : tst_QQuickMenu::FluentWinUI3::scrollable(ApplicationWindow)
      PASS   : tst_QQuickMenu::FluentWinUI3::scrollable(WithPadding)
      QWARN  : tst_QQuickMenu::FluentWinUI3::scrollable(FixedHeight) file:///home/mitch/dev/qt-6.9/qtdeclarative/tests/auto/quickcontrols/qquickmenu/data/scrollableWithFixedHeight.qml:14:5: QML Menu: cannot show menu: parent is null
      PASS   : tst_QQuickMenu::FluentWinUI3::scrollable(FixedHeight)
      PASS   : tst_QQuickMenu::FluentWinUI3::disableWhenTriggered(Action)
      PASS   : tst_QQuickMenu::FluentWinUI3::disableWhenTriggered(MenuItem with Action)
      PASS   : tst_QQuickMenu::FluentWinUI3::disableWhenTriggered(MenuItem with Action declared outside menu)
      PASS   : tst_QQuickMenu::FluentWinUI3::disableWhenTriggered(MenuItem with no Action)
      PASS   : tst_QQuickMenu::FluentWinUI3::disableWhenTriggered(Sub-Action)
      PASS   : tst_QQuickMenu::FluentWinUI3::disableWhenTriggered(Sub-MenuItem with Action declared inside)
      PASS   : tst_QQuickMenu::FluentWinUI3::disableWhenTriggered(Sub-MenuItem with Action declared outside menu)
      PASS   : tst_QQuickMenu::FluentWinUI3::disableWhenTriggered(Sub-MenuItem with no Action)
      PASS   : tst_QQuickMenu::FluentWinUI3::menuItemWidth(non-mirrored)
      PASS   : tst_QQuickMenu::FluentWinUI3::menuItemWidth(mirrored)
      PASS   : tst_QQuickMenu::FluentWinUI3::menuItemWidthAfterMenuWidthChanged(non-mirrored)
      PASS   : tst_QQuickMenu::FluentWinUI3::menuItemWidthAfterMenuWidthChanged(mirrored)
      PASS   : tst_QQuickMenu::FluentWinUI3::menuItemWidthAfterImplicitWidthChanged(non-mirrored)
      PASS   : tst_QQuickMenu::FluentWinUI3::menuItemWidthAfterImplicitWidthChanged(mirrored)
      PASS   : tst_QQuickMenu::FluentWinUI3::menuItemWidthAfterRetranslate()
      PASS   : tst_QQuickMenu::FluentWinUI3::giveMenuItemFocusOnButtonPress()
      PASS   : tst_QQuickMenu::FluentWinUI3::customMenuCullItems()
      QWARN  : tst_QQuickMenu::FluentWinUI3::customMenuUseRepeaterAsTheContentItem() file:///home/mitch/dev/qt-6.9/qtdeclarative/tests/auto/quickcontrols/qquickmenu/data/customMenuUseRepeaterAsTheContentItem.qml:10:5: QML Menu: cannot show menu: parent is null
      PASS   : tst_QQuickMenu::FluentWinUI3::customMenuUseRepeaterAsTheContentItem()
      PASS   : tst_QQuickMenu::FluentWinUI3::invalidUrlInImgTag()
      PASS   : tst_QQuickMenu::FluentWinUI3::nativeStatic()
      PASS   : tst_QQuickMenu::FluentWinUI3::nativeDynamicActions()
      PASS   : tst_QQuickMenu::FluentWinUI3::nativeDynamicSubmenus()
      PASS   : tst_QQuickMenu::FluentWinUI3::nativeMenuSeparator()
      PASS   : tst_QQuickMenu::FluentWinUI3::AA_DontUseNativeMenuWindows()
      SKIP   : tst_QQuickMenu::FluentWinUI3::dontUseNativeMenuWindowsChanges() QTBUG-125967 This test will need to be fixed, by using popupType: Popup.Native instead of AA_DontUseNativeMenuWindows.
         Loc: [/home/mitch/dev/qt-6.9/qtdeclarative/tests/auto/quickcontrols/qquickmenu/tst_qquickmenu.cpp(3054)]
      PASS   : tst_QQuickMenu::FluentWinUI3::nativeMixedItems()
      PASS   : tst_QQuickMenu::FluentWinUI3::effectivePosition(Item)
      PASS   : tst_QQuickMenu::FluentWinUI3::textPadding()
      PASS   : tst_QQuickMenu::FluentWinUI3::resetCurrentIndexUponPopup(Item)
      PASS   : tst_QQuickMenu::FluentWinUI3::resetCurrentIndexUponPopup(Window)
      FAIL!  : tst_QQuickMenu::FluentWinUI3::mousePropagationWithinPopup() 'QTest::qWaitForWindowActive(window)' returned FALSE. ()
         Loc: [/home/mitch/dev/qt-6.9/qtdeclarative/tests/auto/quickcontrols/qquickmenu/tst_qquickmenu.cpp(3428)]
      PASS   : tst_QQuickMenu::FluentWinUI3::cleanupTestCase()
      Totals: 91 passed, 2 failed, 3 skipped, 0 blacklisted, 87507ms
      ********* Finished testing of tst_QQuickMenu *********
      

      Attachments

        Issue Links

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

          Activity

            People

              qt.team.quick.subscriptions Qt Quick and Widgets Team
              mitch_curtis Mitch Curtis
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes