Open jfroy opened 10 months ago
I have noticed that cosmic-randr list
also hangs when running on Pop! on Wayland (the GNOME
shell Wayland session, not the COSMIC
session).
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 https://github.com/pop-os/cosmic-randr/blob/8d0938029f223016fde11aef4c5233ddbfdb2796/lib/src/lib.rs#L102 when calling 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)