Bug 117073 - album export to HTMLGallery would benefit from a treeview widget
Summary: album export to HTMLGallery would benefit from a treeview widget
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Plugin-Generic-HTMLGallery (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR minor
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-25 21:39 UTC by Nicolas Brisset
Modified: 2017-07-08 08:30 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.7.0
Sentry Crash Report:


Attachments
Current export list (110.83 KB, image/png)
2006-01-29 00:07 UTC, Nicolas Brisset
Details
How I'd like it to be (122.18 KB, image/png)
2006-01-29 00:09 UTC, Nicolas Brisset
Details
shows a mess in albums (139.11 KB, image/jpeg)
2006-06-03 16:01 UTC, Angelo Naselli
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nicolas Brisset 2005-11-25 21:39:11 UTC
Version:           0.8.0-rc (using KDE 3.4.2, Mandrake Linux Cooker i586 - Cooker)
Compiler:          Target: i586-mandriva-linux-gnu
OS:                Linux (i686) release 2.6.12-12mdk

I have tried the very latest digikam version, and I am quite impressed by the tremendous progress that happened in the last few months. One of the last things I lack is a nice way to export albums, and particularly a way to respect album hierarchies. In that respect, one first and most needed step would be to have a tree-based widget in the album selection (like for example in amarok -> Configure amarok -> Collection).
There are probably more things to think about for proper album export to external media or other machines, but if at least the file system hierarchy was respected it would be very nice.
Comment 1 Tom Albers 2005-12-28 18:00:55 UTC
which export do you mean?
Comment 2 Nicolas Brisset 2006-01-04 10:15:05 UTC
I mean Album->Export->Archive to CD/DVD (or HTML gallery)

When I do this, I get a listbox with a flat view of all directories. That is not convenient at all...
What I would want is the treeview widget I was mentioning, so that I can make a copy of the images while preserving the hierarchy. Actually, what I'd really like is a way to preserve either the original filesystem hierarchy (album view) OR the virtual (i.e. not existing on the disk, but only in the database) tag hierarchy. But maybe exporting a tag/sub-tag hierarchy is a separate request ?
Comment 3 Nicolas Brisset 2006-01-29 00:05:28 UTC
To make it clearer, I'll attach two screenshots (the first real, the second a quick and dirty mockup). I think this is important, even though it is now possible to export a hierarchy nicely via drag & drop...
Comment 4 Nicolas Brisset 2006-01-29 00:07:09 UTC
Created attachment 14434 [details]
Current export list

This is the way it is now (notice that some items are repeated for some obscure
reason)
Comment 5 Nicolas Brisset 2006-01-29 00:09:12 UTC
Created attachment 14435 [details]
How I'd like it to be

This would be much better, and be a nice complement to drag & drop export (for
one thing, it would allow multiple selections :-))
Comment 6 Joern Ahrens 2006-01-29 00:15:05 UTC
Yes, I agree. But that problem isn't relevant to digikam but to the kipi-plugins.
Comment 7 Nicolas Brisset 2006-03-14 23:56:05 UTC
After digging a bit in the amarok sources, it seems the relevant files are directorylist.{cpp,h} and quite close from what is needed here. Just a little bit of cleanup needed (playlists and config options), the rest could be taken without major changes. I don't know whether there is an equivalent in kdelibs or if using that from amarok is the best approach, but it sounds quite feasible.
The thing that's less clear to me is the general architecture: where is the corresponding dialog instantiated and how are arguments (e.g. checked albums) passed to the plugin...
Comment 8 Nicolas Brisset 2006-04-05 01:16:51 UTC
OK, so this should go into libkipi/libkipi/imagecollectionselector.* from what I can see... Is anybody with better C++ skills and digikam knowledge than I have willing/planning to give it a try ?
Comment 9 Angelo Naselli 2006-06-03 15:46:11 UTC
*** Bug 95115 has been marked as a duplicate of this bug. ***
Comment 10 Angelo Naselli 2006-06-03 15:57:40 UTC
I decided to increase this bug to minor since in some cases it isn't easy
to understand which album to select. Just think to have a album called with the year number and some sub ones with the month names. That means you have more than
one albums with the same name.... 
Comment 11 Angelo Naselli 2006-06-03 16:01:23 UTC
Created attachment 16446 [details]
shows a mess in albums

This shows an example in which is not easy to understand which album to check.
Anyway with other host applications having the availability to choose a
recursive
scan of subdirs can help.
Comment 12 caulier.gilles 2007-07-24 10:05:54 UTC
*** Bug 147770 has been marked as a duplicate of this bug. ***
Comment 13 caulier.gilles 2008-02-24 20:20:16 UTC
SVN commit 778856 by cgilles:

libkipi from trunk (KDE4) : image collection selector widget is not supported as well by the library. implementation is delegate to kipi host 
application to be more adapted to the host model/view used to support image collection.

For digiKam, this is want mean than the new image collection selector support fully the album/tag treeview !

http://digikam3rdparty.free.fr/Screenshots/newkipiimagecollectionselectorwidgetKDE4.png

BUG: 117073
CCMAIL: digikam-devel@kde.org
CCMAIL: kde-imaging@kde.org



 M  +4 -4      CMakeLists.txt  
 M  +6 -322    imagecollectionselector.cpp  
 M  +5 -39     imagecollectionselector.h  
 M  +1 -1      interface.cpp  
 M  +5 -1      interface.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=778856
Comment 14 caulier.gilles 2008-02-24 20:23:21 UTC
SVN commit 778857 by cgilles:

simpleviewerExport plugin from trunk (KDE4) : this plugin is the first one to use new image collection selector widget from digiKam core
CCBUGS: 117073


 M  +1 -1      selectionpage.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=778857
Comment 15 caulier.gilles 2008-02-24 20:25:37 UTC
SVN commit 778858 by cgilles:

digiKam from trunk (KDE4) : new image collection selector widget for kipi-plugins. Code not yet pure Qt4. This code can be used if we want to backport this patch under KDE3 branch
CCBUGS: 117073


 M  +166 -1    kipiinterface.cpp  
 M  +34 -10    kipiinterface.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=778858
Comment 16 caulier.gilles 2017-07-08 08:30:55 UTC
With new HTML Gallery tool from digiKam core 5.6.0, it's now possible to export both album selection or images selection. 

Gilles Caulier