Bug 220738 - sorting does not work with multiple images selected, and images inserted at wrong place
Summary: sorting does not work with multiple images selected, and images inserted at w...
Status: RESOLVED FIXED
Alias: None
Product: kphotoalbum
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: KPhotoAlbum Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-30 22:45 UTC by Pascal Niklaus
Modified: 2014-06-25 21:07 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pascal Niklaus 2009-12-30 22:45:06 UTC
Version:           4.1.1 (using KDE 4.3.2)
OS:                Linux
Installed from:    Ubuntu Packages

During sorting, I reproducibly observe two bugs:

1) The image dragged is not inserted where indicated by the "red bar", but one position earlier.

2) Selecting multiple (consecutive) images, and then dragging these to another place, does only move one of the images selected instead of all of them
Comment 1 Jesper Pedersen 2009-12-31 10:07:43 UTC
I can't reproduce any of these two bugs I', afraid.
Can you reproduce them using the demo database (kphotoalbum -demo) if so, can you please elaborate on your actions in much details.

Thanks
Jesper.
Comment 2 Miika Turkia 2012-02-10 16:44:14 UTC
From the mailing list:

> I have seen the case one on. It seems to occur at least when I try to
> drag images before stacked images. I suppose more testing related to
> re-ordering thumbnails when there are stacks involved should be done
> to see if there are some other weirdness there.

I couldn't reproduce these two specific bugs. However, I found something else
weird involving stacked images:
Setup:
1) Open the demo database, switch to thumbnails
2) Mark the two photos labeled "pool" and stack them
3) Mark the two photos labeled "skagen" and stack them
4) Expand both stacks
5) Move the "pool" stack to the beginning
6) Move the "skagen" stack between "blackie" and "spiff"

Weirdness:
a) Grabbing the "pool" stack by its first image and movint it between the
images of the "skagen" stack moves the "pool" stack after the "skagen" stack
b) Grabbing the "pool" stack by its second image and moving it between the
images of the "skagen" stack leaves all images at their original positions
c) Sometimes the behaviour is inversed (i.e. grabbing the first image leads to
"b)" or grabbing the second image leads to case "a)")
d) Selecting a "normal" image and just one image in a stack and then moving
both to another position only moves the "normal" image, not the stack.

Other thoughts:
Maybe dropping an image inside a stack should add it to the stack, and
dropping a stack inside another should then merge the stacks?
Comment 3 Johannes Zarl-Zierl 2014-06-25 21:07:41 UTC
There have been several sort-related changes in the thumbnail Drag-and-Drop code. I'm pretty sure this is fixed now.