When adding files from a Nepomuk search (e.g. from Dolphin) via drag'n'drop to a new mail, the filename contains the full URL which is URL encoded and all % signs are replaced by an underscore.
→ Open Dolphin
→ Click on search
→ Enter a searchterm
→ Open KMail
→ Compose a new mail
→ Drag'n'drop a file from the search results to the composer window
→ Select "Add file as attachment"
The name of the attached file looks like this:
When doing this with a file from a regular Dolphin view, the filename looks correct.
I confirm it but for me it's not a kmail bug but a dolphin bug.
Git commit c847aacf4c3f8e6bd9579d66078fde16510552ef by Emmanuel Pescosta.
Committed on 24/06/2013 at 09:11.
Pushed by emmanuelp into branch 'KDE/4.10'.
Use the target url of a item when creating the QMimeData in KFileItemModel::createMimeData.
M +1 -1 dolphin/src/kitemviews/kfileitemmodel.cpp