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

Wrong text cursor movement

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: P3: Somewhat important
    • Resolution: Unresolved
    • Affects Version/s: 4.8.1, 5.0.0, 5.1.0
    • Fix Version/s: None
    • Component/s: GUI: Text handling
    • Labels:
    • Environment:
      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

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

            Activity

              People

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

                Dates

                Created:
                Updated:

                  Gerrit Reviews

                  There are no open Gerrit changes