Bug 56220

Summary: Dragging of multiple files broken in tree and list view
Product: [Applications] konqueror Reporter: Stephan Jaensch <sjaensch>
Component: generalAssignee: Konqueror Developers <konq-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: dmirand, hochglanz, j.cook, kde, rob, salmankhilji
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Stephan Jaensch 2003-03-21 21:25:47 UTC
Version:            (using KDE KDE 3.1.1)
Installed from:    Compiled From Sources
Compiler:          gcc version 3.2.2 20021231 (Debian prerelease) 
OS:          Linux

Using latest qt-copy and latest kde from KDE_3_1_BRANCH, I can no longer drag more than one file in tree view. Clicking to drag deselects all but the file I clicked on. I have to hold Ctrl to keep the files selected, but that means I have to click two times (first click deselects the file I click, the second click reselects and makes me able to drag all selected files).

Someone told me on IRC that this is caused by Qt 3.1.2 and that it is fixed in HEAD, but obviously not on the branch. This is really annoying as I often drag multiple files to xmms.
Comment 1 Stephan Jaensch 2003-03-24 09:16:29 UTC
This is probably a kdelibs bug, not a konqueror one. Happens also with the file view in 
KBearFTP. 
Comment 2 JPollak 2003-03-24 19:34:50 UTC
I can confirm this bug with KDE 3.1.1 compile from scratch via Konstruct on a RH 8.0 
machine. Same results: select a bunch of files by click-dragging. Release button. Click 
on selected area, and everything is deselected except the file you just clicked on. 
Comment 3 D.L.C.Burggraaff 2003-03-29 00:23:38 UTC
Thanks for the Ctrl tip.
Nevertheless this bug is a showstopper for me.
Comment 4 Stephan Jaensch 2003-03-29 02:39:24 UTC
For me too. But it seems noone really cares. I'm not able to change the product or 
component of this bug (though I'm the reporter), let alone confirm it. It would be really 
nice if someone could take care of this, especially since it doesn't seem to involve a 
lot of bug hunting, but simply identifying the checkin on HEAD that fixed this bug and 
backporting it. 
 
I'd try it myself, but on IRC nobody knew what files I'd have to scan for appropriate 
checkins. 
Comment 5 Arne Schmitz 2003-04-01 12:31:27 UTC
I can also confirm that this bug is still present in KDE 3.1.1. 
Comment 6 Stephan Binner 2003-04-02 20:00:40 UTC
*** Bug 56378 has been marked as a duplicate of this bug. ***
Comment 7 jamest 2003-04-04 19:09:16 UTC
I can confirm this bug on Debian Woody running official 3.1.1 .debs. 
Comment 8 Gordon Tyler 2003-04-06 03:59:48 UTC
I can confirm this as well, using Debian Testing running Woody/stable KDE 3.1.1 
packages. 
Comment 9 David Faure 2003-04-07 00:51:46 UTC
Qt-3.1.2 bug, acknowledged by TrollTech, and fixed by the patch below. 
 
--- src/widgets/qlistview.cpp       3 Mar 2003 16:44:49 -0000       1.55 
+++ src/widgets/qlistview.cpp       3 Apr 2003 06:41:28 -0000       1.56 
@@ -4166,7 +4166,7 @@ void QListView::contentsMousePressEventE 
        else if ( selectionMode() == Extended ) { 
            bool changed = FALSE; 
            if ( !(e->state() & (ControlButton | ShiftButton)) ) { 
-               if ( !i->isSelected() || e->button() != RightButton ) { 
+               if ( !i->isSelected() ) { 
                    bool blocked = signalsBlocked(); 
                    blockSignals( TRUE ); 
                    clearSelection(); 
Comment 10 D.L.C.Burggraaff 2003-04-07 23:53:07 UTC
Assuming KDE to use the QT shared libraries (.so) only I applied the patch and 
recompiled QT: the problem is resolved !!! 
Thank you, Dick 
Comment 11 Verdi March 2003-05-21 06:39:42 UTC
This bug still exists in 3.1.2 (tried for "info list view", "tree view", "detailed list view" 
Comment 12 Maksim Orlovich 2003-06-12 00:17:33 UTC
*** Bug 58407 has been marked as a duplicate of this bug. ***
Comment 13 Maksim Orlovich 2003-06-14 15:53:49 UTC
*** Bug 59767 has been marked as a duplicate of this bug. ***
Comment 14 Maksim Orlovich 2003-06-27 18:18:20 UTC
*** Bug 59231 has been marked as a duplicate of this bug. ***
Comment 15 Maksim Orlovich 2003-07-26 02:49:52 UTC
*** Bug 61683 has been marked as a duplicate of this bug. ***
Comment 16 Maksim Orlovich 2003-08-12 20:11:54 UTC
*** Bug 62569 has been marked as a duplicate of this bug. ***