qt6-bb10/tests/auto/widgets/widgets
Johannes Grunenberg 1d953b2fbc QLineEdit: Use existing selection when deleting a word
When using QKeySequence::DeleteEndOfWord or
QKeySequence::DeleteStartOfWord in a QLineEdit with an existing
selection, the selection was ignored which resulted in unexpected
behavior (see bugreport). This is fixed by only setting the selection
if none exists yet.
To prevent an entry in the history when the input is empty, the
selection is checked before calling del().

Fixes: QTBUG-120006
Pick-to: 6.7 6.6 6.5
Change-Id: I2e803c5eff1f0e289e93a77c58ecd78299241da7
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
2023-12-14 19:25:16 +00:00
..
qabstractbutton CMake: Make widgets tests standalone projects 2023-07-05 15:09:32 +02:00
qabstractscrollarea QAbstractScrollArea: Don't include size of invisible scrollbars 2023-07-11 01:34:19 +02:00
qabstractslider CMake: Make widgets tests standalone projects 2023-07-05 15:09:32 +02:00
qabstractspinbox CMake: Make widgets tests standalone projects 2023-07-05 15:09:32 +02:00
qbuttongroup CMake: Make widgets tests standalone projects 2023-07-05 15:09:32 +02:00
qcalendarwidget CMake: Make widgets tests standalone projects 2023-07-05 15:09:32 +02:00
qcheckbox QCheckBox: Don't emit checkStateChanged when nothing changed 2023-11-08 11:11:48 +01:00
qcombobox QComboBox: don't eat non-printable key strokes 2023-11-23 10:33:28 +00:00
qcommandlinkbutton CMake: Make widgets tests standalone projects 2023-07-05 15:09:32 +02:00
qdatetimeedit Suppress deprecation warnings in test of QDTE::timeSpec property 2023-10-26 16:57:01 +02:00
qdial QDial: don't crash when min==max and setting a value != min & max 2023-11-12 23:45:30 +01:00
qdialogbuttonbox Explicitly focus automatic default button in QDialogButtonBox inside dialog 2023-10-26 00:14:33 +02:00
qdockwidget QDockWidget: Fix group unplugging 2023-11-18 20:48:44 +01:00
qdoublespinbox CMake: Make widgets tests standalone projects 2023-07-05 15:09:32 +02:00
qfocusframe CMake: Make widgets tests standalone projects 2023-07-05 15:09:32 +02:00
qfontcombobox CMake: Make widgets tests standalone projects 2023-07-05 15:09:32 +02:00
qframe CMake: Make widgets tests standalone projects 2023-07-05 15:09:32 +02:00
qgroupbox tst_QGroupBox: port away from Q_FOREACH 2023-08-07 21:56:10 +00:00
qkeysequenceedit CMake: Make widgets tests standalone projects 2023-07-05 15:09:32 +02:00
qlabel CMake: Make widgets tests standalone projects 2023-07-05 15:09:32 +02:00
qlcdnumber CMake: Make widgets tests standalone projects 2023-07-05 15:09:32 +02:00
qlineedit QLineEdit: Use existing selection when deleting a word 2023-12-14 19:25:16 +00:00
qmainwindow QMainWindow: don't crash when restored state is modified before applied 2023-12-13 15:15:24 +01:00
qmdiarea Tests: remove blacklisted CIs no longer available 2023-12-06 22:07:44 +01:00
qmdisubwindow CMake: Make widgets tests standalone projects 2023-07-05 15:09:32 +02:00
qmenu CMake: Make widgets tests standalone projects 2023-07-05 15:09:32 +02:00
qmenubar Tests: remove blacklisted CIs no longer available 2023-12-06 22:07:44 +01:00
qopenglwidget Tests: remove blacklisted CIs no longer available 2023-12-06 22:07:44 +01:00
qplaintextedit QtWidgets tests: port remaining users away from Q_FOREACH 2023-08-14 23:11:54 +03:00
qprogressbar CMake: Make widgets tests standalone projects 2023-07-05 15:09:32 +02:00
qpushbutton CMake: Make widgets tests standalone projects 2023-07-05 15:09:32 +02:00
qradiobutton CMake: Make widgets tests standalone projects 2023-07-05 15:09:32 +02:00
qrhiwidget Enable QWidget::grab() with QRhiWidget in the widget tree 2023-08-28 21:14:28 +02:00
qscrollarea CMake: Make widgets tests standalone projects 2023-07-05 15:09:32 +02:00
qscrollbar CMake: Make widgets tests standalone projects 2023-07-05 15:09:32 +02:00
qsizegrip CMake: Make widgets tests standalone projects 2023-07-05 15:09:32 +02:00
qslider CMake: Make widgets tests standalone projects 2023-07-05 15:09:32 +02:00
qspinbox Tests: remove blacklisted CIs no longer available 2023-12-06 22:07:44 +01:00
qsplashscreen QSplashScreen: Enforce visibility by processing events 2023-12-14 20:25:16 +01:00
qsplitter tst_QSplitter: fix compiler warning 2023-09-01 00:11:51 +02:00
qstackedwidget CMake: Make widgets tests standalone projects 2023-07-05 15:09:32 +02:00
qstatusbar CMake: Make widgets tests standalone projects 2023-07-05 15:09:32 +02:00
qtabbar QTabBar: properly calc tab positions when changing tab position 2023-12-07 08:41:01 +01:00
qtabwidget QTabWidget/Bar: ignore hidden tabs for key events 2023-11-09 20:57:43 +01:00
qtextbrowser CMake: Make widgets tests standalone projects 2023-07-05 15:09:32 +02:00
qtextedit QtWidgets tests: port remaining users away from Q_FOREACH 2023-08-14 23:11:54 +03:00
qtoolbar CMake: Make widgets tests standalone projects 2023-07-05 15:09:32 +02:00
qtoolbox CMake: Make widgets tests standalone projects 2023-07-05 15:09:32 +02:00
qtoolbutton CMake: Make widgets tests standalone projects 2023-07-05 15:09:32 +02:00
CMakeLists.txt QSplashScreen: Enforce visibility by processing events 2023-12-14 20:25:16 +01:00