Range of scroll bar should be improved #5530

Open
opened 2026-01-31 00:15:33 +00:00 by claunia · 0 comments
Owner

Originally created by @kernelbin on GitHub (Dec 12, 2019).

Originally assigned to: @DHowett-MSFT on GitHub.

Description of the new feature/enhancement

The way scroll bar working now may bring some inconvenience.
Like this situation:
新建位图图像
1576175508(1)

I often do this when I got too much windows opened.
The problem is....
I can't scroll the window (scroll bar have already reached it's bottom), and I can't see the content below ( I cricled it by red pen in the following picture )
I even can't see the command i'm typing now. really terrible....

新建位图图像2

but traditional cmd doesn't have this problem (in fact it have, but in most case I won't output so many text that use up the whole buffer, by default, 9001 line. )
1576175662(1)

Proposed technical implementation details (optional)

I think the way Visual Studio Text Editor work is better. (Extend the scroll bar range, so that the last line can be shown on the top of the window)
like this:

So even if I move half of the window out of the working area, I can still work without resize the window.

1576176419(1)

Just simply calculate the windows height divided by the height per line, and add it to the scroll range.

Originally created by @kernelbin on GitHub (Dec 12, 2019). Originally assigned to: @DHowett-MSFT on GitHub. <!-- 🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨 I ACKNOWLEDGE THE FOLLOWING BEFORE PROCEEDING: 1. If I delete this entire template and go my own path, the core team may close my issue without further explanation or engagement. 2. If I list multiple bugs/concerns in this one issue, the core team may close my issue without further explanation or engagement. 3. If I write an issue that has many duplicates, the core team may close my issue without further explanation or engagement (and without necessarily spending time to find the exact duplicate ID number). 4. If I leave the title incomplete when filing the issue, the core team may close my issue without further explanation or engagement. 5. If I file something completely blank in the body, the core team may close my issue without further explanation or engagement. All good? Then proceed! --> # Description of the new feature/enhancement <!-- A clear and concise description of what the problem is that the new feature would solve. Describe why and how a user would use this new functionality (if applicable). --> The way scroll bar working now may bring some inconvenience. Like this situation: ![新建位图图像](https://user-images.githubusercontent.com/25586021/70738855-8b4eae00-1d50-11ea-99db-78bb278cad24.jpg) ![1576175508(1)](https://user-images.githubusercontent.com/25586021/70738956-bf29d380-1d50-11ea-8f3b-d6e80f9488da.png) I often do this when I got too much windows opened. The problem is.... I can't scroll the window (scroll bar have already reached it's bottom), and I can't see the content below ( I cricled it by red pen in the following picture ) I even can't see the command i'm typing now. really terrible.... ![新建位图图像2](https://user-images.githubusercontent.com/25586021/70739436-d4ebc880-1d51-11ea-8515-0c22510ceb40.jpg) but traditional cmd doesn't have this problem (in fact it have, but in most case I won't output so many text that use up the whole buffer, by default, 9001 line. ) ![1576175662(1)](https://user-images.githubusercontent.com/25586021/70739789-9c98ba00-1d52-11ea-8c80-95068591754e.png) # Proposed technical implementation details (optional) I think the way Visual Studio Text Editor work is better. (Extend the scroll bar range, so that the last line can be shown on the top of the window) like this: So even if I move half of the window out of the working area, I can still work without resize the window. ![1576176419(1)](https://user-images.githubusercontent.com/25586021/70739949-f13c3500-1d52-11ea-92c0-14c70ac95b9b.png) Just simply calculate the windows height divided by the height per line, and add it to the scroll range. <!-- A clear and concise description of what you want to happen. -->
claunia added the Issue-FeatureNeeds-Tag-FixResolution-Won't-Fix labels 2026-01-31 00:15:33 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#5530