Bug 396998

Summary: DND Files from Ark to KMail Composer
Product: [Applications] kmail2 Reporter: Allen Winter <winter>
Component: composerAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: wishlist CC: montel, rthomsen6
Priority: NOR    
Version: 5.8.3   
Target Milestone: 15.08   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In: 5.10

Description Allen Winter 2018-07-30 22:32:53 UTC
In Kmail reader I have a message with a zip file attachment containing 2 pdfs.
I open the attachment with Ark.

I want to email one of the pdfs as an attachment to another person.
Open the composer, try to DND the pdf from the Ark window to the KMail composer window. doesn't work.
Comment 1 Laurent Montel 2018-07-31 05:30:39 UTC
Why it's
Comment 2 Laurent Montel 2018-07-31 05:31:37 UTC
(In reply to Laurent Montel from comment #1)
> Why it's

why it's a kmail bug ?
dnd works fine so it seems with dolphin for example that it's a ark problem.
ark needs to create correct dnd info
Comment 3 Allen Winter 2018-07-31 12:27:33 UTC
moving to Ark.
If it matters, this is ark 17.12.3
Comment 4 Elvis Angelaccio 2018-08-05 08:59:51 UTC
Actually this feature needs support in kmail. DnD from ark is implemented via a dbus method that kmail needs to call.

You can use dolphin/src/views/draganddrophelper.cpp as example.
Comment 5 Laurent Montel 2018-08-06 06:45:15 UTC
Git commit 0746d3e7a224e957bac6203c7311b416d3d83767 by Laurent Montel.
Committed on 06/08/2018 at 06:44.
Pushed by mlaurent into branch 'master'.

Fix Bug 396998 - DND Files from Ark to KMail Composer

FIXED-IN: 5.10

M  +13   -10   src/editor/kmcomposerwin.cpp

https://commits.kde.org/kmail/0746d3e7a224e957bac6203c7311b416d3d83767