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

Opening new window from Gnome launcher crashes all windows on 200% scaling #6233

Open
mcheshkov opened this issue Oct 5, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@mcheshkov
Copy link

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

20241001_010643_d40c3b63

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 try to open new terminal window from Gnome launcher it crashes whole app.
If I start first instance from terminal, and then try to middle click in launcher I can see a message about scaling before crash

18:15:01.856  ERROR  wezterm_mux_server_impl::local > writing pdu data buffer: Broken pipe (os error 32)
wl_surface#30: error 2: Buffer size (656x457) must be an integer multiple of the buffer_scale (2).
Protocol error 2 on object wl_surface@30: 
18:15:02.066  ERROR  wezterm_gui                    > running message loop: Protocol error 2 on object wl_surface@30: ; terminating

But when I try to open new window from terminal (by executing wezrem) it does not crash, there's no message about buffer_scale, only about pdu data buffer

ERROR  wezterm_mux_server_impl::local > writing pdu data buffer: Broken pipe (os error 32)

I have 200% scaling. When I turn it back to 100% everything works as expected.

Also strangely related
In 100% scaling new windows have correct window name and icon.
On 200% windows are named "Unknown", and have unknown app icon.

To Reproduce

  1. Use Gnome with 200% desktop scaling
  2. Start wezterm
  3. Open new wezterm window with middle click in bottom panel or launcher

Configuration

no config

Expected Behavior

New window opens without crashing

Logs

No response

Anything else?

No response

@mcheshkov mcheshkov added the bug Something isn't working label Oct 5, 2024
@emilio
Copy link

emilio commented Oct 12, 2024

#6270 has some more info too.

@Holmgren825
Copy link

Holmgren825 commented Nov 19, 2024

I think I'm encountering the same error, but using river 0.3.5. Nightly (as of 2024-11-19) with clean config crashes as soon as the window looses focus with the error ERROR wezterm_gui > running message loop: Io error: Broken pipe (os error 32); terminating. The current stable release does not have this issue. Note that this only happens on a monitor that uses a scaling > 1. For a monitor with scaling = 1, nightly works as expected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants