wezterm icon indicating copy to clipboard operation
wezterm copied to clipboard

Strange behavior with Alt + Tab and window_decorations = "NONE"

Open gmr458 opened this issue 1 year ago • 1 comments

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

20220808-084502-d5755f3e

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

When i maximize the wezterm window and switch between windows with Alt + Tab the wezterm window sticks to the top left of the screen, also when only wezterm is open and the window is maximized and i press the windows key on my keyboard to see all windows in GNOME the wezterm window takes up too much space. All this only happens when window_decorations = "NONE".

To Reproduce

  1. Open wezterm and maximize it.
  2. Open another program.
  3. Switch to the wezterm window with Alt + Tab

Configuration

local wezterm = require("wezterm")

return {
	font = wezterm.font("Iosevka Fixed", { weight = "Regular", italic = false, bold = false }),
	font_rules = {
		{
			intensity = "Bold",
			font = wezterm.font("Iosevka Fixed", { weight = "Regular" }),
		},
	},
	font_size = 12.0,
	enable_tab_bar = false,
	window_decorations = "NONE",
}

Expected Behavior

switch between windows with Alt + Tab and the wezterm window does not change its size and position

Logs

No response

Anything else?

No response

gmr458 avatar Aug 08 '22 17:08 gmr458

I also have this bug with Wezterm and was having the exact same issue with Kitty under the same circumstances. This commit fixed the issue in Kitty. So I thought I'd leave this here just in case it turns out to be the same interaction with Wayland that's causing the issue for Wezterm.

Apologies in advance if it turns out not to be useful.

nogden avatar Sep 03 '22 20:09 nogden