[PR #15077] [MERGED] Fix focus issue when profile selected from nested menu entry #30389

Open
opened 2026-01-31 09:40:33 +00:00 by claunia · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/microsoft/terminal/pull/15077
Author: @kkostrzewa
Created: 3/31/2023
Status: ✅ Merged
Merged: 4/25/2023
Merged by: @DHowett

Base: main ← Head: bug/15049-folder-focus-problem


📝 Commits (1)

  • 22bed9a MenuFlyoutSubItem profile selection requires an

📊 Changes

1 file changed (+4 additions, -0 deletions)

View changed files

📝 src/cascadia/TerminalApp/TerminalPage.cpp (+4 -0)

📄 Description

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


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/microsoft/terminal/pull/15077 **Author:** [@kkostrzewa](https://github.com/kkostrzewa) **Created:** 3/31/2023 **Status:** ✅ Merged **Merged:** 4/25/2023 **Merged by:** [@DHowett](https://github.com/DHowett) **Base:** `main` ← **Head:** `bug/15049-folder-focus-problem` --- ### 📝 Commits (1) - [`22bed9a`](https://github.com/microsoft/terminal/commit/22bed9a4a1e52849aa8330f23d8c40e195dbc62c) MenuFlyoutSubItem profile selection requires an ### 📊 Changes **1 file changed** (+4 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `src/cascadia/TerminalApp/TerminalPage.cpp` (+4 -0) </details> ### 📄 Description 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 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-31 09:40:33 +00:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#30389