Skip to content
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

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

Closed
gmr458 opened this issue Aug 8, 2022 · 3 comments
Closed

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

gmr458 opened this issue Aug 8, 2022 · 3 comments
Labels
bug Something isn't working fixed-in-nightly This is (or is assumed to be) fixed in the nightly builds. Wayland

Comments

@gmr458
Copy link

gmr458 commented Aug 8, 2022

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".

Kooha-08-08-2022-11-54-38.mp4

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 gmr458 added the bug Something isn't working label Aug 8, 2022
@wez wez added the Wayland label Aug 9, 2022
@wez wez changed the title Strange behavior when I switch between windows with Alt + Tab Strange behavior with Alt + Tab and window_decorations = "NONE" Aug 9, 2022
@nogden
Copy link

nogden commented Sep 3, 2022

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.

@aliaksandr-trush
Copy link
Contributor

Should be fixed by #5897

@wez wez added the fixed-in-nightly This is (or is assumed to be) fixed in the nightly builds. label Sep 22, 2024
@wez wez closed this as completed Sep 22, 2024
Copy link
Contributor

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 23, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working fixed-in-nightly This is (or is assumed to be) fixed in the nightly builds. Wayland
Projects
None yet
Development

No branches or pull requests

4 participants