Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
5.6
-
None
-
OS X
-
15a76e571926b94de74caa536975327949a14fd7
Description
I have application-wide shortcuts defined for "Qt::CTRL + Qt::Key_Left" and "Qt::CTRL + Qt::Key_Right". On OS X, this means command-left and command-right.
When a QLineEdit has focus: command-left triggers the shortcut, while command-right triggers the QLineEdit's behaviour of moving to the end of the line. Command-left should move the cursor to the start of the line.
This problem is due to a bug in QWidgetLineControl::processShortcutOverrideEvent. QKeySequence::MoveToStartOfLine is accidentally omitted from the list. MoveToEndOfLine is there, but MoveToStartOfLine is conspicuously absent.