Skip to content

Search results steal focus and scroll when the buffer changes at all #17301

Closed
@Rodrigodd

Description

@Rodrigodd

Windows Terminal version

1.21.1272.0

Windows build number

10.0.22631.0

Other Software

No response

Steps to reproduce

  • Fill the buffer with enough text to make it scrollable (for example, using Get-Random -Count 1000 in PowerShell),
  • search something in such a way that the last result is outside the view,
  • select a search result which is not the last (optinal),
  • type something in the prompt.

Expected Behavior

While typing in the prompt nothing happen, the select result stays the same, and the view focus the prompt.

Actual Behavior

When typing, the search appear to retrigger, and the focus goes to the last result, moving the prompt outside view.

Metadata

Metadata

Assignees

Labels

Area-UserInterfaceIssues pertaining to the user interface of the Console or TerminalIn-PRThis issue has a related PRIssue-BugIt either shouldn't be doing this or needs an investigation.Needs-Tag-FixDoesn't match tag requirementsPriority-1A description (P1)Product-TerminalThe new Windows Terminal.

Type

No type

Projects

  • Status

    Shipped
  • Status

    Shipped

Relationships

None yet

Development

No branches or pull requests

Issue actions