wezterm icon indicating copy to clipboard operation
wezterm copied to clipboard

FULLSCREEN-BUG: Wezterm resizing to unmaximized-size after tabbing out and back in during fullscreen

Open ChillFire22 opened this issue 1 year ago • 7 comments

What Operating System(s) are you seeing this problem on?

Linux X11, Linux Wayland

Which Wayland compositor or X11 Window manager(s) are you using?

$ echo $XDG_SESSION_TYPE
wayland
$ apt-cache show mutter | grep Version
Version: 42.9-0ubuntu5
Version: 42.0-3ubuntu2
$ xdpyinfo | grep version
version number:    11.0
X.Org version: 1.22.1.1

WezTerm version

20230712-072601-f4abf8fd

Did you try the latest nightly build to see if the issue is better (or worse!) than your current version?

No, and I'll explain why below

Describe the bug

The bug occurs when:

  • wezterm is in fullscreen
  • I'm tabbed out of wezterm
  • I tab back into wezterm

The bug is that wezterm appears to remain in fullscreen yet the window size shrinks back to the size it was before entering fullscreen. I am not aware if alt+enter fires ToggleFullScreen but that toggles the bug as well.

To Reproduce

To reproduce the bug

  • start wezterm
  • enter fullscreen with ToggleFullScreen
  • Tab out to another window
  • Tab back into wezterm

The bug occurs.

Configuration

no config

Expected Behavior

Wezterm window should remain fullscreen-sized when in fullscreen mode, regardless of external factors.

Logs

No response

Anything else?

The bug is resolved/corrected by two things:

  • click and drag on the window top bar, to try and move the window. Since it still is in fullscreen, wezterm won't move but the size will take back the entire screen.
  • exit fullscreen then enter it again. Gets tedious since I tab out and in a lot, especially when browsing the internet.

Note: If I use the first option (click and drag the top bar) the bug no longer occurs. Until I exit and re-enter fullscreen, at which point I'd have to fix it the same way again.

Images of the bug:

Screenshot from 2023-12-11 19-11-38

Screenshot from 2023-12-11 19-12-37

Screencast from 11-12-23 19:17:39.webm

(note: at end of video above. fixed by using method one mentioned above. click and drag on the top bar)

ChillFire22 avatar Dec 11 '23 17:12 ChillFire22