Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
6.3.0
-
None
-
-
67e3908e42419c99bc1280fa98db79b625abfad0 (qt/qtdeclarative/dev) d10def5a2ba96fde75257aa178ebf222a31b7ea2 (qt/qtdeclarative/6.2)
Description
Building and running tests from git/dev (as of d00c76171de0c76794eb70a7284326332c0b3c66), this test is failing in one of the four cases (test rows), for – arguably – the most popular direction for a ListView: VerticalTopToBottom.
PASS : tst_QQuickListView2::dragDelegateWithMouseArea(LeftToRight) PASS : tst_QQuickListView2::dragDelegateWithMouseArea(RightToLeft) FAIL! : tst_QQuickListView2::dragDelegateWithMouseArea(VerticalTopToBottom) Compared doubles are not the same (fuzzy compare) Actual (contentPosition()) : -13 Expected (expectedContentPosition): -20 Loc: [/home/ratijas/projects/q/qt6/qtdeclarative/tests/auto/quick/qquicklistview2/tst_qquicklistview2.cpp(165)] PASS : tst_QQuickListView2::dragDelegateWithMouseArea(VerticalBottomToTop)
I spent several hours trying to figure it out, but I couldn't. I'd like to point out that the testing code itself is pretty complicated (with all that drag handler helper whatever), and probably requires testing on its own.