[PR #19139] Fix Application Title Being Stuck After Swapping "showTerminalTitleInTitlebar" From False to True #31718

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

Original Pull Request: https://github.com/microsoft/terminal/pull/19139

State: closed
Merged: No


Summary of the Pull Request

This PR makes is so that if you are in showTabsInTitlebar = false and showTerminalTitleInTitlebar = true, then you swap showTerminalTitleInTitlebar = false. The Window title will reset back to "Terminal", this leads to a better UX of seeing Terminal instead of whatever page you were last on (in issue its Settings but really it could be anything).

References and Relevant Issues

https://github.com/microsoft/terminal/issues/12871

Detailed Description of the Pull Request / Additional comments

Introduced a check on apphost when settings update, if it needs to reset title it will

Validation Steps Performed

  • Tested with set to false
  • Tested with set to true
  • Tested with multiple windows

PR Checklist

**Original Pull Request:** https://github.com/microsoft/terminal/pull/19139 **State:** closed **Merged:** No --- ## Summary of the Pull Request This PR makes is so that if you are in showTabsInTitlebar = false and showTerminalTitleInTitlebar = true, then you swap showTerminalTitleInTitlebar = false. The Window title will reset back to "Terminal", this leads to a better UX of seeing Terminal instead of whatever page you were last on (in issue its Settings but really it could be anything). ## References and Relevant Issues https://github.com/microsoft/terminal/issues/12871 ## Detailed Description of the Pull Request / Additional comments Introduced a check on apphost when settings update, if it needs to reset title it will ## Validation Steps Performed - Tested with set to false - Tested with set to true - Tested with multiple windows ## PR Checklist - [x] Closes #12871 - [ ] Tests added/passed -> Not sure if needed, happy to add - [N/A] Documentation updated - If checked, please file a pull request on [our docs repo](https://github.com/MicrosoftDocs/terminal) and link it here: #xxx - [N/A] Schema updated (if necessary)
claunia added the pull-request label 2026-01-31 09:49:07 +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#31718