Bug 296653 - Selecting a range of photos when in preview mode is buggy
Summary: Selecting a range of photos when in preview mode is buggy
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Preview-Image (show other bugs)
Version: 2.5.0
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-24 01:09 UTC by DrSlony
Modified: 2020-09-22 04:17 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description DrSlony 2012-03-24 01:09:04 UTC
Click on a thumbnail to open that photo in preview mode.
Click right three times.
The fourth thumbnail should be highlighted. http://i.imgur.com/6JN1q.png

Now I decide I want to delete the third and fourth thumbnails, so logically I would hold down shift and click left. I do this, but nothing happens. I click on the thumbnail of the already-opened fourth photo with the mouse, and shift-left. Now it works, #3 and #4 are selected.

Now click right a few times. Let's say we're looking at photo 10, and the thumbbar shows that #10 is highlighted. I decide I want to delete this photo and the next one too, so I click shift+right. Instead of selecting #10 and #11, it selects all photos since the one I clicked on with the mouse (#4). If I was doing things as fast as I normally do, I would have deleted a whole bunch of photo I did not want to delete!

If the thumbbar shows that photo x is highlighted, and I click shift+left/right or shift+mouseclick, then the selection should start from the photo that was highlighted to the one that I click on, NOT from the last photo that was clicked on with the mouse!
Comment 1 Marcel Wiesweg 2012-07-08 11:42:34 UTC
This is quite exactly the same problem as 281742, and due to the mess / highly complex code which is QAbstractItemView.

*** This bug has been marked as a duplicate of bug 281742 ***
Comment 2 caulier.gilles 2020-09-22 04:17:30 UTC
Fixed with #281742