Bug 133594 - long delay when opening directory with lots of files (70000)
Summary: long delay when opening directory with lots of files (70000)
Status: RESOLVED FIXED
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 16.12.2
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: Peter Penz
URL:
Keywords:
: 149825 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-09-05 17:24 UTC by Christoph Burger-Scheidlin
Modified: 2012-01-05 09:28 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In: 4.8.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christoph Burger-Scheidlin 2006-09-05 17:24:30 UTC
Version:            (using KDE KDE 3.5.4)
Installed from:    Gentoo Packages
Compiler:          gcc 4.1.1 
OS:                Linux

When opening a directory with 70000 (empty) files, konqueror takes about 7 seconds from the click on the directory icon to display the directory content.

Expected Behavior:
Window opens empty more or less immediately, progress bar in the lower right corner indicates loading process.


Note: Trying it several times, sometimes the progress bar shows up, but not always. The delay is always rather high.

Reproduce:
mkdir Insane && cd Insane && for i in `seq 1 70000`; do touch $i; done
open konqueror and go to Insane
Comment 1 FiNeX 2008-06-01 14:12:24 UTC
Bug confirmed in 3.5.9.
Even Dolphin on KDE 4 has this "problem".
Comment 2 Peter Penz 2008-06-01 14:24:35 UTC
Dolphin for KDE 3 had the behavior like Christoph describes (immediate opening, displaying progress bar). We did not change the logic for this in Dolphin for KDE 4, but it seems that the file-kio-process in KDE 4 does not send an update before it has finished loading all 7000 files like this was done in KDE 3... Should be only a minor issue I hope in the kio-slaves and have added this issue to my TODO-list now.
Comment 3 Peter Penz 2008-06-08 15:43:37 UTC
Digged into the kio classes and I could not find out the root cause of this issue. Dolphin only gets one signal 'percent' with the value 100 with KDE 4 even after several seconds have been passed. In KDE 3 the percent signal has been emitted a lot more often AFAIK.

Maybe someone with good kdelibs/kio/kio experience could have a look on this...
Comment 4 Rui G. 2008-07-13 02:22:43 UTC
*** Bug 149825 has been marked as a duplicate of this bug. ***
Comment 5 Dawit Alemayehu 2012-01-05 04:12:57 UTC
KDE 3 is no longer supported and filemangement in KDE 4 is now handled by Dolphin. This issue seems to have been addressed in KDE 4.8 with the upcoming Dolphin 2.0 release.