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

tst_QQuickListView::sectionsDelegate() sometimes fails

    XMLWordPrintable

Details

    • 464ff857641211e7e4794a1b711a2ecc77594887

    Description

          FAIL!  : tst_QQuickListView::sectionsDelegate() Compared doubles are not the same (fuzzy compare)
             Actual (listview->contentY()): -2.21032
             Expected (0.0): 0
             Loc: [tst_qquicklistview.cpp(1915)]
      

      It's failing in the last line of this bit of code:

          // ensure section header is maintained in view
          listview->setCurrentIndex(20);
          QTRY_VERIFY(listview->contentY() >= 200.0);
          listview->setCurrentIndex(0);
          QTRY_COMPARE(listview->contentY(), 0.0);
      

      Attachments

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

        Activity

          People

            Unassigned Unassigned
            bealam Bea Lam (closed Nokia identity) (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes