Bug 445609

Summary: Navigating rclone mounts too slow with KDE file picker, but very fast on Dolphin
Product: [Frameworks and Libraries] frameworks-kio Reporter: Rafael Lima <rafael.palma.lima>
Component: Open/save dialogsAssignee: KIO Bugs <kio-bugs-null>
Status: REPORTED ---    
Severity: normal CC: kdelibs-bugs-null, leafee98, nate
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Rafael Lima 2021-11-16 19:31:52 UTC
SUMMARY
I have some rclone mounts on my system for my OneDrive accounts (personal, business, etc). They're all working fine and when I navigate them using Dolphin, they're very responsive. Opening folders with many items usually takes less than a second to load using Dolphin.

However, when I'm on an application (f.i. Kate, LibreOffice, etc) and I use the File Picker to navigate the rclone mounts and choose a place to save the file, the navigation happens very slowly. Even for folders with few items, it takes about 10 seconds to load. Folders with many items take 30 seconds.

I don't know exactly the problem, but it seems the file picker is caching recursively the entire folder contents, whereas Dolphin only loads the current folder contents.

STEPS TO REPRODUCE
1. Create a rclone mout
2. Navigate it on Dolphin
3. Navigate the same mount with the file picker

OBSERVED RESULT
On Dolphin everything is snappy... using the file picker on the same mount is very slow.

EXPECTED RESULT
Both should have the same speed.

SOFTWARE/OS VERSIONS
Operating System: Kubuntu 21.10
KDE Plasma Version: 5.23.3
KDE Frameworks Version: 5.88.0
Qt Version: 5.15.2
Kernel Version: 5.11.0-38-generic (64-bit)
Graphics Platform: X11
Processors: 12 × Intel® Core™ i7-10750H CPU @ 2.60GHz
Memory: 15,5 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics
Comment 1 Rafael Lima 2022-03-15 23:43:40 UTC
Hi, I would like to add that when I use the Gnome file picker in KDE the rclone mounts are very fast to navigate. This issue only happens with the KDE file picker.

This bug is still present in Plasma 5.24.3.