#1042929 plasma-workspace: plasmashell becomes unresponsive for several minutes when a USB drive is plugged in

Package:
plasma-workspace
Source:
plasma-workspace
Description:
Plasma Workspace for KF5
Submitter:
Alex Krusemark
Date:
2023-08-03 01:15:04 UTC
Severity:
normal
#1042929#5
Date:
2023-08-03 01:12:46 UTC
From:
To:
Upon plugging in a USB flash drive to the computer, plasmashell (such as the
panel, launcher, and krunner) freezes and become completely unresponsive for
several minutes. During this time I can use programs in open windows and kwin
continues working, but I cannot interact with plasma itself. After a few
minutes, the new disk becomes available and plasmashell usually starts working
again.

I am not sure whether the root cause is in plasmashell, udisks, or somewhere in
between, but of course the shell is not expected to freeze while waiting on a
background job.

While the shell is frozen, it logs this output:

kf.solid.backends.udisks2: Error getting props:
"org.freedesktop.DBus.Error.NoReply" "Did not receive a reply. Possible causes
include: the remote application did not send a reply, the message bus security
policy blocked the reply, the reply timeout expired, or the network connection
was broken." for "/org/freedesktop/UDisks2/block_devices/sdi"
file:///usr/share/plasma/plasmoids/org.kde.plasma.devicenotifier/contents/ui/DeviceItem.qml:36:5:
Unable to assign [undefined] to bool