-
Notifications
You must be signed in to change notification settings - Fork 3
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
Dispatch awaits indefinitely on other desktop environments #9
Comments
I have noticed that |
It hangs in COSMIC on Wayland, as well. |
I believe it hangs at https://github.com/pop-os/cosmic-randr/blob/8d0938029f223016fde11aef4c5233ddbfdb2796/lib/src/lib.rs#L64C34-L64C50 or Line 102 in 8d09380
dispatch_pending . It could be a bug in wayland_client, or maybe a small usage mistake in cosmic-randr, but I'm not sure yet.
|
Ahh it's actually the tachyonix channel that seems to fill up and then a callback blocks on the send while dispatching. Increasing the channel size should fix the issue, or using an unbounded channel. |
cosmic-randr list
hangs on Arch with plasma 6 rc1. It seems to be because the context.dispatch().await does not return inasync fn list
.In
async fn main
,event_queue.roundtrip
consistently returned54
on my system when I tested.rustc 1.72.0 (5680fa18f 2023-08-23)
The text was updated successfully, but these errors were encountered: