<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>296653</bug_id>
          
          <creation_ts>2012-03-24 01:09:04 +0000</creation_ts>
          <short_desc>Selecting a range of photos when in preview mode is buggy</short_desc>
          <delta_ts>2020-09-22 04:17:30 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>digikam</product>
          <component>Preview-Image</component>
          <version>2.5.0</version>
          <rep_platform>unspecified</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="DrSlony">bugs</reporter>
          <assigned_to name="Digikam Developers">digikam-bugs-null</assigned_to>
          <cc>caulier.gilles</cc>
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin>7.2.0</cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1239368</commentid>
    <comment_count>0</comment_count>
    <who name="DrSlony">bugs</who>
    <bug_when>2012-03-24 01:09:04 +0000</bug_when>
    <thetext>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&apos;s say we&apos;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!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1274030</commentid>
    <comment_count>1</comment_count>
    <who name="Marcel Wiesweg">marcel.wiesweg</who>
    <bug_when>2012-07-08 11:42:34 +0000</bug_when>
    <thetext>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 ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1959311</commentid>
    <comment_count>2</comment_count>
    <who name="">caulier.gilles</who>
    <bug_when>2020-09-22 04:17:30 +0000</bug_when>
    <thetext>Fixed with #281742</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>