Bug 206629

Summary: Places panel should automatically mount a USB card when you drag-and-drop something on it
Product: [Frameworks and Libraries] frameworks-kio Reporter: Sladjan <sladivadi>
Component: PlacesAssignee: Lukáš Tinkl <lukas>
Status: RESOLVED FIXED    
Severity: wishlist CC: finex, kdelibs-bugs, marcdefrenne, nate, peter.penz19
Priority: NOR    
Version: 5.47.0   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In: 5.92

Description Sladjan 2009-09-07 15:06:44 UTC
Version:           1.3 (using 4.3.1 (KDE 4.3.1), Debian packages)
Compiler:          cc
OS:                Linux (x86_64) release 2.6.30-1-amd64

When I insert a USB flash card I can see it in the places widget. However when I try to copy something to it with drag 'n drop I get the error 'malformed URL'. The USB drive isn't mouned at that point and when I mount it before I can copy the files.

Shouldn't the widget just automount automatically and go on with copying in the first place?

Regards,
Sladi
Comment 1 Kevin Ottens 2009-09-08 07:55:46 UTC
Indeed we probably want to lazy mount on drop (like we do on click). Reassigning to the right component though.
Comment 2 Defrenne 2013-07-23 14:57:49 UTC
on my system, a usbkey is always mounted with "root" right so I can no more use it "acces forbiden" 
What a mes with kubuntu  linux 3.8.0-26-generic  Kde SC 4.10.4
does it mean that I must learn to use konsole for use linux
Comment 3 Bug Janitor Service 2022-02-06 09:41:11 UTC
A possibly relevant merge request was started @ https://invent.kde.org/frameworks/kio/-/merge_requests/749
Comment 4 Kai Uwe Broulik 2022-02-10 19:00:48 UTC
Git commit 65ea64aa5979906ef4384fe3f5255119d72fc65e by Kai Uwe Broulik.
Committed on 10/02/2022 at 18:51.
Pushed by broulik into branch 'master'.

[KFilePlacesView] Mount place when dropping onto it

Make a copy of the `QDropEvent` including its `QMimeData`
so we can replay the `urlsDroppedEvent` once setup has succeeded.

M  +51   -21   src/filewidgets/kfileplacesview.cpp

https://invent.kde.org/frameworks/kio/commit/65ea64aa5979906ef4384fe3f5255119d72fc65e