Window resizing broken in Ubuntu 20.04 with Wayland
What Operating System(s) are you seeing this problem on?
Linux Wayland
Which Wayland compositor or X11 Window manager(s) are you using?
Gnome
WezTerm version
20220927-071112-9be05951
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’m running a standard Ubuntu 20.04 Gnome desktop, but with Wayland. Resizing of wezterm window is broken on this setup: selecting ”maximize” from the title bar context menu or dragging the window against the top or the sides of the screen doesn’t maximize/tile the window, but any resizing that does happen results in any text entered in the terminal thereafter to be get garbled. In this screenshot I’ve first entered wezterm --version
before resizing, then dragged the window against the top, then entered wezterm --version
again:
To Reproduce
- Install your bog-standard Ubuntu 20.04 desktop in a VM and boot it up.
- On the GDM login screen select ”Ubuntu on Wayland” from the bottom right menu, then log in.
- Install wezterm.
- Start wezterm.
- Right-click wezterm’s title bar and select ”Maximize”.
- Type something
Configuration
no config
Expected Behavior
After step 5, I expect the window to be maximized (i.e. to fill the desktop). After step 6, I expect to see what I typed.
Logs
no logs available
Anything else?
The issue is not present in an X11 session. Ubuntu 20.04 defaults to X11, but I’ve used it with Wayland exclusively since the release without issues. More specifically, I can’t remember seeing resizing issues similar to this with any other application.
I also have a laptop running Ubuntu 22.04 and Wayland, and there all resizing of the wezterm window works just as I’d expect (i.e. just as in any other application).