Avainsanana WezTerm

I don’t know anything beyond ”this is a standard Ubuntu 20.04 (Gnome) desktop”

29. syyskuuta 2022 klo 11.51
Sijainti: Vianhallintajärjestelmät: Github
Avainsanat: Gnome, Ubuntu, Wayland, WezTerm

Please tell me more about your window environment; Gnome/Mutter don’t support Client Side Decoration (CSD) for Wayland clients, so wezterm draws its own limited decorations. Those don’t support right clicking or context menus, so I’m not sure how that maximize menu you described shows up.

Sure, though I don’t yet know anything beyond ”this is a standard Ubuntu 20.04 (Gnome) desktop, using Wayland”. Are there any commands I could run to find out more?

Copy & paste doesn’t work in the debug overlay (any selection I make is deselected as soon as I hit Ctrl), but there’s nothing there anyway apart from the intro (no matter how many times I trigger the resizing issue).

Screenshot from 2022-09-29 11-35-40

Vastaa viestiin sen kontekstissa (Github)

Window resizing broken in Ubuntu 20.04 with Wayland

28. syyskuuta 2022 klo 14.13
Sijainti: Vianhallintajärjestelmät: Github
Avainsanat: GDM, Gnome, Ubuntu, Wayland, WezTerm

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:

Screenshot from 2022-09-28 13-43-02

To Reproduce

  1. Install your bog-standard Ubuntu 20.04 desktop in a VM and boot it up.
  2. On the GDM login screen select ”Ubuntu on Wayland” from the bottom right menu, then log in.
  3. Install wezterm.
  4. Start wezterm.
  5. Right-click wezterm’s title bar and select ”Maximize”.
  6. 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).

Vastaa viestiin sen kontekstissa (Github)