qubes-issues icon indicating copy to clipboard operation
qubes-issues copied to clipboard

Attaching a USB device to a qube causes some parts of the system to freeze

Open Atrate opened this issue 8 months ago • 1 comments

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

  1. Attach a USB device to a Qube
  2. Try to do something in the Qube manager or in the qui-devices tray icon
  3. They're frozen until the attach finishes

Expected behavior

No freezing.

Actual behavior

Freezing until the attach finishes.

Additional information

Possibly related to: #9849

Atrate avatar Apr 18 '25 08:04 Atrate

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.

Atrate avatar Jun 16 '25 15:06 Atrate

I'm also having this issue on 4.3. I guess something inside qubesd is blocking the main thread?

RealityAnomaly avatar Aug 04 '25 11:08 RealityAnomaly

Qubes 4.3 was supposed to have made more things in qubesd async, but it seems that this is not one of them.

Atrate avatar Aug 04 '25 17:08 Atrate