Text selection breaks in funny ways when program keeps printing to console #10480

Open
opened 2026-01-31 02:22:44 +00:00 by claunia · 9 comments
Owner

Originally created by @vadimkantorov on GitHub (Sep 3, 2020).

image

Originally created by @vadimkantorov on GitHub (Sep 3, 2020). ![image](https://user-images.githubusercontent.com/1041752/92165193-f12b1a80-ee36-11ea-8dd9-a8442fa0a0a4.png)
Author
Owner

@DHowett commented on GitHub (Sep 3, 2020):

well that ain't right

@DHowett commented on GitHub (Sep 3, 2020): _well that ain't right_
Author
Owner

@DHowett commented on GitHub (Sep 10, 2020):

Reader notes: likely due to a lack of locking around a renderer invalidation.

@DHowett commented on GitHub (Sep 10, 2020): Reader notes: likely due to a lack of locking around a renderer invalidation.
Author
Owner

@IanMercer commented on GitHub (Feb 28, 2021):

I have similar issues trying to copy from the output of journalctl in an SSH window. It's very hard to select a single line: the selection jumps all over the place during selection and even when selected and copied the contents of the clipboard are often not what was selected on screen.

@IanMercer commented on GitHub (Feb 28, 2021): I have similar issues trying to copy from the output of journalctl in an SSH window. It's very hard to select a single line: the selection jumps all over the place during selection and even when selected and copied the contents of the clipboard are often not what was selected on screen.
Author
Owner

@zadjii-msft commented on GitHub (Aug 23, 2021):

This might be fixed in 1.11, when #10749 merges. Hard to say for sure though, since there's no concrete repro steps in this bug. @vadimkantorov can you list exactly how to repro this bug? I want to see if that commit fixed this too.

@zadjii-msft commented on GitHub (Aug 23, 2021): This might be fixed in 1.11, when #10749 merges. Hard to say for sure though, since there's no concrete repro steps in this bug. @vadimkantorov can you list exactly how to repro this bug? I want to see if that commit fixed this too.
Author
Owner

@vadimkantorov commented on GitHub (Aug 23, 2021):

My usecase was dunning dmesg or some other fast-printing program in ssh, and then trying to select something.

@vadimkantorov commented on GitHub (Aug 23, 2021): My usecase was dunning dmesg or some other fast-printing program in ssh, and then trying to select something.
Author
Owner

@vadimkantorov commented on GitHub (Aug 23, 2021):

In the image in original post, it was fast-printing make/build process

@vadimkantorov commented on GitHub (Aug 23, 2021): In the image in original post, it was fast-printing make/build process
Author
Owner

@zadjii-msft commented on GitHub (Aug 23, 2021):

Could you be more specific though? Was the buffer totally full, so the text was falling off the top of the buffer? Were you scrolling the viewport while selecting? Were you double-click selecting? Were you dragging outside the window while selecting to try scrolling the viewport? I can't even get this to repro on 1.10 during a ping -i .2 8.8.8.8 so it's possible this was already fixed by some other fix in the last 50 weeks

@zadjii-msft commented on GitHub (Aug 23, 2021): Could you be more specific though? Was the buffer totally full, so the text was falling off the top of the buffer? Were you scrolling the viewport while selecting? Were you double-click selecting? Were you dragging outside the window while selecting to try scrolling the viewport? I can't even get this to repro on 1.10 during a `ping -i .2 8.8.8.8` so it's possible this was already fixed by some _other_ fix in the last 50 weeks
Author
Owner

@vadimkantorov commented on GitHub (Aug 23, 2021):

Sorry, I can't be more specific. I reported this issue one year ago, and I stopped trying to select things when a program is running because Terminal wasn't doing well in this scenario.

If I try it again with a recent release, I'll let you know.

@vadimkantorov commented on GitHub (Aug 23, 2021): Sorry, I can't be more specific. I reported this issue one year ago, and I stopped trying to select things when a program is running because Terminal wasn't doing well in this scenario. If I try it again with a recent release, I'll let you know.
Author
Owner

@vadimkantorov commented on GitHub (Aug 23, 2021):

Imagine make or dmesg, text is very fast being printed and auto-scrolled. And then you try to select some text - at this point I can't provide more details :(

@vadimkantorov commented on GitHub (Aug 23, 2021): Imagine make or dmesg, text is very fast being printed and auto-scrolled. And then you try to select some text - at this point I can't provide more details :(
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#10480