Bug 249621

Summary: Baloo runner does not provide mime data for drag and drop
Product: [Plasma] krunner Reporter: benni <benjamin_makus>
Component: generalAssignee: Sebastian Trueg <trueg>
Status: RESOLVED FIXED    
Severity: wishlist CC: kde, mail
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:

Description benni 2010-08-31 13:48:08 UTC
Version:           unspecified (using KDE 4.5.0) 
OS:                Linux

It would be nice if one could simply use KRunner (with Nepomuk) to search for files and Drag&Drop them to applications.
For example you search for a document with KRunner, which works nice by filename, and then D&D it to KMail Composer. But at the moment it's impossible to drag anything from KRunner.

I know, it's not really neccessary, but would make some things easier ;)

Reproducible: Always
Comment 1 benni 2010-10-11 13:02:44 UTC
It is possible to drag&drop applications (tried to drop "Amarok" to desktop and Dolphin, which works)

Now it would still be cool to drag and drop files
Comment 2 Elias Probst 2011-11-04 23:15:27 UTC
@trueg: Assigning this to you as the author of the Nepomuk runner. To me it looks like it is the runners job to provide DND properties for the results.
Comment 3 Kai Uwe Broulik 2016-02-06 10:23:17 UTC
Git commit 25dab5d872c6b7f27c2f0932888ed77ebfe13fb1 by Kai Uwe Broulik.
Committed on 06/02/2016 at 10:22.
Pushed by broulik into branch 'master'.

[Baloo Runner] Add mime data to matches

Allows to drag and drop around found files.

Differential Revision: https://phabricator.kde.org/D908

M  +8    -0    runners/baloo/baloosearchrunner.cpp
M  +4    -0    runners/baloo/baloosearchrunner.h

http://commits.kde.org/plasma-workspace/25dab5d872c6b7f27c2f0932888ed77ebfe13fb1
Comment 4 Kai Uwe Broulik 2016-02-06 10:23:57 UTC
Note that the drag and drop functionality in KRunner itself in Plasma 5 is still missing but I'm working on it.