-
Notifications
You must be signed in to change notification settings - Fork 8.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Focus starts on titlebar when opening a profile from a nested dropdown entry #15049
Comments
This appears to be a side effect of using folders. When I remove the folder entry from newTabMenu, focus starts in the shell. |
INTERESTING I can totally repro this. That's wild! Thanks for the report! |
If this is in help wanted, I can take a look, as I'm off my regular 9-5 job this week. Bear with me as I haven't built wt yet. (This is from op's personal github account) |
extra Closing event to prevent focus from switching to the tab bar when selecting a profile via mouse. microsoft#15049
@zadjii-msft I think I fixed this with main...kkostrzewa:microsoft-terminal:bug/15049-folder-focus-problem. Will PR. |
Original bug report #15049 Relates to feature #1571 MenuFlyoutSubItem, when collapsing from profile selection, move focus back to the titlebar. An extra Closing event handler is needed to keep focus on the command shell. Closes #15049 (cherry picked from commit def3742) Service-Card-Id: 89002014 Service-Version: 1.17
Windows Terminal version
1.17.1023
Windows build number
10.0.19045.0
Other Software
No response
Steps to reproduce
Adding a profile like this in wt 1.16.10261.0 starts the profile with keyboard focus on the command shell
When I use the preview version, focus is on the titlebar, so I have to tab 2x to switch to the command shell
I am using the fabulous new folders feature
Expected Behavior
focus in command shell
Actual Behavior
focus in titlebar
The text was updated successfully, but these errors were encountered: