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

Editor not scrolling to end of file when moving folded lines

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • Qt Creator 4.8.0
    • Editors
    • None
    • Windows

    Description

      I have a struct that is declared in the private: section of a class.

      I want to move it to the public: area.

      Therefore I fold the struct using the little triangle in the left bar of the editor:

      becomes:

      As you can see, the end of the document is visible and the vertical scrollbar is at the lower end.

      Now I select the folded struct:

      and use the CTRL + Shift + CursorUp to move the selection up to the public: area.

      After pressing the first CursorUp the folded struct is unfolded BEYOND the lower border of the editor, as it needs more lines than visible at this moment.
      But at the same time the vertical scrollbar does not reflect, that the document has lines beyond the lower border: The visible area indicator is still at the lower border:

      If I scroll down just with the cursor, I can leave the visible area without any scrolling of the editor. There seems to be no way to scroll any further down to see the lines at the end of the file.

      I have to close and reopen the file to be able to scroll through the document again.

      Attachments

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

        Activity

          People

            davschul David Schulz
            moellney Michael Möllney
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes