[Digikam-devel] #images in album/tag list

Caulier Gilles caulier.gilles at kdemail.net
Sun Jan 28 09:11:52 GMT 2007


Le Samedi 27 Janvier 2007 23:54, Luka Renko a écrit :
> Hi!
>
> I would like to add number of images to album and tag names as requested in
> bug [1].
>
> 1. Number of images would be added to album/tag name
> Example (similar to folders in Kmail for unread messages):
>   My Albums
>      Test (14)
>      Another (1234)
>
> 2. I would add this only to My Albums and My Tags
> Not sure if this really makes sense for Tag Filters (sidebar).

well, if we provide this options, to be homogenous, all views where albums 
view are visible (virtual  or physical album) must show these informations. 
This include :

- album tree view,
- date tree view
- search tree view
- tags filtrer tree view
- tags tree view from left side bar
- tags tree view on Comments & Tags

Some of piece can be set on/off independetly, but not sure.

Warning, to have study this way in the past, i have delayed it because it's 
can be take a while to do, especially to do all regression test.

In fact, i'm not sure if this is the right way to do it for 0.9.1-beta1.

This is depand of free time available for you. Take a care (:=)))

>
> 3. Make it configurable
> Since we have images/tags in DB, I will just perform additional "select
> count()" statements to retreive appropriate numbers. 
> This may have some 
> performance penalty for large collections

no, because something like this already exist in curent implementation. Look 
on header of Album icons view. You have this information (:=)))

> , so it make sense to have it 
> optional. 

sure 

> I plan to add these two options to "Miscelaneous" config: 
> - Show number of images after Album name
> - Show number of images after Tag name

yes

>
> Any other concerns with proposed implementation?
> I think similar might be useful for Dates too, but may be added later if
> requested by users...

just my preview remarks.

A nice week end

Gilles



More information about the Digikam-devel mailing list