Bug 237713 - dolphin fails when entering large directories
Summary: dolphin fails when entering large directories
Status: RESOLVED FIXED
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 16.12.2
Platform: Debian testing Linux
: NOR normal
Target Milestone: ---
Assignee: Peter Penz
URL:
Keywords:
: 237874 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-05-15 14:30 UTC by spamfang1199
Modified: 2011-12-17 21:31 UTC (History)
2 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 spamfang1199 2010-05-15 14:30:52 UTC
Version:            (using KDE 4.4.3)
OS:                Linux
Installed from:    Debian testing/unstable Packages

When I try to enter a directory with thousands of images, dolphin shows only an selection of them. It produces this list randomly. And I cannot access the ones, which are not shown within dolphin. Even if i try to acces them directly via CLI, i still cannot access them. 

F.I.: When try from commandline: gwenview /path/to/pictures/images5213.jpg it fails, saying: Could not open file.
Comment 1 Peter Penz 2010-05-16 11:25:47 UTC
Thanks for the report, but if you cannot access the files even from the command line, then this is no Dolphin issue. How do you know that the files are there if you cannot access them with the command line?
Comment 2 spamfang1199 2010-05-17 10:36:40 UTC
Sorry, I did not make that clear:

1. Dolphin does not show many of them at all. The folder contains 2772 jpg files. For Dolphin many of them seem not to exist. They simply aren't shown in Dolphin, no matter which view mode i choose. But I can see them in CLI via ls & co.

Today I found out, that I had to hit F5 (refresh), and suddenly all images showed up correctly. But that did not last long. Once i left this folder and came back later, it was exactly the way before. I had to press F5 again!

But that should not be necessary, shouldn't it?

2. About Gwenview: That was strange: Yesterday i could not view the images, which were not shown by Dolphin (gwenview said, it could not load the image). But today i tried via CLI (gwenview /path/to/images/xyz.jpg) and that worked.

The funny thing about it is, that Gwenview still shows me only those images, which are shown in Dolphin BEFORE i hit F5. I have not found a way to bring all the images back to Gwenview.

SUMMARY:

1. It should not be necessary to hit F5 when entering a directory. 
2. Gwenview shows the same behaviour, so this might be related.
Comment 3 spamfang1199 2010-05-17 10:38:41 UTC
*** Bug 237874 has been marked as a duplicate of this bug. ***
Comment 4 Peter Penz 2010-05-17 18:59:55 UTC
> 1. It should not be necessary to hit F5 when entering a directory. 

Yes, this should not be necessary.

> 2. Gwenview shows the same behaviour, so this might be related.

This indicates an issue on lower layers (kdelibs or filesystem), not in Dolphin itself. Do you use a special file system (mounted smb-share or something like this)?
Comment 5 spamfang1199 2010-05-18 12:17:26 UTC
The filesystem is ext3 laying on a luks-partition. Never had any probs with this folder, until upgrade to 4.4.3-1 (4.3.4 was ok).

You could just reproduce this error, by copying many files to one folder, or letting a script generate many small files, all enumerated nicely, so that you can which ones are missing.
Comment 6 Peter Penz 2010-05-18 12:40:46 UTC
Thanks for the update!

> You could just reproduce this error, by copying many files to one folder

I have so many folders locally with a huge number of files on my harddisk (~ 20000) to test Dolphin with it, but never faced an issue like this. I also cannot remember any similar bug report, where files just "disappeared". I'd suggest to wait until similar bug reports are provided, maybe they give some hints about the configuration which helps us to identify the root cause.
Comment 7 spamfang1199 2010-05-20 15:44:22 UTC
Perhaps my filenames do cause the problems. F.i.: "Holidays - 2009 - 16th day - number 001.jpg"?
Comment 8 FiNeX 2010-08-01 20:54:51 UTC
Dolphin sometimes is slow when loading directories with > 1000 images (preview enabled)... but it should display all the files.