Bug 414068 - Dolphin/dialogs should cache folder contents instead of repopulating the folder view every time.
Summary: Dolphin/dialogs should cache folder contents instead of repopulating the fold...
Status: CONFIRMED
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-11-12 15:42 UTC by nervecenter7
Modified: 2022-07-31 01:20 UTC (History)
4 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 nervecenter7 2019-11-12 15:42:26 UTC
SUMMARY

Whenever browsing to a large folder with Dolphin or a save dialog, the contents must be repopulated fresh each time. Clicking before the refresh is finished can lead to browsing into the wrong folder or accidentally clicking a file as contents fill in. Having to wait slows down browsing immensely and likely thrashes the hard drive.

Dolphin/KDE should have an in-memory cache which is as simple (and thus small) as possible, which stores the highest sorted (and thus visible) contents of commonly browsed folders, such that file browsing is as instantaneous and smooth as possible. Thumbnails could also be stored if the space to store them is not an issue.


STEPS TO REPRODUCE
1. Find a large folder with many files.
2. Browse to it in Dolphin.


OBSERVED RESULT

Folders and files take several seconds to repopulate and fill the view, most noticeable on hard drives.


EXPECTED RESULT

The highest-sorted folder contents should already be present and visible. This behavior is best-represented by Windows' file manager.
Comment 1 nervecenter7 2019-11-21 13:19:13 UTC
I should also mention that GTK file dialogs tend to have instantly populated results.
Comment 2 flan_suse 2022-07-31 01:19:19 UTC
I think this is related: https://bugs.kde.org/show_bug.cgi?id=293888

:(
Comment 3 flan_suse 2022-07-31 01:20:34 UTC
> I think this is related: https://bugs.kde.org/show_bug.cgi?id=293888

Oops! Correction.

I think THIS bug is related: https://bugs.kde.org/show_bug.cgi?id=428373