Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-21321 XCB/QPA support is not finished yet
  3. QTBUG-20956

tst_QListView::taskQTBUG_2233_scrollHiddenItems fails on qpa, xcb

    XMLWordPrintable

Details

    • Sub-task
    • Resolution: Cannot Reproduce
    • P2: Important
    • None
    • Widgets: Itemviews
    • None
    • qtbase 7465b55d9c1c8586da7384fbf97604ed020a4fd3
      Qt configured with -qpa and using QT_QPA_PLATFORM=xcb
      Ubuntu 10.04 32-bit x86

    Description

      tst_QListView::taskQTBUG_2233_scrollHiddenItems fails using qpa with xcb backend.

      qt@bq-ubuntu1004-x86-37:~/rmcgover/qtbase/qt/qtbase/tests/auto/qlistview$ make check
      ./tst_qlistview 
      
      Information of screen 258:
        width.........: 800
        height........: 600
        depth.........: 24
        white pixel...: ffffff
        black pixel...: 0
      
      Running window manager: KWin
      ********* Start testing of tst_QListView *********
      Config: Using QTest library 5.0.0, Qt 5.0.0
      PASS   : tst_QListView::initTestCase()
      PASS   : tst_QListView::getSetCheck()
      created regular window: 62914562
      PASS   : tst_QListView::noDelegate()
      created regular window: 62914565
      PASS   : tst_QListView::noModel()
      created regular window: 62914568
      PASS   : tst_QListView::emptyModel()
      created regular window: 62914571
      PASS   : tst_QListView::removeRows()
      created regular window: 62914574
      PASS   : tst_QListView::cursorMove()
      created regular window: 62914578
      PASS   : tst_QListView::hideRows()
      PASS   : tst_QListView::moveCursor()
      created regular window: 62914581
      PASS   : tst_QListView::moveCursor2()
      PASS   : tst_QListView::moveCursor3()
      created regular window: 62914585
      PASS   : tst_QListView::indexAt()
      created regular window: 62914589
      PASS   : tst_QListView::clicked()
      created regular window: 62914594
      PASS   : tst_QListView::singleSelectionRemoveRow()
      created regular window: 62914597
      PASS   : tst_QListView::singleSelectionRemoveColumn()
      created regular window: 62914600
      PASS   : tst_QListView::modelColumn()
      created regular window: 62914603
      PASS   : tst_QListView::hideFirstRow()
      created regular window: 62914607
      PASS   : tst_QListView::batchedMode()
      created regular window: 62914611
      PASS   : tst_QListView::setCurrentIndex()
      created regular window: 62914615
      created regular window: 62914619
      created regular window: 62914623
      created regular window: 62914627
      created regular window: 62914631
      created regular window: 62914635
      created regular window: 62914639
      created regular window: 62914643
      created regular window: 62914647
      created regular window: 62914651
      created regular window: 62914655
      created regular window: 62914659
      PASS   : tst_QListView::selection()
      created regular window: 62914663
      PASS   : tst_QListView::scrollTo()
      created regular window: 62914667
      PASS   : tst_QListView::scrollBarRanges()
      created regular window: 62914671
      created regular window: 62914675
      created regular window: 62914679
      created regular window: 62914683
      created regular window: 62914687
      created regular window: 62914691
      PASS   : tst_QListView::scrollBarAsNeeded()
      PASS   : tst_QListView::moveItems()
      created regular window: 62914695
      PASS   : tst_QListView::wordWrap()
      SKIP   : tst_QListView::setCurrentIndexAfterAppendRowCrash() This test only makes sense on windows 2000 and higher.
         Loc: [tst_qlistview.cpp(1496)]
      PASS   : tst_QListView::emptyItemSize()
      PASS   : tst_QListView::task203585_selectAll()
      created regular window: 62914699
      PASS   : tst_QListView::task228566_infiniteRelayout()
      created regular window: 62914703
      PASS   : tst_QListView::task248430_crashWith0SizedItem()
      created regular window: 62914707
      PASS   : tst_QListView::task250446_scrollChanged()
      PASS   : tst_QListView::task196118_visualRegionForSelection()
      created regular window: 62914711
      PASS   : tst_QListView::task254449_draggingItemToNegativeCoordinates()
      created regular window: 62914715
      PASS   : tst_QListView::keyboardSearch()
      created regular window: 62914719
      created regular window: 62914723
      PASS   : tst_QListView::shiftSelectionWithNonUniformItemSizes()
      PASS   : tst_QListView::clickOnViewportClearsSelection()
      created regular window: 62914727
      PASS   : tst_QListView::task262152_setModelColumnNavigate()
      created regular window: 62914731
      created regular window: 62914735
      FAIL!  : tst_QListView::taskQTBUG_2233_scrollHiddenItems(LeftToRight) Compared values are not the same
         Actual (bar->maximum()): 48
         Expected (rowCount/4 - nbVisibleItem): 49
         Loc: [tst_qlistview.cpp(1864)]
      created regular window: 62914739
      PASS   : tst_QListView::taskQTBUG_633_changeModelData()
      PASS   : tst_QListView::taskQTBUG_435_deselectOnViewportClick()
      created regular window: 62914743
      PASS   : tst_QListView::taskQTBUG_2678_spacingAndWrappedText()
      created regular window: 62914747
      PASS   : tst_QListView::taskQTBUG_5877_skippingItemInPageDownUp()
      created regular window: 62914751
      PASS   : tst_QListView::taskQTBUG_9455_wrongScrollbarRanges()
      created regular window: 62914755
      PASS   : tst_QListView::styleOptionViewItem()
      created regular window: 62914759
      PASS   : tst_QListView::taskQTBUG_12308_artihmeticException()
      created regular window: 62914763
      PASS   : tst_QListView::taskQTBUG_12308_wrongFlowLayout()
      PASS   : tst_QListView::cleanupTestCase()
      Totals: 45 passed, 1 failed, 1 skipped
      ********* Finished testing of tst_QListView *********
      make: *** [check] Error 1
      

      A test log is also visible at http://pulse.test.qt.nokia.com:8080/file/artifacts/127683953/_artifacts/test-logs/tst_qlistview-00.txt (Nokia LAN). The failure appears to be stable.

      Attachments

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

        Activity

          People

            Unassigned Unassigned
            rmcgover Rohan McGovern (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes