Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scroll bar indicator shrinks too much with long files. #153

Open
XV-02 opened this issue Mar 6, 2024 · 1 comment
Open

Scroll bar indicator shrinks too much with long files. #153

XV-02 opened this issue Mar 6, 2024 · 1 comment

Comments

@XV-02
Copy link

XV-02 commented Mar 6, 2024

When loading sufficiently long files such as system logs, the vertical scroll bar's position indicator can shrink to a single pixel in height in cosmic-edit (fb151fd).

To test this, I opened the saved output of journalctl in cosmic-edit. In my case this was a 60K+ line file.

Strictly speaking you can arbitrarily click into the scroll bar to move to a position within a document and subsequently drag to scroll without issue. However, not having a clear and clickable drag point can cause two issues: making the scroll bar itself non-obvious; and making it difficult to scroll a controlled amount in a long file, as you have to click with pixel accuracy to avoid content jumping.

@emkkla
Copy link

emkkla commented Mar 18, 2024

A bit bit off-topic but not entirely: Why not replacing the classic scroll bar with a code minimap scroller ?
KDE Kate does that, and I think it's a great idea.
It combines scrolling, global code preview, and is easier to navigate by increasing the clickable area for the mouse.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants