Pane movement breaks showCloseButton=never #15902
Labels
Area-Settings
Issues related to settings and customizability, for console or terminal
Area-UserInterface
Issues pertaining to the user interface of the Console or Terminal
In-PR
This issue has a related PR
Issue-Bug
It either shouldn't be doing this or needs an investigation.
Needs-Tag-Fix
Doesn't match tag requirements
Priority-3
A description (P3)
Product-Terminal
The new Windows Terminal.
Milestone
Windows Terminal version
1.17.11461.0
Windows build number
Version 10.0.19045.3324
Other Software
No response
Steps to reproduce
Add the following to
settings.json
(in%LOCALAPPDATA%\Packages\Microsoft.WindowsTerminal_8wekyb3d8bbwe\LocalState\settings.json
):Run in Command Prompt:
Observe that the first tab has an "X" on the right that you can click to close the tab. But,
tab.showCloseButton
:never
should have hidden this "X". Thesplit-pane
line is causing this bug. If you remove it, i.e.then the tab no longer has the "X", as expected
For related discussion:
Expected Behavior
The "X" icon should not be present on a Windows Terminal tab if
tab.showCloseButton
:never
Actual Behavior
The "X" icon is present on a tab if using
split-pane
inwt
Edit (lhecker): Any movement between two panes makes the buttons reappear.
The text was updated successfully, but these errors were encountered: