wezterm icon indicating copy to clipboard operation
wezterm copied to clipboard

Window Displacement Issue in Fullscreen Mode When Terminal Loses Focus

Open yunxi177 opened this issue 4 months ago • 0 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

20241007-103714-ed430415

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

Window Displacement Issue in Fullscreen Mode When Terminal Loses Focus

To Reproduce

  1. Launch WezTerm and press F11 switch to fullscreen mode.
  2. Perform actions that cause the terminal to lose focus (e.g., switch to another application).

Configuration

local wezterm = require("wezterm")
local config = wezterm.config_builder()

config.keys = {
	{ key = "F11", mods = "NONE", action = act.ToggleFullScreen },
}

return config

Expected Behavior

The window should maintain its fullscreen state and alignment without any displacement when focus is lost and regained.

Logs

Debug Overlay wezterm version: 20241007-103714-ed430415 x86_64-unknown-linux-gnu Window Environment: Wayland Lua Version: Lua 5.4 OpenGL: Mesa Intel(R) Graphics (ADL GT2) 4.6 (Compatibility Profile) Mesa 24.2.4-arch1.0.1 Enter lua statements or expressions and hit Enter.

Anything else?

2024-10-14_10-22 The black area in the screenshot is the part that has been offset.

yunxi177 avatar Oct 14 '24 02:10 yunxi177