Bug 383006

Summary: delay to open filemanager when a disk doesn't respond
Product: [Plasma] plasmashell Reporter: Diego Ercolani <diego.ercolani>
Component: Activity Switcher sidebarAssignee: Ivan Čukić <ivan.cukic>
Status: RESOLVED NOT A BUG    
Severity: normal CC: kde, plasma-bugs-null
Priority: NOR    
Version First Reported In: 5.8.6   
Target Milestone: 1.0   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Diego Ercolani 2017-08-01 14:40:30 UTC
I have a situation where a micro sd card was inserted in a reader and for this reason there is an untollerable delay accessing filemanager or "open file" dialog in any application.
Looking the console output of plasmashell this should be the issue:

file:///usr/share/plasma/plasmoids/org.kde.plasma.digitalclock/contents/ui/DigitalClock.qml:443:5: QML Text: Cannot anchor to a null item.
Failed enumerating UDisks2 objects: "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."
Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.TimedOut" 
 "Activation of org.freedesktop.UDisks2 timed out"
Failed enumerating UDisks2 objects: "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."
Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.TimedOut" 
 "Activation of org.freedesktop.UDisks2 timed out"
Notifications service registered

So it seem that udisk2 wait too much time to answer plasma with timeout... this give a bad bad bad usability of the desktop.
Comment 1 David Edmundson 2017-08-08 23:54:06 UTC
>untollerable delay accessing filemanager 

Then it's nothing to do with plasmashell, and the logs therof have nothing to do with anything

Also udisks not responding doesn't necessarily mean the app is blocked waiting.
Please get a backtrace of the app being frozen and submit against frameworks-kio.