Skip to content

Terminal selects a char when bringing window to foreground #670

@jmorrill

Description

@jmorrill

If you put the Terminal window not in the foreground (ex, using a different application), if you click on anywhere on the terminal window, it brings the Terminal to the foreground (as expected), but it selects the text position you click on. If you previously had some text selected, it clears the selection.

The expected behavior is that it should only bring the terminal window to the foreground, and preserve any text selection (ex, current selection or not selected).

Example:
Terminal in background
image

I click on Terminal area
image

Notice it deselects my previous selection, selecting the character i clicked on to bring the window to the foreground.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area-InputRelated to input processing (key presses, mouse, etc.)Issue-BugIt either shouldn't be doing this or needs an investigation.Needs-Tag-FixDoesn't match tag requirementsProduct-TerminalThe new Windows Terminal.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions