Bug 299651

Summary: Drag'n'Drop of 'Recent Document' matches isn't possible
Product: [Plasma] krunner Reporter: Elias Probst <mail>
Component: generalAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: kde
Priority: NOR    
Version First Reported In: 4.9.0   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Elias Probst 2012-05-08 20:59:31 UTC
KDE 4.8.3
Qt 4.8.1

Use case example:
1. Compose a mail
2. Launch krunner to find an attachment
3. Drag'n'drop the result from krunner to the mail composer window to attach it

This works just fine for files in the result list where the search term matches the file name.
This doesn't work for 'Recent Document' matches at all.
When drag'n'dropping a 'Recent Document' match to a mail composer window, an error message like

The file or folder /home/elias/.kde4/share/apps/RecentDocuments/Open%20Issues.ods.desktop does not exist.

So the problem here seems to be, that the result provides the recent document desktop file for the drag'n'drop operation instead of the actual file referenced by this desktop file.
Comment 1 Elias Probst 2012-08-02 22:50:50 UTC
Still valid for 4.9.0, although in a slight different way.
Instead of seeing the error message

The file or folder /home/elias/.kde4/share/apps/RecentDocuments/Open%20Issues.ods.desktop does not exist.

the .desktop file is attached to the mail.
That's maybe even worse than before from a usability POV, as it suggests to the average user, that a file was attached and equivalents to windows users sending *.lnk files as mail attachments :)
Comment 2 Kai Uwe Broulik 2016-02-04 21:04:01 UTC
Works fine here. (Currently implementing drag and tested it with various recent documents results)