Login Window appears behind Terminal Window #4528

Closed
opened 2026-01-30 23:49:45 +00:00 by claunia · 4 comments
Owner

Originally created by @al-n on GitHub (Oct 18, 2019).

When loging in to e.g. AzAccount, the Window where one can enter one's credentials appears behind the Windows Terminal Window and cannot be brought forward by Alt-Tabbing to it, so one has to leave the keyboard and use the mouse isntead to activate it.

grafik

Originally created by @al-n on GitHub (Oct 18, 2019). When loging in to e.g. AzAccount, the Window where one can enter one's credentials appears behind the Windows Terminal Window and cannot be brought forward by Alt-Tabbing to it, so one has to leave the keyboard and use the mouse isntead to activate it. ![grafik](https://user-images.githubusercontent.com/9772624/67087591-84b61700-f1a3-11e9-9b02-17a832839cac.png)
Author
Owner

@WSLUser commented on GitHub (Oct 23, 2019):

I'd propose getting Alt+Tab to bring it forward for general cases when this happens, if this happens outside the Azure Shell connector, (which I think any login prompt like this one would have same issue). If it's just an Azure Shell connector specific issue , then setting the login prompt to appear in front of Terminal would be the better solution.

@WSLUser commented on GitHub (Oct 23, 2019): I'd propose getting Alt+Tab to bring it forward for general cases when this happens, if this happens outside the Azure Shell connector, (which I think any login prompt like this one would have same issue). If it's just an Azure Shell connector specific issue , then setting the login prompt to appear in front of Terminal would be the better solution.
Author
Owner

@al-n commented on GitHub (Oct 23, 2019):

I think Azure Shell connector does not open such windows since it uses the devicelogin feature of AAD, so it is definitely not an Azure shell connector specific issue. However opening the login window in the foreground by default seems reasonable since you only see it when you invoke a command that needs it... Similar to the behavior of the window appearing when you use Get-Credential which already opens in foreground:
grafik

@al-n commented on GitHub (Oct 23, 2019): I think Azure Shell connector does not open such windows since it uses the devicelogin feature of AAD, so it is definitely not an Azure shell connector specific issue. However opening the login window in the foreground by default seems reasonable since you only see it when you invoke a command that needs it... Similar to the behavior of the window appearing when you use `Get-Credential` which already opens in foreground: ![grafik](https://user-images.githubusercontent.com/9772624/67426666-de22a980-f5da-11e9-97c4-aa0b8aed4c5a.png)
Author
Owner

@DHowett-MSFT commented on GitHub (Oct 23, 2019):

This has the same root cause as /dup #2988. Thanks for the report!

@DHowett-MSFT commented on GitHub (Oct 23, 2019): This has the same root cause as /dup #2988. Thanks for the report!
Author
Owner

@ghost commented on GitHub (Oct 23, 2019):

Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!

@ghost commented on GitHub (Oct 23, 2019): Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#4528