Bug 364053 - Dolphin is very slow when listing NFS folders
Summary: Dolphin is very slow when listing NFS folders
Status: RESOLVED WORKSFORME
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 17.12.2
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-06-07 10:20 UTC by Attila
Modified: 2020-11-23 12:55 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 Attila 2016-06-07 10:20:20 UTC
The listing of folders is very slow on NFS directories (like the users home directory) when "size column" is enabled. During this time dolphin doesn't respond, because it's busy with collecting informations about the number of subdirectories. This behavior is since version 15.12.3.

Reproducible: Always

Steps to Reproduce:
1. Open Dolphin
2. Browse on NFS folders with subdirectories
3. Dolphin shows listing


Expected Results:  
Dolphin should show the listing instantly like on local folders.
Comment 1 Attila 2018-02-23 10:34:00 UTC
This bug is still not fixed or even confirmed.
Could you please take a look at this bug again, because it has been almost 2 years since I have reported it.
Comment 2 Christoph Feck 2018-03-15 01:50:41 UTC
The 'NEEDSINFO' status is used when developers need information from the bug reporter. Resetting status, because this is not the case here.
Comment 3 Jaime Torres 2018-06-03 09:14:35 UTC
Probably a duplicate of bug 352759
Comment 4 Attila 2018-06-06 12:55:43 UTC
(In reply to Jaime Torres from comment #3)
> Probably a duplicate of bug 352759

Hi,

I would say that this is definitely a duplicate and it still exists (Dolphin 17.12, Fedora 27).
It has been almost 3 years since the bug 352759 was reported.
Please dear developers take a look at this bug and let me know if you need more details or you want me to test. This bug is super annoying and gives the user a bad user experience.
Comment 5 Attila 2018-06-08 08:33:00 UTC
I can even confirm this bug with Dolphin 17.12.2, Fedora 28.
Comment 6 DeMus 2018-06-08 11:24:12 UTC
I use Dolphin 18.04-2 on KDE Plasma 5.12.5, Frameworks 5.46.0 and Qt 5.11.0 and I see a slow Dolphin not only on nfs shares but also in local directories.
It happens when I:
use additional information ==> size (to show the size of files and amount of items in a folder)
and Preview, to see pictures instead of icons.
When I deselect Preview the Size info is instantaneous.
Comment 7 DeMus 2018-06-08 11:56:45 UTC
See my previous post;
I have now downgraded Dolphin in a few steps until 16.12-2 and the situation is exactly the same, so I wonder if it is caused by Dolphin.
Using the older versions never showed a problem and now there is a problem with them. I guess it's caused by something else.

Additional folder info (size) using Preview view mode is shown very slow (2-3 seconds per folder)
No previews of pictures, text files, etc. Also not in the F11 preview panel.
Comment 8 Jaime Torres 2018-06-08 15:56:04 UTC
Confirmed. When Preview is enabled, 
QFileInfoList QDir::entryInfoList(Filters filters, SortFlags sort) const
is called almost 3 times more than when Preview is disabled.
In my simple test: 
QString QFileSystemEntry::fileName() const is called 62,966 times vs 22,912 times.
Comment 9 Attila 2020-10-29 08:32:02 UTC
Please close this report because Dolphin works again properly (see Bug 352759).
Comment 10 Christoph Feck 2020-11-23 12:55:24 UTC
Thanks for the update; closing.