Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
5.7.0
-
None
-
Linux
Description
What is wrong:
When a QAction has Ctrl+Backspace as shortcut, it prevents to remove word in QLineEdit.
What is expected:
Ctrl+Backspace deletes word.
Demo is attached:
In line edit Ctrl+Left navigates, but Ctrl+Backspace calls action.
In below item view both calls action.
Proposed solution (not tested):
Add QKeySequence::DeleteEndOfWord (related to http://code.qt.io/cgit/qt/qtbase.git/tree/src/gui/kernel/qplatformtheme.cpp#n314 )
and maybe other ones into list of processed sequences in ( http://code.qt.io/cgit/qt/qtbase.git/tree/src/widgets/widgets/qwidgetlinecontrol.cpp#n1563 )