Bug 461394 - Listing items in a folder is unusable slow (with all previews disabled)
Summary: Listing items in a folder is unusable slow (with all previews disabled)
Status: REPORTED
Alias: None
Product: dolphin
Classification: Applications
Component: view-engine: general (show other bugs)
Version: 21.12.3
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-11-04 03:23 UTC by Nathan Shearer
Modified: 2022-11-04 03:23 UTC (History)
2 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 Nathan Shearer 2022-11-04 03:23:26 UTC
STEPS TO REPRODUCE
1. Set your Dolphin view mode to Compact and disable all Previews in Settings->Configure Dolphin->General->Previews
2. Put a 1000+ songs in one folder.
3. Open that folder in Dolphin and attempt to navigate to one item.

OBSERVED RESULT
Dolphin will start listing the directory and inspecting every single item (probably to draw an icon). This radically slows down the simple process of listing the items in the directory so much that a folder with over 1000 items is completely unusable. This is significantly worse on even a nfs4 mount over local gigabit LAN.

EXPECTED RESULT
List the items as quickly as `ls --color=never`. For extra detail like Previews and icons, do this in the background without disrupting the user. Perhaps prioritize items that the user has selected, then within view of the window, then the rest in the folder.

SOFTWARE/OS VERSIONS
Operating System: Gentoo Linux
KDE Plasma Version: 5.23.5
KDE Frameworks Version: 5.92.0
Qt Version: 5.15.3
Kernel Version: 5.15.61 (64-bit)
Graphics Platform: X11
Processors: 8 × 11th Gen Intel® Core™ i7-1165G7 @ 2.80GHz
Memory: 31.1 GiB of RAM
Graphics Processor: Mesa Intel® Xe Graphics

ADDITIONAL INFORMATION
Note that `ls` exhibits the same behaviour when --color is enabled. Run `ls --color=never` and this is how Dolphin should perform. Quickly.