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

tst_qquickmenu fails on Android

    XMLWordPrintable

Details

    • Android
    • e262296409 (qt/qtdeclarative/dev) e262296409 (qt/tqtc-qtdeclarative/dev) 784a9b604c (qt/qtdeclarative/6.3) 784a9b604c (qt/tqtc-qtdeclarative/6.3) 784a9b604c (qt/tqtc-qtdeclarative/6.3.1) a0f9220057 (qt/tqtc-qtdeclarative/6.2)

    Description

      tst_qquickmenu fails on Android, the same cases apply for Fusion, Imagine and Material.

      1: ********* Start testing of tst_QQuickMenu *********
      1: Config: Using QtTest library 6.3.0, Qt 6.3.0 (i386-little_endian-ilp32 shared (dynamic) debug build; by Clang 11.0.5 (https://android.googlesource.com/toolchain/llvm-project 87f1315dfbea7c137aa2e6d362dbb457e388158d)), android 11.0
      1: PASS   : tst_QQuickMenu::Basic::initTestCase()
      1: PASS   : tst_QQuickMenu::Basic::defaults()
      1: PASS   : tst_QQuickMenu::Basic::count()
      1: FAIL!  : tst_QQuickMenu::Basic::mouse() Compared values are not the same
      1:    Actual   (menu->currentIndex()): 0
      1:    Expected (-1)                  : -1
      1:    Loc: [/Users/assam/sources/qt6/qt6/qtdeclarative/tests/auto/quickcontrols2/qquickmenu/tst_qquickmenu.cpp(193)]
      1: PASS   : tst_QQuickMenu::Basic::pressAndHold()
      1: FAIL!  : tst_QQuickMenu::Basic::contextMenuKeyboard() '!secondItem->isHighlighted()' returned FALSE. ()
      1:    Loc: [/Users/assam/sources/qt6/qt6/qtdeclarative/tests/auto/quickcontrols2/qquickmenu/tst_qquickmenu.cpp(343)]
      1: PASS   : tst_QQuickMenu::Basic::disabledMenuItemKeyNavigation()
      1: PASS   : tst_QQuickMenu::Basic::mnemonics()
      1: PASS   : tst_QQuickMenu::Basic::menuButton()
      1: PASS   : tst_QQuickMenu::Basic::addItem()
      1: FAIL!  : tst_QQuickMenu::Basic::menuSeparator() 'newMenuItem->hasActiveFocus()' returned FALSE. ()
      1:    Loc: [/Users/assam/sources/qt6/qt6/qtdeclarative/tests/auto/quickcontrols2/qquickmenu/tst_qquickmenu.cpp(684)]
      1: PASS   : tst_QQuickMenu::Basic::repeater()
      1: PASS   : tst_QQuickMenu::Basic::order()
      1: FAIL!  : tst_QQuickMenu::Basic::popup() Compared values are not the same
      1:    Actual   (((QCursor::pos()))): QPoint(100,73)
      1:    Expected (cursorPos)         : QPoint(11,22)
      1:    Loc: [/Users/assam/sources/qt6/qt6/qtdeclarative/tests/auto/quickcontrols2/qquickmenu/tst_qquickmenu.cpp(805)]
      1: PASS   : tst_QQuickMenu::Basic::actions()
      1: PASS   : tst_QQuickMenu::Basic::removeTakeItem()
      1: FAIL!  : tst_QQuickMenu::Basic::subMenuMouse(cascading) '(subSubMenu1->isVisible())' returned FALSE. ()
      1:    Loc: [/Users/assam/sources/qt6/qt6/qtdeclarative/tests/auto/quickcontrols2/qquickmenu/tst_qquickmenu.cpp(1112)]
      1: PASS   : tst_QQuickMenu::Basic::subMenuMouse(non-cascading)
      1: PASS   : tst_QQuickMenu::Basic::subMenuDisabledMouse(cascading)
      1: PASS   : tst_QQuickMenu::Basic::subMenuDisabledMouse(non-cascading)
      1: PASS   : tst_QQuickMenu::Basic::subMenuKeyboard(cascading)
      1: PASS   : tst_QQuickMenu::Basic::subMenuKeyboard(cascading,mirrored)
      1: PASS   : tst_QQuickMenu::Basic::subMenuKeyboard(non-cascading)
      1: PASS   : tst_QQuickMenu::Basic::subMenuKeyboard(non-cascading,mirrored)
      1: PASS   : tst_QQuickMenu::Basic::subMenuDisabledKeyboard(cascading)
      1: PASS   : tst_QQuickMenu::Basic::subMenuDisabledKeyboard(cascading,mirrored)
      1: PASS   : tst_QQuickMenu::Basic::subMenuDisabledKeyboard(non-cascading)
      1: PASS   : tst_QQuickMenu::Basic::subMenuDisabledKeyboard(non-cascading,mirrored)
      1: FAIL!  : tst_QQuickMenu::Basic::subMenuPosition(cascading) Compared floats are not the same (fuzzy compare)
      1:    Actual   (float(subSubMenu1->popupItem()->x()))                           : 0
      1:    Expected (float(subMenu1->popupItem()->x() + subMenu1->width() - overlap)): 400
      1:    Loc: [/Users/assam/sources/qt6/qt6/qtdeclarative/tests/auto/quickcontrols2/qquickmenu/tst_qquickmenu.cpp(1558)]
      1: PASS   : tst_QQuickMenu::Basic::subMenuPosition(cascading,flip)
      1: FAIL!  : tst_QQuickMenu::Basic::subMenuPosition(cascading,overlap) Compared floats are not the same (fuzzy compare)
      1:    Actual   (float(subSubMenu1->popupItem()->x()))                           : 0
      1:    Expected (float(subMenu1->popupItem()->x() + subMenu1->width() - overlap)): 380
      1:    Loc: [/Users/assam/sources/qt6/qt6/qtdeclarative/tests/auto/quickcontrols2/qquickmenu/tst_qquickmenu.cpp(1558)]
      1: PASS   : tst_QQuickMenu::Basic::subMenuPosition(cascading,flip,overlap)
      1: FAIL!  : tst_QQuickMenu::Basic::subMenuPosition(cascading,mirrored) Compared floats are not the same (fuzzy compare)
      1:    Actual   (float(subSubMenu1->popupItem()->x()))                              : 211
      1:    Expected (float(subMenu1->popupItem()->x() - subSubMenu1->width() + overlap)): -189
      1:    Loc: [/Users/assam/sources/qt6/qt6/qtdeclarative/tests/auto/quickcontrols2/qquickmenu/tst_qquickmenu.cpp(1555)]
      1: PASS   : tst_QQuickMenu::Basic::subMenuPosition(cascading,mirrored,flip)
      1: FAIL!  : tst_QQuickMenu::Basic::subMenuPosition(cascading,mirrored,overlap) Compared floats are not the same (fuzzy compare)
      1:    Actual   (float(subSubMenu1->popupItem()->x()))                              : 211
      1:    Expected (float(subMenu1->popupItem()->x() - subSubMenu1->width() + overlap)): -169
      1:    Loc: [/Users/assam/sources/qt6/qt6/qtdeclarative/tests/auto/quickcontrols2/qquickmenu/tst_qquickmenu.cpp(1555)]
      1: PASS   : tst_QQuickMenu::Basic::subMenuPosition(cascading,mirrored,flip,overlap)
      1: PASS   : tst_QQuickMenu::Basic::subMenuPosition(non-cascading)
      1: PASS   : tst_QQuickMenu::Basic::addRemoveSubMenus()
      1: PASS   : tst_QQuickMenu::Basic::scrollable(Window)
      1: PASS   : tst_QQuickMenu::Basic::scrollable(ApplicationWindow)
      1: FAIL!  : tst_QQuickMenu::Basic::scrollable(WithPadding) Compared values are not the same
      1:    Actual   (contentItem->property("interactive").toBool()): 0
      1:    Expected (true)                                         : 1
      1:    Loc: [/Users/assam/sources/qt6/qt6/qtdeclarative/tests/auto/quickcontrols2/qquickmenu/tst_qquickmenu.cpp(1655)]
      1: SKIP   : tst_QQuickMenu::Basic::disableWhenTriggered(Action) Fails
      1:    Loc: [/Users/assam/sources/qt6/qt6/qtdeclarative/tests/auto/quickcontrols2/qquickmenu/tst_qquickmenu.cpp(1677)]
      1: SKIP   : tst_QQuickMenu::Basic::disableWhenTriggered(MenuItem with Action) Fails
      1:    Loc: [/Users/assam/sources/qt6/qt6/qtdeclarative/tests/auto/quickcontrols2/qquickmenu/tst_qquickmenu.cpp(1677)]
      1: SKIP   : tst_QQuickMenu::Basic::disableWhenTriggered(MenuItem with Action declared outside menu) Fails
      1:    Loc: [/Users/assam/sources/qt6/qt6/qtdeclarative/tests/auto/quickcontrols2/qquickmenu/tst_qquickmenu.cpp(1677)]
      1: SKIP   : tst_QQuickMenu::Basic::disableWhenTriggered(MenuItem with no Action) Fails
      1:    Loc: [/Users/assam/sources/qt6/qt6/qtdeclarative/tests/auto/quickcontrols2/qquickmenu/tst_qquickmenu.cpp(1677)]
      1: SKIP   : tst_QQuickMenu::Basic::disableWhenTriggered(Sub-Action) Fails
      1:    Loc: [/Users/assam/sources/qt6/qt6/qtdeclarative/tests/auto/quickcontrols2/qquickmenu/tst_qquickmenu.cpp(1677)]
      1: SKIP   : tst_QQuickMenu::Basic::disableWhenTriggered(Sub-MenuItem with Action declared inside) Fails
      1:    Loc: [/Users/assam/sources/qt6/qt6/qtdeclarative/tests/auto/quickcontrols2/qquickmenu/tst_qquickmenu.cpp(1677)]
      1: SKIP   : tst_QQuickMenu::Basic::disableWhenTriggered(Sub-MenuItem with Action declared outside menu) Fails
      1:    Loc: [/Users/assam/sources/qt6/qt6/qtdeclarative/tests/auto/quickcontrols2/qquickmenu/tst_qquickmenu.cpp(1677)]
      1: SKIP   : tst_QQuickMenu::Basic::disableWhenTriggered(Sub-MenuItem with no Action) Fails
      1:    Loc: [/Users/assam/sources/qt6/qt6/qtdeclarative/tests/auto/quickcontrols2/qquickmenu/tst_qquickmenu.cpp(1677)]
      1: PASS   : tst_QQuickMenu::Basic::menuItemWidth(non-mirrored)
      1: PASS   : tst_QQuickMenu::Basic::menuItemWidth(mirrored)
      1: PASS   : tst_QQuickMenu::Basic::menuItemWidthAfterMenuWidthChanged(non-mirrored)
      1: PASS   : tst_QQuickMenu::Basic::menuItemWidthAfterMenuWidthChanged(mirrored)
      1: PASS   : tst_QQuickMenu::Basic::menuItemWidthAfterImplicitWidthChanged(non-mirrored)
      1: PASS   : tst_QQuickMenu::Basic::menuItemWidthAfterImplicitWidthChanged(mirrored)
      1: PASS   : tst_QQuickMenu::Basic::menuItemWidthAfterRetranslate()
      1: PASS   : tst_QQuickMenu::Basic::giveMenuItemFocusOnButtonPress()
      1: PASS   : tst_QQuickMenu::Basic::cleanupTestCase()
      

      Attachments

        Issue Links

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

          Activity

            People

              ivan.solovev Ivan Solovev
              assam Assam Boudjelthia
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes