<?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>187152</bug_id>
          
          <creation_ts>2009-03-14 16:30:13 +0000</creation_ts>
          <short_desc>multiple selection undone when dragging files</short_desc>
          <delta_ts>2016-02-19 11:46:54 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>ark</product>
          <component>general</component>
          <version>unspecified</version>
          <rep_platform>openSUSE</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>1</everconfirmed>
          <reporter name="S. Burmeister">sven.burmeister</reporter>
          <assigned_to name="Ragnar Thomsen">rthomsen6</assigned_to>
          <cc>aacid</cc>
    
    <cc>alejandrocobo</cc>
    
    <cc>alessandro.ufms</cc>
    
    <cc>amrecio</cc>
    
    <cc>arthur</cc>
    
    <cc>ashl1future</cc>
    
    <cc>aspotashev</cc>
    
    <cc>bluelightning</cc>
    
    <cc>cfeck</cc>
    
    <cc>ckr.hamza</cc>
    
    <cc>cyberbeat</cc>
    
    <cc>gameforge1</cc>
    
    <cc>greenMan18523</cc>
    
    <cc>illumilore</cc>
    
    <cc>j</cc>
    
    <cc>kde-bugs.9ek5t</cc>
    
    <cc>kde</cc>
    
    <cc>kneczaj</cc>
    
    <cc>luminoso</cc>
    
    <cc>madura.x86</cc>
    
    <cc>mahen</cc>
    
    <cc>mail</cc>
    
    <cc>marcello.tescari</cc>
    
    <cc>metellius</cc>
    
    <cc>mfraz74+kde</cc>
    
    <cc>mrboese</cc>
    
    <cc>msdobrescu</cc>
    
    <cc>mte90net</cc>
    
    <cc>nt1277</cc>
    
    <cc>null</cc>
    
    <cc>olivier.delaune</cc>
    
    <cc>oracle2b</cc>
    
    <cc>ozbekanil</cc>
    
    <cc>paulo.fidalgo.pt</cc>
    
    <cc>rakuco</cc>
    
    <cc>registrofx</cc>
    
    <cc>rthomsen6</cc>
    
    <cc>sean</cc>
    
    <cc>shimi.chen</cc>
    
    <cc>simonandric5</cc>
    
    <cc>simplew8</cc>
    
    <cc>skreech2</cc>
    
    <cc>szx</cc>
    
    <cc>temporary987</cc>
    
    <cc>tesfabpel</cc>
    
    <cc>toddrme2178</cc>
    
    <cc>v.svetoslavov</cc>
    
    <cc>vdboor</cc>
    
    <cc>vova7890</cc>
    
    <cc>yannanth</cc>
          
          <cf_commitlink>http://commits.kde.org/ark/2072d0d49a8946b62ebb8b3cb961c512ad1f8a25</cf_commitlink>
          <cf_versionfixedin>15.08.1</cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>613</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>730281</commentid>
    <comment_count>0</comment_count>
    <who name="S. Burmeister">sven.burmeister</who>
    <bug_when>2009-03-14 16:30:13 +0000</bug_when>
    <thetext>Version:            (using KDE 4.2.1)
OS:                Linux
Installed from:    SuSE RPMs

If one opens an archive and selects all files, e.g. by drawing a frame with the mouse, one would expect that clicking and holding on any of those would allow drag+drop to some place outside ark. Currently however, ark de-selects all but the file one clicked on.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>750868</commentid>
    <comment_count>1</comment_count>
    <who name="Sergio PR">sergio.pe.facebook+kde</who>
    <bug_when>2009-05-01 20:51:42 +0000</bug_when>
    <thetext>Same problem here.

By the way, you can vote your own bug and give it 20 votes, just like I&apos;ll do :)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>750869</commentid>
    <comment_count>2</comment_count>
    <who name="Sergio PR">sergio.pe.facebook+kde</who>
    <bug_when>2009-05-01 20:52:56 +0000</bug_when>
    <thetext>(In reply to comment #1)
&gt; Same problem here.
&gt; 
&gt; By the way, you can vote your own bug and give it 20 votes, just like I&apos;ll do
&gt; :)

I&apos;m sorry, I didn&apos;t say anything about my system.

ArchLinux i686, KDE 4.2.2 from KDEMod, Ark 2.12</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>763383</commentid>
    <comment_count>3</comment_count>
    <who name="Sergio PR">sergio.pe.facebook+kde</who>
    <bug_when>2009-05-24 00:12:50 +0000</bug_when>
    <thetext>This bug is still present in KDE 4.3 Beta 1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>773724</commentid>
    <comment_count>4</comment_count>
    <who name="Sergio PR">sergio.pe.facebook+kde</who>
    <bug_when>2009-06-11 19:35:54 +0000</bug_when>
    <thetext>This bug is still present in KDE 4.3 Beta 2 :(
Tested from: http://home.kde.org/~binner/kde-four-live/</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>780842</commentid>
    <comment_count>5</comment_count>
    <who name="Sergio PR">sergio.pe.facebook+kde</who>
    <bug_when>2009-06-23 23:56:39 +0000</bug_when>
    <thetext>I think this problem is origined by:

void ArchiveView::slotClicked(const QModelIndex&amp; index)
{
    if (KGlobalSettings::singleClick()) {
        if (m_mouseButtons != Qt::LeftButton) // FIXME: see Qt-issue 176832
            return;

        // If the user is pressing shift or control, more than one item is being selected
        const Qt::KeyboardModifiers modifier = QApplication::keyboardModifiers();
        if ((modifier &amp; Qt::ShiftModifier) || (modifier &amp; Qt::ControlModifier))
            return;

        emit itemTriggered(index);
    }
}

I couldn&apos;t try it, but I think this slot is called when you try to drag, so it causes that only one file is selected, unselecting everything else.

Could anyone check that?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>780857</commentid>
    <comment_count>6</comment_count>
    <who name="Raphael Kubo da Costa">rakuco</who>
    <bug_when>2009-06-24 00:30:11 +0000</bug_when>
    <thetext>Nope, that code is related to a different issue. The unselection is done at ArchiveView::startDrag.

It currently works that way due to the issue related to dragging and dropping multiple files from different folders with no common root node or no common direct ancestor. In this case, it&apos;s difficult to determine which files to extract and you might end up extracting all folders above the items you&apos;ve selected, which isn&apos;t what you usually want when you&apos;re dragging your items to a folder or your desktop.

According to Harald, it was implemented this way in order to have any support for drag&apos;n&apos;drop for KDE 4.2 at all, and later neither of us have had the time to properly fix it.

As always, patches are welcome ;)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>784289</commentid>
    <comment_count>7</comment_count>
    <who name="Raphael Kubo da Costa">rakuco</who>
    <bug_when>2009-06-30 07:43:07 +0000</bug_when>
    <thetext>*** Bug 188205 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>797424</commentid>
    <comment_count>8</comment_count>
    <who name="Raphael Kubo da Costa">rakuco</who>
    <bug_when>2009-07-23 17:46:29 +0000</bug_when>
    <thetext>*** Bug 201221 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>800134</commentid>
    <comment_count>9</comment_count>
    <who name="Raphael Kubo da Costa">rakuco</who>
    <bug_when>2009-07-28 18:54:07 +0000</bug_when>
    <thetext>*** Bug 201775 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>841424</commentid>
    <comment_count>10</comment_count>
    <who name="Raphael Kubo da Costa">rakuco</who>
    <bug_when>2009-10-07 14:15:55 +0000</bug_when>
    <thetext>*** Bug 209752 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>868328</commentid>
    <comment_count>11</comment_count>
    <who name="Alejandro Cobo López">alejandrocobo</who>
    <bug_when>2009-11-25 16:55:33 +0000</bug_when>
    <thetext>Same problem in KDE 4.3.2 under Mandriva One 2010.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>874834</commentid>
    <comment_count>12</comment_count>
    <who name="Raphael Kubo da Costa">rakuco</who>
    <bug_when>2009-12-06 20:45:45 +0000</bug_when>
    <thetext>*** Bug 217626 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>876909</commentid>
    <comment_count>13</comment_count>
    <who name="Raphael Kubo da Costa">rakuco</who>
    <bug_when>2009-12-10 03:03:24 +0000</bug_when>
    <thetext>*** Bug 218042 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>927846</commentid>
    <comment_count>14</comment_count>
    <who name="Sergio PR">sergio.pe.facebook+kde</who>
    <bug_when>2010-03-03 19:35:41 +0000</bug_when>
    <thetext>This bug persists on KDE 4.4.1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>956026</commentid>
    <comment_count>15</comment_count>
    <who name="Sergio PR">sergio.pe.facebook+kde</who>
    <bug_when>2010-05-02 23:59:51 +0000</bug_when>
    <thetext>This bug persists on KDE 4.4.3</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>967171</commentid>
    <comment_count>16</comment_count>
    <who name="Raphael Kubo da Costa">rakuco</who>
    <bug_when>2010-05-25 22:40:06 +0000</bug_when>
    <thetext>*** Bug 238780 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1012447</commentid>
    <comment_count>17</comment_count>
    <who name="Alexey Shildyakov">ashl1future</who>
    <bug_when>2010-09-01 07:14:14 +0000</bug_when>
    <thetext>The bug exist in KDE 4.5.0</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1040165</commentid>
    <comment_count>18</comment_count>
    <who name="H.H.">cyberbeat</who>
    <bug_when>2010-11-04 09:16:36 +0000</bug_when>
    <thetext>still present in kde-4.5.2</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1055169</commentid>
    <comment_count>19</comment_count>
    <who name="Raphael Kubo da Costa">rakuco</who>
    <bug_when>2010-12-08 02:18:48 +0000</bug_when>
    <thetext>Changing the default assignee in the currently open Ark bug reports to me.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1107000</commentid>
    <comment_count>20</comment_count>
    <who name="">gameforge1</who>
    <bug_when>2011-04-11 23:56:51 +0000</bug_when>
    <thetext>This persists in 4.6.2, in fact this bug just had its two year anniversary.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1119971</commentid>
    <comment_count>21</comment_count>
    <who name="Elias Probst">mail</who>
    <bug_when>2011-05-16 14:24:29 +0000</bug_when>
    <thetext>Still present in 4.6.3</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1161366</commentid>
    <comment_count>22</comment_count>
    <who name="Raphael Kubo da Costa">rakuco</who>
    <bug_when>2011-09-10 01:11:39 +0000</bug_when>
    <thetext>*** Bug 281711 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1188694</commentid>
    <comment_count>23</comment_count>
    <who name="Kai Uwe Broulik">kde</who>
    <bug_when>2011-11-22 12:03:45 +0000</bug_when>
    <thetext>I think even the developers themselves now stopped using Ark … you know why.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1188701</commentid>
    <comment_count>24</comment_count>
    <who name="Raphael Kubo da Costa">rakuco</who>
    <bug_when>2011-11-22 12:21:57 +0000</bug_when>
    <thetext>I think we can all agree that your trollish behavior and lack of constructive suggestions or patches whatsoever clearly indicate you should be spending your time elsewhere. Please refrain from wasting everyone&apos;s time next time you feel like acting like a spoiled child.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1244983</commentid>
    <comment_count>25</comment_count>
    <who name="Raphael Kubo da Costa">rakuco</who>
    <bug_when>2012-04-11 14:52:52 +0000</bug_when>
    <thetext>*** Bug 297886 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1256960</commentid>
    <comment_count>26</comment_count>
    <who name="Roger Pixley">skreech2</who>
    <bug_when>2012-05-21 14:44:46 +0000</bug_when>
    <thetext>Raphael Kubo da Costa: Just checking. The logic behind not allowing multiple individual files to be extracted through drag and drop is that if files are extracted from multiple folders in the archive it would be difficult to determine how to extract the files so that they come out in multiple directories. The issue comes from drag and drop being designed around having a single destination directory instead of multiple ones. If that is correct would it be possible to detect that there are multiple directories from the paths and simulate multiple Drag and Drop events to have multiple destinations?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1257256</commentid>
    <comment_count>27</comment_count>
    <who name="Alexey Shildyakov">ashl1future</who>
    <bug_when>2012-05-22 10:26:36 +0000</bug_when>
    <thetext>I think its pretty simple. We have several selections in archive (it is possible to have selected folder and one file in it in addition).
We should unpack all selected in one destination. Just unpack sequentially. One selected after another. Unpack folders and save structure from the selected folder (not the path to that folder in archive).
Example:
Archive:
/folderA/fileA1
/folderA/fileA2
/file1
/folderB/folderC/fileBC1
/folderB/folderC/fileBC2
/folderB/fileB1

Selected to drag-n-drop:
folderA
fileA2
folderC
fileB1

Should be unpacked in ONE destination folder as:
folderA/fileA1
folderA/fileA2
fileA2
folderC/fileBC1
folderC/fileBC2
fileB1

It&apos;s simple, isn&apos;t it?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1257553</commentid>
    <comment_count>28</comment_count>
    <who name="Roger Pixley">skreech2</who>
    <bug_when>2012-05-22 21:10:58 +0000</bug_when>
    <thetext>Of course it is. Really simple. 

How would you handle the scenario of

Archive:
/folderA/fileA1
/folderA/fileA2
/fileB1
/folderB/folderC/fileBC1
/folderB/folderC/fileBC2
/folderB/fileB1
/folderD/FolderA/FileA3
/FolderD/FolderA/FileA4
FolderD/FolderA/FileA5

Selected to drag-n-drop:
folderA
fileB1
folderC
fileB1 
FolderA

?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1257620</commentid>
    <comment_count>29</comment_count>
    <who name="Alexey Shildyakov">ashl1future</who>
    <bug_when>2012-05-23 04:00:34 +0000</bug_when>
    <thetext>after or before (this depend on how the Ark is unpacking: directly to destination or in temporary folder, then coping to destination) second fileB is unpacked the standard KDE dialog should be shown: the fileB already exist - change the name, skip or replace the file. This behavior also applied in case of folderA already exists in destination folder.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1257633</commentid>
    <comment_count>30</comment_count>
    <who name="Roger Pixley">skreech2</who>
    <bug_when>2012-05-23 05:57:19 +0000</bug_when>
    <thetext>That feels pretty ugly for most people esp as the number of files needed increases. Just occurred to me to see if  the archive kio tries to handle this scenario.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1257636</commentid>
    <comment_count>31</comment_count>
    <who name="Alexey Shildyakov">ashl1future</who>
    <bug_when>2012-05-23 06:07:41 +0000</bug_when>
    <thetext>I think this scenario is the user problem. User should understand that filenames are the same. If he need to unpack these files - just unpack as many times as needed in any destination, but not for one time. My solution apply user to change the name, for example, if he forgot about same filenames in the archive.
Don&apos;t understand what you mean sad &quot;the number of files needed increases&quot;. What is &quot;needed files&quot;?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1257640</commentid>
    <comment_count>32</comment_count>
    <who name="Roger Pixley">skreech2</who>
    <bug_when>2012-05-23 06:47:49 +0000</bug_when>
    <thetext>I meant as the user selects more and more files that they expect in a hierarchy. I would expect that as a user I would think without any other information that drag and drop would work the same way as selecting the files and clicking the extract button. having them be so radically different would be jarring everytime. 

What would be the logic behind having them do that?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1257742</commentid>
    <comment_count>33</comment_count>
    <who name="Alexey Shildyakov">ashl1future</who>
    <bug_when>2012-05-23 11:42:07 +0000</bug_when>
    <thetext>Because this is standard behavior in other archive programs. If I need only one file from many-level structure in destination, I don&apos;t need the whole structure with folder, folder inside first folder, folder inside second folder is inside first folder and so on. I just need the one file.
This scenario (when many file with the same name will be unpacked in one directory) is rare, I think.
When you extract files from Extract button you can change the behavior by clicking checkbox &quot;Preserve paths when extracting&quot;. Because this could be changed I couldn&apos;t expect the one of these 2 behaviors, cause I don&apos;t remember which state I use at the last time.
Just only we - 2 people said the opinion. 25 users are CC&apos;ed to this bug. I think we need their voice about this problem.
If you want, it might be more complicated. For example, after drag-n-drop Ark may show additional menu to user (like dolphin&apos;s drag-n-drop produce) with 2 values:
- Make the whole paths structure
- Don&apos;t make additional paths
(the text should be another)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1258172</commentid>
    <comment_count>34</comment_count>
    <who name="Raphael Kubo da Costa">rakuco</who>
    <bug_when>2012-05-24 20:16:48 +0000</bug_when>
    <thetext>(In reply to comment #26)
&gt; Raphael Kubo da Costa: Just checking. The logic behind not allowing multiple
&gt; individual files to be extracted through drag and drop is that if files are
&gt; extracted from multiple folders in the archive it would be difficult to
&gt; determine how to extract the files so that they come out in multiple
&gt; directories. The issue comes from drag and drop being designed around having
&gt; a single destination directory instead of multiple ones. If that is correct
&gt; would it be possible to detect that there are multiple directories from the
&gt; paths and simulate multiple Drag and Drop events to have multiple
&gt; destinations?

I might have started to forget things, but IIRC your explanation is correct, and your solution might work. In the end, this and bug 208384 have pretty much the same cause (and possibly the same solution).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1262882</commentid>
    <comment_count>35</comment_count>
    <who name="oracle2b">oracle2b</who>
    <bug_when>2012-06-06 18:18:48 +0000</bug_when>
    <thetext>Until i found this bug report, I was wondering why I couldn&apos;t drag and drop multiple files into a folder. Please make this a priority, I can&apos;t believe this has to be requested in 2012.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1312475</commentid>
    <comment_count>36</comment_count>
    <who name="Raphael Kubo da Costa">rakuco</who>
    <bug_when>2012-11-04 20:13:19 +0000</bug_when>
    <thetext>*** Bug 309534 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1314529</commentid>
    <comment_count>37</comment_count>
    <who name="">madura.x86</who>
    <bug_when>2012-11-11 14:28:02 +0000</bug_when>
    <thetext>This is the only *bug* that I see in stable KDE versions 4.8 and 4.9 please fix and make KDE the ultimate!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1344970</commentid>
    <comment_count>38</comment_count>
      <attachid>77556</attachid>
    <who name="Vova">vova7890</who>
    <bug_when>2013-02-24 21:43:06 +0000</bug_when>
    <thetext>Created attachment 77556
dnd multiply extract</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1344971</commentid>
    <comment_count>39</comment_count>
      <attachid>77557</attachid>
    <who name="Vova">vova7890</who>
    <bug_when>2013-02-24 21:44:23 +0000</bug_when>
    <thetext>Created attachment 77557
KXMLGUIFactory</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1344973</commentid>
    <comment_count>40</comment_count>
    <who name="Vova">vova7890</who>
    <bug_when>2013-02-24 21:45:40 +0000</bug_when>
    <thetext>It`s not a bug, it`s seems deliberate restriction. I don`t know why developer doing that, but that patch(^^^ se above message) remove restriction and make it usefull. No have problem allmost, work propertly. Second patch remove message about KXMLGUIFactory ololo, bla bla bla. and avoid(?) leaks, crashs and other terrible problems described in the debug message :)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1344998</commentid>
    <comment_count>41</comment_count>
    <who name="Elias Probst">mail</who>
    <bug_when>2013-02-24 22:57:58 +0000</bug_when>
    <thetext>(In reply to comment #40)
&gt; It`s not a bug, it`s seems deliberate restriction. I don`t know why
&gt; developer doing that, but that patch(^^^ se above message) remove
&gt; restriction and make it usefull. No have problem allmost, work propertly.
&gt; Second patch remove message about KXMLGUIFactory ololo, bla bla bla. and
&gt; avoid(?) leaks, crashs and other terrible problems described in the debug
&gt; message :)

Please create a review on https://git.reviewboard.kde.org where the responsible developer (and others) can comment on details of the patches until they&apos;re ready to get their &quot;Ship it&quot;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1368163</commentid>
    <comment_count>42</comment_count>
    <who name="Raphael Kubo da Costa">rakuco</who>
    <bug_when>2013-05-12 08:44:21 +0000</bug_when>
    <thetext>*** Bug 319698 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1368356</commentid>
    <comment_count>43</comment_count>
    <who name="">yannanth</who>
    <bug_when>2013-05-12 20:57:16 +0000</bug_when>
    <thetext>This is literally one of the very few weak links of the standard distribution of KDE SC. I can&apos;t believe Ark doesn&apos;t do this and it&apos;s unbelievably infuriating for me who often works with large archives.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1372030</commentid>
    <comment_count>44</comment_count>
    <who name="Raphael Kubo da Costa">rakuco</who>
    <bug_when>2013-05-29 08:29:28 +0000</bug_when>
    <thetext>*** Bug 320405 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1373139</commentid>
    <comment_count>45</comment_count>
    <who name="illumilore">illumilore</who>
    <bug_when>2013-06-02 01:37:02 +0000</bug_when>
    <thetext>Who is the main developer/maintainer of ark?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1373177</commentid>
    <comment_count>46</comment_count>
    <who name="Vova">vova7890</who>
    <bug_when>2013-06-02 09:43:07 +0000</bug_when>
    <thetext>(In reply to comment #45)
&gt; Who is the main developer/maintainer of ark?

See about in ark. Also, I`m pushed patches on review board. Still awaiting... Already tired always patching myself package when upgrading.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1373488</commentid>
    <comment_count>47</comment_count>
    <who name="S. Burmeister">sven.burmeister</who>
    <bug_when>2013-06-03 14:53:25 +0000</bug_when>
    <thetext>(In reply to comment #46)
&gt; See about in ark. Also, I`m pushed patches on review board. Still
&gt; awaiting... Already tired always patching myself package when upgrading.

You should ask on the kde-devel mailinglist for somebody to review your patches and to change the maintainer.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1378558</commentid>
    <comment_count>48</comment_count>
    <who name="Sergey Zolotarev">szx</who>
    <bug_when>2013-06-21 16:31:01 +0000</bug_when>
    <thetext>Even GNOME&apos;s archive manager can do this...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1414319</commentid>
    <comment_count>49</comment_count>
    <who name="Christoph Feck">cfeck</who>
    <bug_when>2013-11-25 21:21:27 +0000</bug_when>
    <thetext>*** Bug 328058 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1417699</commentid>
    <comment_count>50</comment_count>
    <who name="G360">kde-bugs.9ek5t</who>
    <bug_when>2013-12-11 02:37:02 +0000</bug_when>
    <thetext>Vova, if you patch works, it would be great to have it integrated in ark. Have you submitted it to https://git.reviewboard.kde.org ?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1420610</commentid>
    <comment_count>51</comment_count>
    <who name="Vasil Svetoslavov">v.svetoslavov</who>
    <bug_when>2013-12-25 21:16:33 +0000</bug_when>
    <thetext>When using drag-n-drop the last selected settings from the extract dialog could be used. Thus you&apos;ll have consistent behaviour (the drag-n-drop would work the same as the extract button) and better usability - the user will be able to do drag-n-drop for multiple files). Also, I guess this could also be achieved by making the drag-n-drop as clicking the &quot;Extract&quot; button while passing a path as parameter.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1420612</commentid>
    <comment_count>52</comment_count>
    <who name="Vasil Svetoslavov">v.svetoslavov</who>
    <bug_when>2013-12-25 21:22:50 +0000</bug_when>
    <thetext>(In reply to comment #51)
&gt; When using drag-n-drop the last selected settings from the extract dialog
&gt; could be used. Thus you&apos;ll have consistent behaviour (the drag-n-drop would
&gt; work the same as the extract button) and better usability - the user will be
&gt; able to do drag-n-drop for multiple files). Also, I guess this could also be
&gt; achieved by making the drag-n-drop as clicking the &quot;Extract&quot; button while
&gt; passing a path as parameter.

While not the best or most elegant solution in the world, this will be usable. Then later on this can be changed to something like having an option whether to show some UI when dropping multiple files, similar to the &quot;extract&quot; dialog, but adapted for the case of drag-n-drop.

Actually, as a user, I will accept and get used to anything that does the trick. I guess most users will also do.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1424548</commentid>
    <comment_count>53</comment_count>
    <who name="JKAbrams">j</who>
    <bug_when>2014-01-13 19:40:27 +0000</bug_when>
    <thetext>As for the specification how this should be done to me, it is very simple:
Ark should use the exact same logic as in dolphin, the problem is solved there and works as expected (what I refer to is dolphins ability to show the contents of folders &apos;inline&apos;, allowing multiple selections). 
Is this what the suggested patches do?
Could Ark reuse the code from Dolphin?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1447371</commentid>
    <comment_count>54</comment_count>
    <who name="Ruman Gerst">mrboese</who>
    <bug_when>2014-05-10 13:38:38 +0000</bug_when>
    <thetext>Still in KDE 4.13 - EXTREMLY+++ annoying!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1449431</commentid>
    <comment_count>55</comment_count>
    <who name="Daniele Scasciafratte">mte90net</who>
    <bug_when>2014-05-18 20:29:40 +0000</bug_when>
    <thetext>very annoying :-(</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1460308</commentid>
    <comment_count>56</comment_count>
    <who name="luminoso">luminoso</who>
    <bug_when>2014-07-09 12:35:22 +0000</bug_when>
    <thetext>Vova, any news about the patch being accepted?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1460338</commentid>
    <comment_count>57</comment_count>
    <who name="Albert Astals Cid">aacid</who>
    <bug_when>2014-07-09 17:29:39 +0000</bug_when>
    <thetext>Vova, can we have a link to your reviewboard request?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1460380</commentid>
    <comment_count>58</comment_count>
    <who name="Christoph Feck">cfeck</who>
    <bug_when>2014-07-09 20:39:55 +0000</bug_when>
    <thetext>He posted comment #38 as https://git.reviewboard.kde.org/r/110672/</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1461055</commentid>
    <comment_count>59</comment_count>
    <who name="Ruman Gerst">mrboese</who>
    <bug_when>2014-07-14 22:48:29 +0000</bug_when>
    <thetext>(In reply to comment #58)
&gt; He posted comment #38 as https://git.reviewboard.kde.org/r/110672/

Cool. Finally (?)

... wait ... &quot;by removing the code that singles the selection.&quot; ... who had this _great_ idea of making the selection single ... ? o_o</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1464464</commentid>
    <comment_count>60</comment_count>
    <who name="Albert Astals Cid">aacid</who>
    <bug_when>2014-08-06 22:24:21 +0000</bug_when>
    <thetext>Git commit 52ac4aea6f391cfe43dec0994891095d39364bd2 by Albert Astals Cid, on behalf of Alim Gokkaya.
Committed on 06/08/2014 at 22:22.
Pushed by aacid into branch &apos;KDE/4.14&apos;.

Allow multiple selection in archiveview

REVIEW: 110672
FIXED-IN: 4.14.0

M  +0    -2    part/archiveview.cpp
M  +0    -7    part/part.cpp

http://commits.kde.org/ark/52ac4aea6f391cfe43dec0994891095d39364bd2</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1464612</commentid>
    <comment_count>61</comment_count>
    <who name="Raphael Kubo da Costa">rakuco</who>
    <bug_when>2014-08-07 21:37:48 +0000</bug_when>
    <thetext>Git commit 4429a4ebbb58f44e4c96603f6bc519da8c0ce5da by Raphael Kubo da Costa.
Committed on 07/08/2014 at 21:29.
Pushed by rkcosta into branch &apos;KDE/4.14&apos;.

Revert &quot;Allow multiple selection in archiveview&quot;

The commit being reverted seems to work fine for the ZIP and LHA
backends, but for libarchive and RAR it can extract files with the wrong
name, a varying hierarchy depending on which of the selected entries is
being dragged or sometimes even leave selected entries out.

While it is certainly bad to go back to the previous state, it is worse
to have this working at varying degrees in each backend, the worst case
including partial extraction with wrong names.

This reverts commit 52ac4aea6f391cfe43dec0994891095d39364bd2.

M  +2    -0    part/archiveview.cpp
M  +7    -0    part/part.cpp

http://commits.kde.org/ark/4429a4ebbb58f44e4c96603f6bc519da8c0ce5da</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1479508</commentid>
    <comment_count>62</comment_count>
    <who name="Raphael Kubo da Costa">rakuco</who>
    <bug_when>2014-11-04 12:29:28 +0000</bug_when>
    <thetext>*** Bug 340626 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1533050</commentid>
    <comment_count>63</comment_count>
    <who name="Harald Hvaal">metellius</who>
    <bug_when>2015-07-23 21:25:33 +0000</bug_when>
    <thetext>I&apos;m the guy who originally intentionally made it like that (as former Ark maintainer) for technical reasons like Roger Pixley describes here: https://bugs.kde.org/show_bug.cgi?id=187152#c26 . Before those commits, I don&apos;t think dnd was even supported. I eventually realized how complex multiple selections are to support with regards to destination directories and just made it force it into a single selection in order to even support dnd at all. The timeline after this is unfortunately a pretty common one in FOSS: you either lose interest or other life events keep you from spending time on the project.
I&apos;m sorry I&apos;m not able to be of any help.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1533159</commentid>
    <comment_count>64</comment_count>
    <who name="Ragnar Thomsen">rthomsen6</who>
    <bug_when>2015-07-24 13:03:09 +0000</bug_when>
    <thetext>Multiple drag&apos;n&apos;drop selection has actually been implemented and is currently undergoing review:
https://git.reviewboard.kde.org/r/124018/

Hopefully, we can merge it before 15.08 final release :)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1543080</commentid>
    <comment_count>65</comment_count>
    <who name="Ragnar Thomsen">rthomsen6</who>
    <bug_when>2015-09-10 11:56:58 +0000</bug_when>
    <thetext>Git commit 2072d0d49a8946b62ebb8b3cb961c512ad1f8a25 by Ragnar Thomsen.
Committed on 10/09/2015 at 11:55.
Pushed by rthomsen into branch &apos;Applications/15.08&apos;.

Fix drag&apos;n&apos;drop extraction of multiple selected archive entries

This commit implements multi-selection drag&apos;n&apos;drop extraction. This is
used when dragging multiple files from Ark to e.g. Dolphin for
extraction. It&apos;s based partially on work done by Raphael in
the multiple-dnd-selection git branch.

Dragged files are extracted without path. Dragged folders are extracted
without path, but with all folders/files beneath them
extracted with relative path (i.e. path beneath the selected folder).

A struct called FileRootNodePair is added to Kerfuffle::Archive, which
contains two strings (the filename with path and a root node).
A FileRootNodePair is passed for each entry to be extracted in a
QVariantList to ArchiveModel::extractFiles(), which creates the
ExtractJob. All children of folders are added to the QVariantList. The
QVariantList is in turn passed to CliPlugin::copyFiles and hence
LibArchiveInterface::copyFiles(). The latter is modified to remove the
specific rootnode from each file when extracting.

The CLI plugins, e.g. clizip and clirar, still extract with full path,
due to not supporting individual RootNodes. However, this is a separate
issue and should be fixed separately.
FIXED-IN: 15.08.1
REVIEW: 124018

M  +9    -0    kerfuffle/archive_kerfuffle.cpp
M  +39   -0    kerfuffle/archive_kerfuffle.h
M  +1    -1    kerfuffle/cliinterface.cpp
M  +1    -1    kerfuffle/jobs.cpp
M  +1    -1    part/archivemodel.cpp
M  +0    -2    part/archiveview.cpp
M  +48   -65   part/part.cpp
M  +3    -2    part/part.h
M  +44   -13   plugins/libarchive/libarchivehandler.cpp

http://commits.kde.org/ark/2072d0d49a8946b62ebb8b3cb961c512ad1f8a25</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1577458</commentid>
    <comment_count>66</comment_count>
    <who name="Elvis Angelaccio">elvis.angelaccio</who>
    <bug_when>2016-02-19 11:46:54 +0000</bug_when>
    <thetext>*** Bug 359564 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>77556</attachid>
            <date>2013-02-24 21:43:06 +0000</date>
            <delta_ts>2013-02-24 21:43:06 +0000</delta_ts>
            <desc>dnd multiply extract</desc>
            <filename>multiple_dnd_extract.patch</filename>
            <type>text/plain</type>
            <size>1276</size>
            <attacher name="Vova">vova7890</attacher>
            
              <data encoding="base64">ZGlmZiAtVSAzIC1IIC1kIC1yIC1OIC0tIGEvcGFydC9hcmNoaXZldmlldy5jcHAgYi9wYXJ0L2Fy
Y2hpdmV2aWV3LmNwcAotLS0gYS9wYXJ0L2FyY2hpdmV2aWV3LmNwcAkyMDEyLTA5LTI4IDAzOjQw
OjE0LjAwMDAwMDAwMCArMDMwMAorKysgYi9wYXJ0L2FyY2hpdmV2aWV3LmNwcAkyMDEyLTEwLTIz
IDAwOjA1OjE2LjA3NDc0MTczMiArMDMwMApAQCAtOTgsNyArOTgsNyBAQAogICAgIH0KIAogICAg
IGtEZWJ1ZygpIDw8ICJTaW5nbGluZyBvdXQgdGhlIGN1cnJlbnQgc2VsZWN0aW9uLi4uIjsKLSAg
ICBzZWxlY3Rpb25Nb2RlbCgpLT5zZXRDdXJyZW50SW5kZXgoY3VycmVudEluZGV4KCksIFFJdGVt
U2VsZWN0aW9uTW9kZWw6OkNsZWFyQW5kU2VsZWN0IHwgUUl0ZW1TZWxlY3Rpb25Nb2RlbDo6Um93
cyk7CisgICAgLy9zZWxlY3Rpb25Nb2RlbCgpLT5zZXRDdXJyZW50SW5kZXgoY3VycmVudEluZGV4
KCksIFFJdGVtU2VsZWN0aW9uTW9kZWw6OkNsZWFyQW5kU2VsZWN0IHwgUUl0ZW1TZWxlY3Rpb25N
b2RlbDo6Um93cyk7CiAgICAgUVRyZWVWaWV3OjpzdGFydERyYWcoc3VwcG9ydGVkQWN0aW9ucyk7
CiB9CiAKZGlmZiAtVSAzIC1IIC1kIC1yIC1OIC0tIGEvcGFydC9wYXJ0LmNwcCBiL3BhcnQvcGFy
dC5jcHAKLS0tIGEvcGFydC9wYXJ0LmNwcAkyMDEyLTA5LTI4IDAzOjQwOjE0LjAwMDAwMDAwMCAr
MDMwMAorKysgYi9wYXJ0L3BhcnQuY3BwCTIwMTItMTAtMjMgMDA6MDU6MTYuMDc4MDc1MDUzICsw
MzAwCkBAIC0xNjUsMTIgKzE2NSwxMiBAQAogICAgICAgICByZXR1cm47CiAgICAgfQogCi0gICAg
aWYgKG1fdmlldy0+c2VsZWN0aW9uTW9kZWwoKS0+c2VsZWN0ZWRSb3dzKCkuY291bnQoKSAhPSAx
KSB7CisgICAgLyppZiAobV92aWV3LT5zZWxlY3Rpb25Nb2RlbCgpLT5zZWxlY3RlZFJvd3MoKS5j
b3VudCgpICE9IDEpIHsKICAgICAgICAgbV92aWV3LT5zZWxlY3Rpb25Nb2RlbCgpLT5zZXRDdXJy
ZW50SW5kZXgobV92aWV3LT5jdXJyZW50SW5kZXgoKSwgUUl0ZW1TZWxlY3Rpb25Nb2RlbDo6Q2xl
YXJBbmRTZWxlY3QgfCBRSXRlbVNlbGVjdGlvbk1vZGVsOjpSb3dzKTsKICAgICB9CiAgICAgaWYg
KG1fdmlldy0+c2VsZWN0aW9uTW9kZWwoKS0+c2VsZWN0ZWRSb3dzKCkuY291bnQoKSAhPSAxKSB7
CiAgICAgICAgIHJldHVybjsKLSAgICB9CisgICAgfSovCiAKICAgICBRVmFyaWFudCBpbnRlcm5h
bFJvb3Q7CiAgICAga0RlYnVnKCkgPDwgInZhbGlkICIgPDwgbV92aWV3LT5jdXJyZW50SW5kZXgo
KS5wYXJlbnQoKS5pc1ZhbGlkKCk7Cg==
</data>

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>77557</attachid>
            <date>2013-02-24 21:44:23 +0000</date>
            <delta_ts>2013-02-24 21:44:23 +0000</delta_ts>
            <desc>KXMLGUIFactory</desc>
            <filename>remove_from_xmlguifactory.patch</filename>
            <type>text/plain</type>
            <size>552</size>
            <attacher name="Vova">vova7890</attacher>
            
              <data encoding="base64">ZGlmZiAtVSAzIC1IIC1kIC1yIC1OIC0tIGEvYXBwL21haW53aW5kb3cuY3BwIGIvYXBwL21haW53
aW5kb3cuY3BwCi0tLSBhL2FwcC9tYWlud2luZG93LmNwcAkyMDEyLTEwLTIzIDAwOjI1OjEzLjAw
MDAwMDAwMCArMDMwMAorKysgYi9hcHAvbWFpbndpbmRvdy5jcHAJMjAxMi0xMC0yMyAwMDoyNDox
NS4wMDAwMDAwMDAgKzAzMDAKQEAgLTM4LDYgKzM4LDcgQEAKICNpbmNsdWRlIDxLRGVidWc+CiAj
aW5jbHVkZSA8S0VkaXRUb29sQmFyPgogI2luY2x1ZGUgPEtTaG9ydGN1dHNEaWFsb2c+CisjaW5j
bHVkZSA8S1hNTEdVSUZhY3Rvcnk+CiAKICNpbmNsdWRlIDxRRHJhZ0VudGVyRXZlbnQ+CiAjaW5j
bHVkZSA8UURyYWdNb3ZlRXZlbnQ+CkBAIC03MCw2ICs3MSw3IEBACiAgICAgICAgIG1fcmVjZW50
RmlsZXNBY3Rpb24tPnNhdmVFbnRyaWVzKEtHbG9iYWw6OmNvbmZpZygpLT5ncm91cCgiUmVjZW50
IEZpbGVzIikpOwogICAgIH0KKyAgICBmYWN0b3J5KCktPnJlbW92ZUNsaWVudChtX3BhcnQpOwog
ICAgIGRlbGV0ZSBtX3BhcnQ7CiAgICAgbV9wYXJ0ID0gMDsKIH0K
</data>

          </attachment>
      

    </bug>

</bugzilla>