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

wezterm crashes when you try to open a new tab #39

Open
naddeoa opened this issue Sep 10, 2024 · 3 comments
Open

wezterm crashes when you try to open a new tab #39

naddeoa opened this issue Sep 10, 2024 · 3 comments
Labels
bug Something isn't working investigate Require investigation

Comments

@naddeoa
Copy link

naddeoa commented Sep 10, 2024

If I pick wezterm as the Terminal Application option, use my hotkey to summon an instance, and then hit ctrl+shift+T to open a new tab then I get a crash and an error

image

It probably has something to do with the dimensions of the window or some other state changing since this also happens if you modify your wezterm config to hide/show the title bar using the window_decorations option.

I tried this by installing wezterm via their ppa as well as flatpak. I'm on Ubuntu 24.04, Gnome 46, wayland

@diegodario88 diegodario88 added bug Something isn't working investigate Require investigation labels Sep 10, 2024
@naddeoa
Copy link
Author

naddeoa commented Sep 10, 2024

Looks like it crashes when I plug in a new monitor too, I assume because the new monitor is bigger and that increases the size of the terminal. For now, I'm working around this by using kitty instead of wezterm in the drop down and only using wezterm stand alone for programming stuff as a normal window.

@naddeoa
Copy link
Author

naddeoa commented Sep 10, 2024

Ok, looks like this is actually a wezterm x wayland issue. I didn't notice it when I was using tdrop because I launch tdrop with WAYLAND_DISPLAY=no, which was flowing through to wezterm as well.

Is there some way I can customize the launch arguments for the shell? I would need to launch wezterm with that env var to avoid it crashing.

I'm working around it for the time being by editing the .desktop file for wezterm and updating the exec line, but I'm sure that will break after some update.

# /usr/share/applications/org.wezfurlong.wezterm.desktop
Exec=env WAYLAND_DISPLAY=no wezterm start --cwd .

@diegodario88
Copy link
Owner

Is there some way I can customize the launch arguments for the shell? I would need to launch wezterm with that env var to avoid it crashing.

Not at the moment, but there’s a draft implementation suggested here.

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

No branches or pull requests

2 participants