Terminal selector dropdown has excessive vertical spacing around the Show Tabs action
Type: Bug
Description
The integrated terminal selector dropdown appears to have excessive vertical spacing below the terminal entry and around the Show Tabs action. This makes the menu unnecessarily tall even when only one terminal is listed.
In the observed UI, the dropdown contains a single 1: zsh entry, a separator, and the Show Tabs action (displayed as 显示选项卡 in the Chinese UI). There is a noticeable empty band between the terminal entry and the separator, with additional space above the action. The result looks as though the menu contains empty rows.
Steps to reproduce
- Open the integrated terminal with a single terminal session.
- Open the terminal selector dropdown in the terminal toolbar.
- Observe the spacing below the terminal entry and around Show Tabs.
These steps describe the reported UI state; reproduction in a clean profile has not yet been verified.
Actual behavior
The dropdown has disproportionately large vertical gaps relative to the terminal entry height.
Expected behavior
The dropdown should size to its contents, with compact, consistent spacing between terminal entries, the separator, and the Show Tabs action.
Environment
- OS: macOS
- Installed VS Code app package version: 1.146.0
- UI language: Simplified Chinese
- Terminal: zsh
- Zoom level and extension involvement: not yet confirmed
Notes
This report is based on a screenshot of the affected UI. The underlying cause has not been confirmed; it could involve padding, row height, or menu layout sizing. The screenshot is not attached to this report.
can you add screenshot? let me try to repro
YEah, I got the same bug on my windows11. default (custom) title bar and terminal.integrated.tabs.enabled: false Version: 1.146.0
i think it's selectBoxCustom.ts, it gives the separator option the same 22px height as a normal option (getHeight() returns SELECT_OPTION_HEIGHT for every item), and the line is drawn at top: 50%, so it reads as an empty row. Giving unlabelled separators a smaller height in getHeight() should fix it (at least I think it does, I'll try it and update here).