Bug 154014

Summary: Possibility to drag a file to the trash in the side bar
Product: [Applications] dolphin Reporter: Michael Braun <charlysnews>
Component: generalAssignee: Peter Penz <peter.penz19>
Status: RESOLVED FIXED    
Severity: wishlist CC: ervin, k04jg02, sven.burmeister
Priority: NOR    
Version: 16.12.2   
Target Milestone: ---   
Platform: Mandriva RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Michael Braun 2007-12-14 11:08:32 UTC
Version:            (using KDE KDE 3.97.0)
Installed from:    Mandriva RPMs

Is it possible that I can drag a file directly to the trash icon in the dolphin side bar? At the moment it isn't possible because the side want's to use the files as further bookmarks even I put them directly over the trash icon.
Comment 1 Peter Penz 2007-12-14 12:07:03 UTC
Honestly speaking I did not think about this yet. I've again set Kevin Ottens on CC (maintainer of the sidebar).

I personally think this should not be supported, as dragging files into all other places ("bookmarks") of the sidebar must work too then (not only with the Trash). And I fear this gets problematic when the user wants to drag a folder as place into the sidebar and suddenly the Copy/Move/Link menu pops up as the target drop area was not between 2 places but above a place.
Comment 2 Kevin Ottens 2007-12-17 18:18:00 UTC
I agree with Peter here, it looks like a good way to allow the user to shoot himself in the foot. That's why I close it as WONTFIX.
Peter, of course if you change your mind later feel free to reopen.
Comment 3 S. Burmeister 2008-01-24 18:53:09 UTC
Why is this a wontfix? How is the user supposed to copy files from a local folder to a USB-drive shown in Places? By using the context-menu?

What's the problem of distinguishing between dropping something inbetween two itmes (signaled by the black line) and dropping something on an item (signaled) by selcting it. This is how it worked for kicker and placing icons on it, launching the application with that URL dropped on it respectively.

Even if you consider this as to complex at a minimum dolphin should open the place the user drags an item to (and holds it above it for some time) in order to allow to drag and drop files to/from places.

Otherwise Places should be renamed to bookmarks.
Comment 4 Peter Penz 2008-01-24 19:10:40 UTC
Sven, Kevin: I'll have a look how it feels if we distinguish between dropping something on an item or in between. Kevin, before I commit anything I'll contact you before.

The expectation that files can be dropped on the places items also has been mentioned at this review http://osnews.com/story/19159/KDE_4.0.0:_Sweet_Follows_Sour

-> I think it's worth to verify this :-)
Comment 5 S. Burmeister 2008-01-24 19:52:40 UTC
However the dropping does not help in case one wants to copy from a USB-stick to ~/Documents/photos/holiday. Konqueror solved the latter by opening a folder if one hovers it long enough.

If you do not like to open it in the main-view, which I would prefer, at least the folder-pane should behave that way in order to be able to drop something into another folder.
Comment 6 Peter Penz 2008-01-30 23:23:10 UTC
SVN commit 768921 by ppenz:

allow dropping items above a place inside the Places panel

BUG: 154014

 M  +1 -0      CMakeLists.txt  
 A             dolphinfileplacesview.cpp   [License: GPL (v2+)]
 A             dolphinfileplacesview.h   [License: GPL (v2+)]
 M  +5 -4      dolphinmainwindow.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=768921
Comment 7 Claudius Ellsel 2020-08-05 17:17:09 UTC
*** Bug 142903 has been marked as a duplicate of this bug. ***