qt5base-lts/tests/auto
Volker Hilsheimer b1fdcc8c0f QAbstractItemView: block autoScroll from interfering with QScroller
When pressing an index in order to start a flick gesture, QAIV sets
the current index. When QScroller changes state to Dragging, then
QAIV restores the current index to what it was before the press, as
the user is clearly scrolling the view. With autoScroll enabled, this
will produce an ugly jump if the old current index is no longer in
the viewport.

To prevent this, disable autoScroll before restoring the currentIndex.

Fixes: QTBUG-64543
Pick-to: 6.2 6.1 5.15
Change-Id: I3e0a18a6a179d80b9d810fce5aa658f0cfff9a29
Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
2021-06-09 18:19:15 +02:00
..
bic/data Add binary compatibility files for Qt 6.0.0 2021-04-08 06:34:13 +00:00
cmake Remove CMake compatibility functions for old API 2021-06-04 14:27:20 +02:00
concurrent Fix gcc warnings from having only one of assignment/copy 2021-04-11 19:53:51 +02:00
corelib normalizeTypeFromSignature: Beware of anonymous struct/union 2021-06-08 15:37:38 +02:00
dbus Port QDBusServiceWatcher::watchedServices to bindable properties 2021-04-28 16:59:53 +02:00
gui rhi: Enable reading back slices of 3D textures 2021-06-03 17:05:44 +02:00
guiapplauncher Move QStateMachine from QtCore to QtScxml 2020-08-24 20:10:25 +02:00
network tst_QNetworkReply::ignoreSslErrorsList, use the right error 2021-06-08 16:17:23 +02:00
opengl Remove the qmake project files 2021-01-07 15:32:28 +01:00
other Introduce float QImage formats and rendering 2021-05-26 18:00:01 +02:00
printsupport Remove the qmake project files 2021-01-07 15:32:28 +01:00
shared Remove false Q_UNREACHABLE from shaping code 2021-02-03 09:44:44 +01:00
sql QSqlTableModel::orderByClause(): Quote the table name 2021-05-03 14:10:36 +00:00
testlib QTestlib: Add formatting for QObject * in QCOMPARE 2021-05-26 11:02:48 +00:00
tools moc: Add relative property index to JSON output of PropertyDef 2021-06-02 19:03:45 +02:00
widgets QAbstractItemView: block autoScroll from interfering with QScroller 2021-06-09 18:19:15 +02:00
xml tst_qdom: clean-up the code enabled only before Qt 6 2021-01-15 15:22:08 +01:00
CMakeLists.txt CMake: Build minimal subset of tests in desktop static builds 2021-04-06 09:15:37 +01:00
network-settings.h Replace QtTest headers with QTest 2020-12-22 15:20:30 +01:00