When I mount a filesystem using sshfs, plasma totally freezes until actual connection is made, i.e. until I enter connection password or cancel connection by ctrl-c. STEPS TO REPRODUCE 1. try to mount filesystem by sshfs, but do not enter ssh password; 2. observe plasmashell is frozen: you cannot restore applications from system tray, you cannot switch desktops, nothing; 3. stop connection attempt by ctrl-c; 4. observe plasmashell is working again like nothing happened. OBSERVED RESULT Plasmashell is frozen while password is being asked. EXPECTED RESULT Plasmashell should not freeze. SOFTWARE/OS VERSIONS Operating System: Debian GNU/Linux 12 KDE Plasma Version: 6.3.2 KDE Frameworks Version: 6.11.0 Qt Version: 6.8.2 Kernel Version: 6.13-amd64 (64-bit) Graphics Platform: X11 ADDITIONAL INFORMATION This behavior started in 6.3, before that everything were fine. Only notification "filesystem is not responding" were shown, if password was not entered timely.
Probably related: plasma is quite unresponsive when disks are on heavy load, like its almost impossible to use system tray. Looks like something synchronously polling mounts.
*** Bug 502454 has been marked as a duplicate of this bug. ***
Can confirm on 6.3.6. Unfortunately I have to use ``` sshfs user@host:/ mymount ``` which let Plasmashell freeze if the host is not responding (fast enough), as I can't mount the remote directory due to bug #504148.
Confirmed. KFilePlacesModel (presumably from Notifications) reloads its list upon a new device appearing, querying mountpoints to find KDE Connect (which is also sshfs) and then blocking on a statvfs on that defunct sshfs mount.
A possibly relevant merge request was started @ https://invent.kde.org/frameworks/kio/-/merge_requests/1897
A possibly relevant merge request was started @ https://invent.kde.org/frameworks/kio/-/merge_requests/1906
Git commit a00d12417064be64cdda93eb8bf73fffc3e5fb41 by Kai Uwe Broulik. Committed on 03/06/2025 at 15:19. Pushed by broulik into branch 'master'. KFilePlacesItem: Try harder not to check for KDE Connect KMountPoint might block in statvfs on a broken sshfs mount. We know that KDE Connect mounts into XDG_RUNTIME_DIR, so any other mount can't be it. Furthermore, if the place has been hidden before we don't need to do any of this. M +23 -12 src/filewidgets/kfileplacesitem.cpp https://invent.kde.org/frameworks/kio/-/commit/a00d12417064be64cdda93eb8bf73fffc3e5fb41
Im sorry for maybe dumb question, but... Why this situation is even possible? How could it be, if single operation in a plugin causes blocking the whole plasma? Shouldnt it be done in separate thread in the first place?
I cannot reproduce anylonger the bug on Plasma 6.4.0
Looks like Plasmashell indeed no longer freezes, just Dolphin still doesn't open until the connection is established or aborted.