Terminal window does not focus when UWP apps are focused #15682

Open
opened 2026-01-31 04:45:26 +00:00 by claunia · 0 comments
Owner

Originally created by @r33int on GitHub (Oct 24, 2021).

Windows Terminal version (or Windows build number)

10.0.22000.0 1.11.2921.0

Other Software

No response

Steps to reproduce

  • Use WIndows Terminal as a default terminal (new feature in Windows 11)
  • Open an UWP app and focus its window
  • Run any shell program from Search or Win+R (cmd.exe, powershell.exe)

Expected Behavior

Windows Terminal window should open in the foreground and be focused, as it does when a Win32 window is focused.

Actual Behavior

Windows Terminal opens in the background, and maximizing the window is needed to reveal it. I have attached a video that shows the problem.

https://user-images.githubusercontent.com/22567851/138613233-dc9a7980-049a-4c53-8eec-58388b20651b.mp4

Originally created by @r33int on GitHub (Oct 24, 2021). ### Windows Terminal version (or Windows build number) 10.0.22000.0 1.11.2921.0 ### Other Software _No response_ ### Steps to reproduce - Use WIndows Terminal as a default terminal (new feature in Windows 11) - Open an UWP app and focus its window - Run any shell program from Search or Win+R (cmd.exe, powershell.exe) ### Expected Behavior Windows Terminal window should open in the foreground and be focused, as it does when a Win32 window is focused. ### Actual Behavior Windows Terminal opens in the background, and maximizing the window is needed to reveal it. I have attached a video that shows the problem. https://user-images.githubusercontent.com/22567851/138613233-dc9a7980-049a-4c53-8eec-58388b20651b.mp4
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#15682