Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
4.8.1, 5.0.0, 5.1.0
-
Ubuntu 12.04 64 bit
Description
See the description at QTCREATORBUG-7215. The same bug which was in Qt 4.8.1 is also present in 5.0 and 5.1.
It was introduced with a failed fix to QTBUG-22853:
1b031759ddfdab9703dfecac13f1ed318da3dafe is the first bad commit commit 1b031759ddfdab9703dfecac13f1ed318da3dafe Author: Pasi Matilainen <pasi.matilainen@digia.com> Date: Mon Jan 16 09:10:18 2012 +0200 QTextEdit cursor position fix when moving left/right with selection When text has been selected in a QTextEdit and the left or right arrow key is pressed, the cursor moves one character beyond the start or end of the selection, when it shouldn't move past the selection. Fixed by moving the cursor to the right place when a selection is active. Task-number: QTBUG-22853 Change-Id: I9ea1863436db98627a6fd041ce554cf10be26493 Reviewed-by: Jiang Jiang <jiang.jiang@nokia.com>
Attachments
Issue Links
- resulted from
-
QTBUG-22853 QTextEdit cursor position with left/right arrow key
-
- Closed
-
- resulted in
-
QTCREATORBUG-7215 Regression: Wrong text cursor movement when running on Qt 4.8.1
-
- Closed
-
Gerrit Reviews
For Gerrit Dashboard: QTBUG-32264 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
60605,1 | Restored native behavior when moving cursor from selection | stable | qt/qtbase | Status: ABANDONED | -1 | 0 |