Bug 442684 - Dolphin keeps freezing on (slow) remote sshfs (and local) filesystem
Summary: Dolphin keeps freezing on (slow) remote sshfs (and local) filesystem
Status: CONFIRMED
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 21.08.1
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
: 469533 (view as bug list)
Depends on:
Blocks:
 
Reported: 2021-09-19 09:18 UTC by kolorafa
Modified: 2024-03-26 16:06 UTC (History)
15 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description kolorafa 2021-09-19 09:18:48 UTC
SUMMARY


STEPS TO REPRODUCE
1. connect to remote fs (sshfs host: folder)
2. open folder in dolphin with preview enabled and tree view (to increase the effect)
3. open dolphin, and experience 20s interface freeze on every action once doplhin interacts with remote fs

OBSERVED RESULT
Looks like loading (thumbnails?) keeps freezing whole dolphin
It's very bad experience to wait sometimes over 20s to go back to different directory or trying to select files to do something with them.

EXPECTED RESULT
never freeze interface, and just load thumbnails and file details slowly

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: plasmashell 5.22.5
(available in About System)
KDE Plasma Version: 5.22.5
KDE Frameworks Version: 5.85.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
I know that doing async task is hard and prone to problems, but it's very bad 
experience.

Same behavior happen if I have hard drive in sleep state, and I open dolphin. Dolphin doesn't even show for the whole thime hard drive spinup (i hear it very clearly as It's external usb drive and it takes at least 7s) and it doesn't matter if I want to use it, as long as It's mounted and shown in dolphin, doplhin trying to get drive usage and that is waking up hard drive.
Comment 1 Patrick Silva 2021-12-01 21:49:27 UTC
Same thing on neon unstable when I open a sshfs share created by KDE Connect with Dolphin.

Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.23.80
KDE Frameworks Version: 5.89.0
Qt Version: 5.15.3
Graphics Platform: Wayland
Comment 2 qlum 2021-12-15 20:42:02 UTC
Similar scenario here, I think my scenario may just be a little easier to reproduce.
On boot I mount a network drive locally, however when I switched routers the ip range changed, rendering it unavailable.
This caused dolphin to be very slow in use, and the effect is very similar to what has been described here.
And probably a lot easier to reproduce. Of course also much easier to fix. 
Below, an anonymized version of my fstab line:
NETWORKUSER@192.168.11.11:/storage/share  /home/USERNAME/NETWORKDRIVE  fuse.sshfs noauto,x-systemd.automount,_netdev,user,idmap=user,follow_symlinks,identityfile=/home/USERNAME/.ssh/id_rsa,allow_other,default_permissions,uid=1000,gid=1000 0 0

Adapting this line to your own setup, while making sure the target cannot be reached, should reproduce it. Possibly just having garbage data here could also work, I have not tested if the folder still gets mounted if you do.

Linux's distribution: Arch Linux
KDE Plasma Version: 5.23.4
KDE Frameworks Version: 5.88.0
Qt Version: 5.15.2
Kernel Version: 5.15.7-zen1-1-zen  (64-bit)
Graphics Platform: X11
Comment 3 owl-from-hogvarts 2022-06-30 08:55:25 UTC
Can confirm this issue.
Linux: Manjaro KDE
KDE Plasma Version: 5.22.5
KDE Frameworks Version: 5.95.0
Qt Version: 5.15.2
Kernel Version: 5.17.15-1-MANJARO x64
Comment 4 bankman22 2022-10-08 15:37:40 UTC
Can confirm. Even worse, Dolphin does not respect the (default) setting of not loading thumbnails for remote filesystems. So not only does it terribly suck at loading (please compare to Windows + SMB), it's impossible to stop it from doing it making Dolphin unsuitable for work with remote filesystems.
Linux: Arch Linux
KDE Plasma Version: 5.25.5-1
KDE Frameworks Version: 5.98.0-1
Qt Version: 5.15.6+kde+r177-1
Kernel Version: 5.19.13-arch1-1
Comment 5 Puspam Adak 2022-12-10 09:10:37 UTC
I can also confirm. Not only thumbnails but reading basic metadata information of remote files also freezes up Dolphin.
Dolphin expects all metadata of files to be loaded immediately, but this fails for remote filesystems.
Comment 6 Augier 2023-01-07 13:12:49 UTC
Same problem here mounting a Samba with CIFS on Dolphin 22.12.0, Plasma 5.26.4, Fedora 37.

The bug is even worse for me as it completely freezes the whole desktop. Nothing responds anymore. I can't even switch to a terminal using ctrl+alt+Fx to kill the process. I have to hard shutdown the system every time.
Comment 7 Matthias Fenner 2023-02-18 08:41:47 UTC
I also have this problem and it is very annoying.
Comment 8 Thibault Molleman 2023-08-07 21:00:07 UTC
Same here, with smb.
Operating System: Garuda Linux 
KDE Plasma Version: 5.27.7
KDE Frameworks Version: 5.108.0
Qt Version: 5.15.10
Kernel Version: 6.4.7-zen1-3-zen (64-bit)
Graphics Platform: Wayland
Processors: 16 × 12th Gen Intel® Core™ i5-1240P
Memory: 31,1 GiB of RAM
Graphics Processor: Mesa Intel® Graphics
Manufacturer: Framework
Product Name: Laptop (12th Gen Intel Core)
System Version: A4
Comment 9 Marco Rebhan 2024-03-26 16:06:30 UTC
*** Bug 469533 has been marked as a duplicate of this bug. ***