Bug 134222

Summary: Export doesn't respect items selections
Product: [Applications] digikam Reporter: Dan Ohnesorg <dan>
Component: Plugin-WebService-PiwigoAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: wishlist CC: ajg02, bflat1, caulier.gilles, ctibor.brancik, frederic.coiffier, imaging-bugs-null
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In: 2.6.0
Sentry Crash Report:
Attachments: Proposed fix to allow uploading of pre-selected files

Description Dan Ohnesorg 2006-09-17 18:47:42 UTC
Version:           svn (using KDE Devel)
Installed from:    Compiled sources
OS:                Linux

It would be good, if the gallery2 export will respect which photos are selected in digikam view. The print wizard works OK, only selected photos are printed, with gallery2 export you have to select photos again in export dialog.
Comment 1 Colin Guthrie 2006-09-18 00:11:41 UTC
I agree the image selection is rubbish.

I wont fix it this way tho' as there are other changes that I would like to do that would make this unecessary. That said, I would probably still want to keep the current sytle of interface for manual transfers... hmmmm. I'll give it some thought. If you want an idea of what kind of interface I'm looking to create, have a look at the other gallery bugs :)
Comment 2 Andreas Heinz 2007-06-22 14:57:18 UTC
how about just adding the feature in the gallery kipi plugin to select more than one tag.
this way you could mark tags wich are "foo" and add the tag "bar". that way only pics with both (or more) tags would be exported.
additionally there could be an option to say (include pictures of all tags, or include only pictures that have all tags) and let choose.

i think this would be a solution that's fast implemented but would work too :)
Comment 3 Colin Guthrie 2007-06-22 15:00:32 UTC
Any time I spend on this will just delay the Sync plugin. I'd rather focus my efforts there. If you want to write a patch however please feel free!
Comment 4 Ian Hubbertz 2008-05-10 03:05:14 UTC
*** This bug has been confirmed by popular vote. ***
Comment 5 Ian Hubbertz 2008-05-10 03:08:03 UTC
As a workaround you can copy all selected images (or the result of a query) to a temp-album and export this.
Comment 6 Ian Hubbertz 2008-05-10 03:15:04 UTC
IMHO the approach of the gallery export script is wrong: Instead of showing a complete album and image selector it should only export any currently selected image.
It's a task of the application to help the user to select the images. The task of the plugin should only be the export. 
Comment 7 Andrea Diamantini 2008-12-09 00:07:14 UTC
(In reply to comment #6)
> IMHO the approach of the gallery export script is wrong: Instead of showing a
> complete album and image selector it should only export any currently selected
> image.
> It's a task of the application to help the user to select the images. The task
> of the plugin should only be the export. 
> 

I agree. I'm working to refactor the plugin in this direction. Anyway, this could happen just on the next release.
Comment 8 caulier.gilles 2011-12-22 13:16:15 UTC
Dan,

This file still valid using kipi-plugins 2.4 ?

Gilles Caulier
Comment 9 Andrew Goodbody 2012-03-26 19:41:42 UTC
*** Bug 289463 has been marked as a duplicate of this bug. ***
Comment 10 Andrew Goodbody 2012-03-26 19:42:49 UTC
*** Bug 154696 has been marked as a duplicate of this bug. ***
Comment 11 Andrew Goodbody 2012-03-26 20:11:30 UTC
Created attachment 69919 [details]
Proposed fix to allow uploading of pre-selected files
Comment 12 Andrew Goodbody 2012-03-27 06:47:18 UTC
Git commit 9dfafd20b0cbe191e879e2c1088ce40a48f0890f by Andrew Goodbody.
Committed on 27/03/2012 at 08:30.
Pushed by goodbody into branch 'master'.

Pre-selection of files for Gallery exporter

Replace the call to open a file selection dialogue box to obtain the
list of files to upload with a call that simply returns the list of the
files that are currently selected in digikam. Also update the button
text to reflect the changed behaviour.

M  +2    -2    galleryexport/gallerywindow.cpp

http://commits.kde.org/kipi-plugins/9dfafd20b0cbe191e879e2c1088ce40a48f0890f
Comment 13 caulier.gilles 2012-03-27 07:23:59 UTC
Git commit a9ad49605e4e27a9c0c905b294883901afc86e8c by Gilles Caulier.
Committed on 27/03/2012 at 09:22.
Pushed by cgilles into branch 'master'.

update NEWS file

M  +3    -1    NEWS

http://commits.kde.org/kipi-plugins/a9ad49605e4e27a9c0c905b294883901afc86e8c