Skip to content

CmdPal: Hiding our window doesn't give foreground permission back to the previous app #40138

Open
@pwang2

Description

@pwang2

Description of the new feature / enhancement

App activation should return focus to the previously focused app before summoning the Command Pallete.

Scenario when this would be used?

Scenario 1: I have a Fullscreen Windows Terminal, when I activate Command Palette with shortcut key then press Esc, the focus not returning back to Windows Terminal. I want my terminal still have focus without switching app using mouse or keyboard.

Scenerio 2: Even for the case not in fullscreen app, say I am editing some text, I want to use the Command Palette to calculate something and copied the result, I want I can directly paste the result to my editing textbox without touching mouse.

In the above cases above, the focus handling can result a much better mouse free user experience. as the user can be more focused on the current editing work without moving hand to mouse.

Supporting information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions