[Digikam-devel] [Bug 282907] No items are displayed when I enable 'Include Album Sub-Tree' in a folder containing one image and many folders

Rob D Robert.M.Davies at blueyonder.co.uk
Mon Jan 30 03:37:55 UTC 2012


--- Comment #26 from Rob D <Robert M Davies blueyonder co uk>  2012-01-30 03:37:55 ---

Sorry it's taken me so long to get around to looking into this, but I finally
have the exact problem:

An album will not display if the total number of folders/subfolders below it
(and including itself) is >= 1000.

This is reproducible every time for me.
Others should be able to reproduce it by creating a folder with 1000 subfolders
(attached script may help, comments on the script are welcome too! - run with

`./makeLotsOfDirs "/path/to/testingDirectory"`


Place any digikam-compatible image file(s) in any subfolder(s), and add the
folder as an album in digikam. Select the album root and turn on 'Include Album
No images are displayed.
Delete 2 or more subfolders and refresh the digikam view...
The image(s) is/are displayed.
Try adding more subfolders again, refresh the digikam view...
No images are displayed once the total number of folders/subfolders in the
album is >= 1000.

Now, why this should happen (and why 1000, not 1024), I don't know. Anyone more
familiar with the workings of digikam care to take a guess?

Here's hoping this helps on the way to fixing it!


Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

More information about the Digikam-devel mailing list