-
-
Notifications
You must be signed in to change notification settings - Fork 825
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
Maximize is not working and fullscreen is not fullscreen #6203
Comments
I am too facing this issue on my computer. What Operating System(s) are you seeing this problem on? Which Wayland compositor or X11 Window manager(s) are you using? WezTerm version Did you try the latest nightly build to see if the issue is better (or worse!) than your current version? |
Hello, I use Wayland too (KDE Neon). I use this configuration to maximize the windows local wezterm = require 'wezterm'
local mux = wezterm.mux
local config = wezterm.config_builder()
wezterm.on('gui-startup', function(cmd)
local tab, pane, window = mux.spawn_window(cmd or {})
window:gui_window():maximize()
end)
config.enable_wayland = false
return config enabled_wayland will use X11 protocol instead of wayland (but surprisingly, when I set this as false, it make the maximize scripts works). |
It's not fixed with that PR
The screen still has the gap |
For me |
What Operating System(s) are you seeing this problem on?
Arch Linux (KDE)
Which Wayland compositor or X11 Window manager(s) are you using?
Wayland
WezTerm version
20240922-151228-2b76c63b
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
I set the wezterm gui to start maximized using
window:gui_window():maximize()
and the whole config is in the screenshot. Nothing happened and it started in a normal small window. I then replaced that line withtoggle_fullscreen()
. This time it started almost fullscreen except of the bottom edge. I thought first @wez has added a copyright border and I took a couple of seconds to realize that wasfirefox
running in the background. I changed the theme to show the problem in a better way and attached a fullscreen of my displaywezterm-maximize.log
To Reproduce
With my config, I set a keyboard shortcut to start
wezterm
. Every time I start it I get that problem.Configuration
wezterm.on('gui-startup', function(cmd)
local tab, pane, window = mux.spawn_window(cmd or {})
--window:gui_window():maximize()
window:gui_window():toggle_fullscreen()
end)
Expected Behavior
To maximize in case of
maximize()
and really fullscreen in case oftoggle_fullscreen()
Logs
Attahced: WEZTERM_LOG=debug wezterm start --always-new-process 2> /tmp/wezterm-maximize.log
Anything else?
No response
The text was updated successfully, but these errors were encountered: