Attaching a USB device to a qube causes some parts of the system to freeze
Qubes OS release
Qubes OS 4.2
Brief summary
Attaching USB device to qube makes some GUI components unresponsive. So far I've noticed that happening with the Qube manager as well as the USB devices tray icon.
This is quite annoying, as attaching USB devices (between the start and end of the process) can take even like 10 seconds on systems with a lot of USB devices attached.
Steps to reproduce
- Attach a USB device to a Qube
- Try to do something in the Qube manager or in the qui-devices tray icon
- They're frozen until the attach finishes
Expected behavior
No freezing.
Actual behavior
Freezing until the attach finishes.
Additional information
Possibly related to: #9849
I've noticed that this also causes apps in qubes to not be launched until the freeze period ends. The launch commands get queued and executed only after the freeze.
I'm also having this issue on 4.3. I guess something inside qubesd is blocking the main thread?
Qubes 4.3 was supposed to have made more things in qubesd async, but it seems that this is not one of them.