Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-32264

Wrong text cursor movement

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P3: Somewhat important P3: Somewhat important
    • None
    • 4.8.1, 5.0.0, 5.1.0
    • GUI: Text handling
    • Ubuntu 12.04 64 bit

      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>
      

        For Gerrit Dashboard: QTBUG-32264
        # Subject Branch Project Status CR V

            esabraha Eskil Abrahamsen Blomfeldt
            rlohning Robert Löhning
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes