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

Cursor location and other indicators within scrollbar is incorrect

XMLWordPrintable

    • 4165d1605380e9ad15f3ddbf7c96151fd174ff34 (qt-creator/qt-creator/4.11)

      I have a file that is 1301 lines long.

      When I go to the top of the file, the scroll bar (on the right side) will move to the top.

      When I click on a line within the displayed split, I see a black horizontal bar appear within the scroll bar indicating the relative location of the cursor within the display. Below is a picture of the black bar approximately in the middle of the scroll bar:

       

      When I move to line 1227, line 1227 is in the middle of the split and I see the following. Notice that the black bar is outside the scroll bar. Since the line is in the middle of the split, I would expect the black bar to be in the middle of the scroll bar.

       

      If I move the scroll bar to the bottom, line 1227 scrolls up and is approx 25% down from the top of the split (since the file end is line 1301). I think the correct behavior is that the black bar should be 25% down the scroll bar.

       

      If I move the cursor to line 1228, the black bar disappears:

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

            davschul David Schulz
            harjits Harjit Singh
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes