Open tareqsiraj opened 2 years ago
How are you making the window full-screen? Using a function in mutter or using ToggleFullScreen, or something else?
I'm using the Gnome built-in CMD+Up
to make it fullscreen. Not sure if its a Gnome or Mutter feature.
Just an update, it seems that screen updates can cause this while the wezeterm is in focus. I use the following with neovim
to highlight the yanked text for a tiny bit and then the highlight disappears, it looks like this causes a foreground wezterm window to resize like I mentioned.
au TextYankPost * silent! lua vim.highlight.on_yank {higroup="IncSearch", timeout=250}
I'd like to add that this behavior only occurs when I set window_decorations = "NONE"
. Default window decorations fixes the issue. Hope that helps to narrow it down.
Using a function in mutter or using ToggleFullScreen, or something else?
And it occurs for either Gnome full screen command or ToggleFullScreen
I'm also seeing this behaviour
I'm a new wezterm user and I ran into this right away, but it doesn't happen every time.
Switching virtual desktops and coming back seems to break the spell.
Ubuntu 22.10 w/ GNOME on wayland wezterm 20230408-112425-69ae8472 (appimage initially, then deb)
I have this problem with the default window_decorations
config.
The issue seems to be better on Ubuntu 23.04, w/ GNOME 44.
This is on a different machine (notebook vs desktop), where I didn't try wezterm before upgrading from 22.10. So I can't be sure it isn't related to some other difference with this machine.
Please try the latest nightly build
What Operating System(s) are you seeing this problem on?
Linux Wayland
Which Wayland compositor or X11 Window manager(s) are you using?
Mutter
WezTerm version
20220905-102802-7d4b8249
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
With all window decorations (i.e. title bar) disabled, when a fullscreen window looses focus, it shrinks to about a quarter of the screen size.
To Reproduce
Configuration
return { enable_tab_bar = false, window_decorations = "NONE", enable_wayland = true, }
Expected Behavior
Wezterm window remains full-screen.
Logs
No response
Anything else?
Screencast from 09-20-2022 09:25:35 PM.webm