qt5base-lts/tests/auto
Volker Hilsheimer dfb4697e4a QAbstractItemView: with single selection, deselect on Ctrl+Release
After cbf1b4bc60bca3994b8f8685ee922e53a6b4eed2 the selected item got
deselected on Ctrl+Press, which made Ctrl+dragging a selected item
impossible.

Only deselect on Ctrl+Release. Add scenario to existing test case,
and update the documentation to clarify the properties involved, and
to point out that the event parameter might be nullptr.

Fixes: QTBUG-101647
Pick-to: 6.3 6.2
Change-Id: I749b1cb1a0a311f5c1d4c333984716f05f2c90b5
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
Reviewed-by: Volker Enderlein <volker.enderlein@ifm-chemnitz.de>
Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
2022-03-24 00:42:00 +01:00
..
bic/data Add BC files for 6.2.0 2022-01-07 13:31:38 +00:00
cmake CMake: Add deployment auto test 2022-03-16 15:56:17 +01:00
concurrent Tests: Do not depend on transitive includes 2022-03-17 17:14:37 +01:00
corelib QProperty: Allow manual scheduling of binding notification 2022-03-21 20:41:23 +01:00
dbus tests: Remove unused SRCDIR defines 2021-08-17 12:41:57 +00:00
gui Android: don't QEXPECT_FAIL in tst_QTextDocument::task240325() 2022-03-23 18:22:06 +00:00
guiapplauncher Move QStateMachine from QtCore to QtScxml 2020-08-24 20:10:25 +02:00
network tst_QLocalSocket: Add helper to dependencies 2022-03-23 21:19:35 +00:00
opengl Remove the qmake project files 2021-01-07 15:32:28 +01:00
other Tests: Do not depend on transitive includes 2022-03-17 17:14:37 +01:00
printsupport QtBase: replace windows.h with qt_windows.h 2021-11-23 12:53:46 +08:00
shared Remove false Q_UNREACHABLE from shaping code 2021-02-03 09:44:44 +01:00
sql Deprecate {QString, QByteArray}::count() 2022-03-12 01:05:45 +01:00
testlib Avoid duplicate descriptions in TAP's incident YAML 2022-03-22 17:43:13 +01:00
tools uic: use C string literals for setObjectName() 2022-03-18 18:35:03 +01:00
widgets QAbstractItemView: with single selection, deselect on Ctrl+Release 2022-03-24 00:42:00 +01:00
xml Activate tst_qdom for Android 2022-02-22 17:22:58 +01:00
CMakeLists.txt Don't build tests/auto/tools when cross-compiling 2021-10-07 08:03:40 +02:00
network-settings.h Fix check for IPV6 support without certain features 2022-02-28 22:08:21 +00:00