microsoft / microsoft/terminal

if scroll to top and try mark text via mouse it automatically jumps (scrolls) down

Open
#20,044 2 comments 0 reactions 0 assignees View on GitHub
Issue-Bug Needs-Attention Needs-Triage
Dominant language
C++
Stars
105k
Forks
9.6k
Avg merge
3d 17h
Merged PRs (30d)
29

Description

### Windows Terminal version

1.23.20211.0

### Windows build number

10.0.26100

### Other Software

I'm connected to this machine via RDP (using Windows App on an Mac).

### Steps to reproduce

Longer output on screen, if I scroll up and try to mark text via mouse, terminal immediately scrolls back down (to the end) and the wrong text is marked.
If the setting "Beim Tippen zur Eingabezeile scrollen" - on typing scroll to current line - is turned off it works, then I can markup text everywhere. It seems the mouse button triggers a key pressed?

### Expected Behavior

Scroll up and allow to mark/copy text via mouse even if typing scrolls to current line is active.

### Actual Behavior

It scrolls down to current line

Contributor guide

Open the contributing guide

Research direction

Reproduce on Windows Terminal 1.23.20211.0 with “scroll to current line on typing” enabled, using a long output and an RDP session from Windows App on Mac. Start by tracing mouse text selection alongside the scroll-to-current-line behavior; done means selecting or copying text after scrolling up does not jump back to the current line.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.