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

Editor Scrollbug / Scrollbuffer Miscomputation

    XMLWordPrintable

Details

    • Linux/Wayland, Linux/X11

    Description

      The titel might not be accurate, as it is hard to describe. I've attached a video that describes best what is going on. What follows here is a textual description of what is visible in the video:

      This occurs frequently when editing moderately sized code files (few hundred LOC). Usually after running ClangFormat (with each save) the current sourceview jumps to a random location within the current file. Additionally scrolling down will cause the view to clamp to the top of the file (as seen in the video).

      After resizing the current view the scrollsize updates properly and the issue is resolved. This is very bothersome, however there is currently no way of reproducing it deterministically.

      So far this has occured on versions of QTCreator from 4.10.1 to 4.11.2 on several machines.

       

      If you require any additional information, please let me know.

      Thanks in advance.

      Attachments

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

        Activity

          People

            Unassigned Unassigned
            sln Z S
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes