[digiKam-users] Hide empty folders in collections

Dumelle, Timo (E+K) TDumelle at ek-gmbh.de
Tue Nov 19 09:46:59 GMT 2019


Well, then how about adding the option to hide them?

[X] Hide folder without visible content

-----Ursprüngliche Nachricht-----
Von: Digikam-users <digikam-users-bounces at kde.org> Im Auftrag von Remco Viëtor
Gesendet: Montag, 18. November 2019 16:45
An: digiKam - Home Manage your photographs as a professional with the power of open source <digikam-users at kde.org>
Betreff: Re: [digiKam-users] Hide empty folders in collections

On lundi 18 novembre 2019 11:35:20 CET Dumelle, Timo (E+K) wrote:
> Hi,
> 
> Since you managed to get digikam start in about 1 - 2 minutes instead 
> of 3 minutes with a 350000 pics mysql database, I gave it another try!
> 
> I added a collection which basically is a folder on a share where 
> word, excel, pdf, pictures and movies are dumped into project related 
> subfolders In this collection there are many folders that don't 
> contain digikam related stuff, so the folders are "empty" for digikam
> 
> Is there an option to hide / ignore empty folders?
> I think that would add an extra on performance and would help to 
> reduce confusion on my users

The only way I see for Digikam to decide a folder is "empty", is to check the folder contents, i.e. iterate over the files in the folder. That's what's happening now as well to check for new files. So a "hide empties" option will at best not add extra processing, and thus not help in start-up time.

It might still be worthwhile, in order to simplify the interface. Then again,
*not* seeing folders you know are there can also be confusing, it all depends on the users. E.g. I know that the albums in Digikam represent directories on the disk, so not seeing some only because there are no images would be more confusing for me.





More information about the Digikam-users mailing list