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

panicked when one of the monitors disconnected #468

Open
alembiq opened this issue Sep 10, 2024 · 4 comments
Open

panicked when one of the monitors disconnected #468

alembiq opened this issue Sep 10, 2024 · 4 comments

Comments

@alembiq
Copy link

alembiq commented Sep 10, 2024

I can see the same panic smithay-client-toolkit/src/output.rs:425 with [wpaperd](https://github.com/danyspin97/wpaperd/issues/79) and wezterm when turning of one of the displays under wayland/hyprland

I honestly have on idea if this library is responsible, but when I see the same errors on two apps I assume so.

@wash2
Copy link
Member

wash2 commented Sep 10, 2024

.find(|inner| &inner.wl_output == output)
This line doesn't panic, so more details, like the version of smithay-client-toolkit used in wpaperd and wezterm are probably needed.

@alembiq
Copy link
Author

alembiq commented Sep 16, 2024

wpaperd is using 0.18.1
wezterm is using 0.19.1

@wash2
Copy link
Member

wash2 commented Sep 16, 2024

Updating to 0.19.2 should resolve the issue. It removes the panic when an event is received for a dead output.

@alembiq
Copy link
Author

alembiq commented Sep 17, 2024

thanks for the info

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants