wezterm
wezterm copied to clipboard
Windows fancy tab bar covering window management buttons
What Operating System(s) are you seeing this problem on?
Windows
Which Wayland compositor or X11 Window manager(s) are you using?
No response
WezTerm version
20240212-074107-22f9f8d2
Did you try the latest nightly build to see if the issue is better (or worse!) than your current version?
Yes, and I updated the version box above to show the version of the nightly that I tried
Describe the bug
On Windows with integrated buttons and fancy tab bar enabled, you kinda have to enable "hide tab bar if only one tab is present" option. If you do, however, a very long tab name will cover the entire width of the window, with window management buttons.
What's worse is that unlike on MacOS, you cannot move window by grabbing a tab. You have to grab an empty region between the tab and window buttons.
Spawning another tab will make the issue go away, but only until that new tab gets a long title too.
To Reproduce
Make window title long and window narrow, the tab will cover the window management buttons.
Configuration
local cfg = wt.config_builder()
cfg.window_decorations = 'INTEGRATED_BUTTONS|RESIZE'
cfg.use_fancy_tab_bar = true
cfg.hide_tab_bar_if_only_one_tab = false
Expected Behavior
Tab width shouldn't cover window management buttons. If grabbing tab does not let you move the window, enough space should be left between tabs and window management buttons to allow grabbing window to move it.
Logs
No response
Anything else?
No response