-
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
Refrigerated window causes focus mode to show title bar #16532
Comments
I think the cause of this is that when a Refrigerated window is restored this call to Controls::Grid::SetRow(_titlebar, 0); causes the _title bar to be visible.
And when the check to hide the titlebar happens it doesn't run because of the optimization to do nothing if the _borderless state is already set.
I removed the optimization and no longer saw the title bar. |
Where is the |
I think it is from TerminalWindow::_pageInitialized
https://github.com/microsoft/terminal/blob/main/src/cascadia/TerminalApp/TerminalPage.cpp#L3554 This was the call stack
It didn't look like TerminalWindow or TerminalPage had access to the IslandWindow/NonClientIsland to call IslandWindow::_SetIsBorderLess, I think communication always happens through that FocusModeChanged event. |
maybe also related: #16221 |
Windows Terminal version
63c3573
Windows build number
No response
Other Software
No response
Steps to reproduce
Set terminal to open in focus mode and the new instance behavior to create new winodw.
Open windows terminal.
Open new window using wt
Close newly created window
Open new window using wt
Expected Behavior
The newly created window will be created in focus mode without a title bar
Actual Behavior
The newly created window is created with a title title bar.
The text was updated successfully, but these errors were encountered: