Bug 329524 - Moving versioned pictures to a different album ungroups them
Summary: Moving versioned pictures to a different album ungroups them
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Albums-Versioning (show other bugs)
Version: 3.5.0
Platform: Compiled Sources Linux
: NOR wishlist
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-02 11:48 UTC by Hans-Peter
Modified: 2022-02-02 04:58 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 4.3.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Hans-Peter 2014-01-02 11:48:25 UTC
If you produce versions of a picture, these versions can be shown in the album preview as one preview icon. If you move this icon (by drag and drop or by 'move in album') to another album, only the last version is moved, not the older one. This is counter intuitive, i think the whole pile of versions including the original should be moved.
i propose to handle a stack of versions exactly like a group  and eventually also show an icon indicating that there are versions. Optionally, a context action might allow to only move selected versions.

Reproducible: Always

Steps to Reproduce:
1. Create a new version of a picture.
2. Move it to another album.
3. Only the last version will be moved, moving the other versions as well will result in multiple file in the target album and the version info is lost.
Comment 1 caulier.gilles 2014-08-30 22:18:40 UTC
Hans,

This file still valid using last digiKam 4.2.0 ?

Gilles Caulier
Comment 2 Hans-Peter 2014-08-31 11:14:58 UTC
On Sat, 30 Aug 2014 22:18:40 +0000
Gilles Caulier <caulier.gilles@gmail.com> wrote:

> https://bugs.kde.org/show_bug.cgi?id=329524
> 
> Gilles Caulier <caulier.gilles@gmail.com> changed:
> 
>            What    |Removed                     |Added
> ----------------------------------------------------------------------------
>                  CC|                            |caulier.gilles@gmail.com
> 
> --- Comment #1 from Gilles Caulier <caulier.gilles@gmail.com> ---
> Hans,
> 
> This file still valid using last digiKam 4.2.0 ?

Moving or copiing a picture with a version now works without ungrouping
(tested with drag&drop). But if i select again the now moved pictures
directly after this operation, digikam crashes sometimes (not always).

Also when i copy the group, paste in another folder, grouping is still
active as it should. However deleting this group again only deletes the
versions, not the originals (both jpg and xmp). Is this by intention?

Does this help? If not, pls. contact me again for more testings. If really
needed, i should be able to compile a version myself.

My Digikam is V. 4.2.0, KDE 4.13.97 from
https://launchpad.net/~philip5/+archive/ubuntu/extra. Running Ubuntu 14.04

Regards,
	HP

> 
> Gilles Caulier
> 
> -- 
> You are receiving this mail because:
> You reported the bug.
Comment 3 caulier.gilles 2014-08-31 11:23:38 UTC
The crash can be related to a bug introduced in sqlite library. We have a lots of entries relevant.

So, i can considerate the original problem solved.

Can you run digiKam into GDB as explained to link below and report the trace to check.

https://www.digikam.org/contrib

Gilles Caulier