Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-19550

Editor split scrolls to end of file when inserting one line in another split

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4: Low
    • Resolution: Done
    • Affects Version/s: Qt Creator 4.5.1
    • Fix Version/s: Qt Creator 4.6.0-beta1
    • Component/s: Editors
    • Environment:
      Windows 10 1709 64 bit
      MSVC 2015 64 bit
      Qt 5.9.3, 5.10.0
    • Commits:
      30d733a2e1a4d09c7f85b1d5fb840b71a9972295

      Description

      1. Open a source file.
      2. Move the cursor to the middle of the file.
      3. Press Ctrl+E,2 to split the editor.
      4. Press Ctrl+Home to jump to the beginning of the file.
      5. Press Enter to insert a new line.
        In the moment this line is inserted in the one split, the other split scrolls to the end of the file.
      6. Press Ctrl+E,0 to close the current split.
      7. Press an error key to move the cursor.
        The editor scrolls back to the middle of the file because the cursor stayed there all the time.

      An editor split should not move when doing anything in another split. An editor split should not scroll to a location other than the cursor's position (unless the user requested it).

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            • Assignee:
              davschul David Schulz
              Reporter:
              rlohning Robert Löhning
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Gerrit Reviews

                There are no open Gerrit changes