Bug 206629 - Places panel should automatically mount a USB card when you drag-and-drop something on it
Summary: Places panel should automatically mount a USB card when you drag-and-drop som...
Status: RESOLVED FIXED
Alias: None
Product: frameworks-kio
Classification: Frameworks and Libraries
Component: Places (show other bugs)
Version: 5.47.0
Platform: unspecified Linux
: NOR wishlist
Target Milestone: ---
Assignee: Lukáš Tinkl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-07 15:06 UTC by Sladjan
Modified: 2022-02-10 22:01 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.92


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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