Possible to get multiple selections visible with copyOnSelect enabled #7782

Closed
opened 2026-01-31 01:12:31 +00:00 by claunia · 3 comments
Owner

Originally created by @zadjii-msft on GitHub (Apr 28, 2020).

On the 0.11.1153.0 prerelease

Stick these in your globals:

    "copyOnSelect": true,
    "copyFormatting": false,

run dir to fill the buffer up, then ping -t google.com.

If you quickly select two different spots in the buffer, you can get both the old selection region and new selection region to be visible at the same time. I'm 88% sure this is purely graphical - it seems like the only actual selection is the second one, and as soon as more lines appear in the buffer, the old selection will disappear.

This might just be an ordering issue? Maybe we're not invalidating the old selection region when making a new one?

Weirdly, I couldn't get this to repro w/o running ping.

Originally created by @zadjii-msft on GitHub (Apr 28, 2020). On the 0.11.1153.0 prerelease Stick these in your globals: ```json "copyOnSelect": true, "copyFormatting": false, ``` run `dir` to fill the buffer up, then `ping -t google.com`. If you quickly select two different spots in the buffer, you can get both the old selection region and new selection region to be visible at the same time. I'm 88% sure this is purely graphical - it seems like the only _actual_ selection is the second one, and as soon as more lines appear in the buffer, the old selection will disappear. This might just be an ordering issue? Maybe we're not invalidating the old selection region when making a new one? Weirdly, I couldn't get this to repro w/o running ping.
claunia added the Area-RenderingIssue-BugPriority-3Needs-Tag-FixProduct-Terminal labels 2026-01-31 01:12:32 +00:00
Author
Owner

@DHowett-MSFT commented on GitHub (Apr 29, 2020):

This is definitely a regression from incremental R.

@DHowett-MSFT commented on GitHub (Apr 29, 2020): This is definitely a regression from incremental R.
Author
Owner

@zadjii-msft commented on GitHub (Apr 29, 2020):

I'm just gonna shove this on 1.0, since it regressed with #5345 (et. al) but feel free to override me if this doesn't make the bar

@zadjii-msft commented on GitHub (Apr 29, 2020): I'm just gonna shove this on 1.0, since it regressed with #5345 (et. al) but feel free to override me if this doesn't make the bar
Author
Owner

@zadjii-msft commented on GitHub (Apr 30, 2020):

Hey so playing I'm with 0.11.1204.0, and I absolutely can't get this to repro anymore. This must have been fixed between 1153 and 1204

@zadjii-msft commented on GitHub (Apr 30, 2020): Hey so playing I'm with 0.11.1204.0, and I absolutely can't get this to repro anymore. This must have been fixed between `1153` and `1204`
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#7782