Bug 155408

Summary: wish: thumbbar in the album view?
Product: [Applications] digikam Reporter: Mike Fink <zed>
Component: Thumbs-BarViewAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: wishlist CC: marcel.wiesweg
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In: 7.6.0
Sentry Crash Report:
Attachments: First Thumbbar for AlbumGUI (KDE4)
Screenshot of Thumbbar embeded in albumgui
patch revision 2

Description Mike Fink 2008-01-10 17:42:12 UTC
Version:           0.9.3 (using KDE KDE 3.5.7)
Installed from:    SuSE RPMs
OS:                Linux

A great addition to the album view would be thumbbar (e.g. below the viewed image, or to the left, replacing "My Albums" or "My Dates" or whatever is active at the moment) as soon as the user presses F3 (Image => View).
Comment 1 Mikolaj Machowski 2008-01-10 20:28:36 UTC
Don't like that. If anything embedded thumbbar should be at the bottom/top of preview area.
Comment 2 Christian Reiner 2008-01-13 19:36:29 UTC
An additional thumbs bar definitely make sense. 
It would keep you from being thrown back to the current thumbs view which is pretty unconvenient. Instead a thumbs bar can be displayed (and used) _whilst_ a pic is selected and shown in big, side by side. 
Certainly its nice if the position can be chosen, but for the start I opt for the left side: more and more current screens come in wide format. The extra space on the side is perfect for an additional thumbs bar. Nothing is lost, much is gained in usability. 
---
arkascha
Comment 3 Mike Fink 2008-01-13 23:33:37 UTC
At the moment I can see 3 more or less useful possibilities:

a) The thumb bar on the left. (e.g. replacing the album list)
T iiiiii D
T iiiiii D
T iiiiii D
T iiiiii D

or beside the album view
A T iiiiii D
A T iiiiii D
A T iiiiii D
A T iiiiii D

b) The thumb bar below the picture.
A iiiiii D
A iiiiii D
A iiiiii D
A iiiiii D
A TTTTTT D

c) The thumb bar below all. (Album list and exif info will have to be 
decreased in size, when the image is displayed in full size.
A iiiiii D
A iiiiii D
A iiiiii D
A iiiiii D
TTTTTTTTTT

legend: 
A Album list
i image
D Details (e.g. exif-info)
T Thumb nails

My personal favorite would be c) But I can understand that changing the 
size of the album view and the exif info can make a mess and is maybe not 
clearly understandable for the user.

b) is maybe a not too useful, if the album view and the exif info are 
visible. Because than the thumb nail list could be rather short.

Thus I would choose a) (thumbs replacing the album view or even beside the 
album view) as well. 
Comment 4 caulier.gilles 2008-01-14 06:23:34 UTC
Mike,

>a) The thumb bar on the left. (e.g. replacing the album list)

no. too complex and not homogenous with the rest of gui

> or beside the album view 

idem...

> b) The thumb bar below the picture. 

yes, this is the fine way

> c) The thumb bar below all. (Album list and exif info will have to be
>decreased in size, when the image is displayed in full size. 

no...

For performance reason, this can be only do with KDE4 (0.10.0) when thumbbar widget will use the multithreaded cache mechnism instead the thumbs KIO slave.

Gilles Caulier
Comment 5 Mike Fink 2008-01-14 18:24:50 UTC
Personally I can perfectly live with solution b). Definitely useful and usable. Anyhow, I am just a user making suggestions and looking foreward to the next release(s) of a great tool.
Cheers, Mike
Comment 6 caulier.gilles 2008-03-17 15:04:25 UTC
Created attachment 23933 [details]
First Thumbbar for AlbumGUI (KDE4)

Hi all,

I'm working on this file currently... Some progress have be done. It's not yet 
perfect of course.

1/ The thumbbar widget used is the same than LightTable. This widget must be
re-implemented from parent thumbbar.cpp class to remove unwanted features as
options from pop-up context menu for ex.
2/ Ordering of items in thumbbar is not yet the same than IconView. 

Note: The patch is against KDE4 implementation, not KDE3.
Comment 7 caulier.gilles 2008-03-17 15:08:45 UTC
Marcel, 

For point 2/ how do you deal to make an ordering of items accordingly with AlbumSettings::getImageSortOrder() ?

ThumbBar widget is a QScrollView, not an QIconView. We don't have a something like AlbumIconGroupItem::compare() to perform ordering...

Gilles Caulier
Comment 8 caulier.gilles 2008-03-17 15:22:06 UTC
Created attachment 23934 [details]
Screenshot of Thumbbar embeded in albumgui
Comment 9 Marcel Wiesweg 2008-03-17 19:52:16 UTC
It would be easier if the ThumbbarItems were stored in a QList, so we could use Qt algorithms. It's certainly difficult to resort the custom linked-list that the items currently form.
Comment 10 Arnd Baecker 2008-03-17 20:41:43 UTC
Would using a QList still allow to tackle (at some point ;-)
Bug 91562: Change order of pictures in the virtual album manually
Bug 134389: WISH: Sort images by date - even when spanning albums
?
Comment 11 Marcel Wiesweg 2008-03-17 22:27:17 UTC
Arnd, this is about the ThumbBar as in the Light Table or ShowFoto only. Not about the IconView code.
The IconView code is using a similar list layout, but there with two levels of custom lists (first the group container, each containing the chain of items). These two levels make sorting as flat list difficult there.
Comment 12 caulier.gilles 2008-03-17 22:32:48 UTC
Marcel,

I will trying to use AlbumIconView::allImageInfos() to get the list ordered from iconview directly. no need to re-invent the wheel. Using AlbumIconView::signalItemsAdded() sound fine to handle changes from icon view. 

Your viewpoint ?

Gilles
Comment 13 caulier.gilles 2008-03-17 22:44:06 UTC
Created attachment 23939 [details]
patch revision 2

With this patch thumbbar ordering follow iconview content...

Gilles Caulier
Comment 14 caulier.gilles 2008-03-18 15:02:26 UTC
SVN commit 787020 by cgilles:

digiKam from trunk (KDE4) : add thumbbar behind preview area from AlbumGUI when preview mode is used (F3). 
Icon view filter available to status bar and TagFilters still suitable to change thumbbar contents in live.
Thumbbar items can display Rating of pictures. More informations about thumbbar items are avaialble using 
pop-up tool tips is you enable this option in config dialog.
A fresh screenshot is available at these url :

- with Digikasa color theme : http://digikam3rdparty.free.fr/Screenshots/thumbbar4albumgui.png
- with Desert color theme : http://digikam3rdparty.free.fr/Screenshots/thumbbarwithpreviewmode.png

CCMAIL: digikam-devel@kde.org
BUG: 155408
CCBUGS: 148502



 M  +3 -5      CMakeLists.txt  
 M  +3 -5      albumiconview.cpp  
 M  +5 -2      albumiconview.h  
 M  +90 -6     albumwidgetstack.cpp  
 M  +13 -4     albumwidgetstack.h  
 M  +17 -4     digikamview.cpp  
 M  +5 -4      digikamview.h  
 AM            imagepreviewbar.cpp   [License: GPL (v2+)]
 AM            imagepreviewbar.h   [License: GPL (v2+)]
 M  +8 -8      imagepreviewview.cpp  
 M  +1 -1      imagepreviewview.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=787020