Bug 395077 - New attachment type: "Attach clipboard"
Summary: New attachment type: "Attach clipboard"
Status: RESOLVED FIXED
Alias: None
Product: kmail2
Classification: Applications
Component: composer (show other bugs)
Version: 5.7.3
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-06-06 08:56 UTC by Dennis Schridde
Modified: 2018-06-06 11:27 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In: 5.9.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dennis Schridde 2018-06-06 08:56:21 UTC
Currently I can attach files, folders, my own vCard or other vCards.  It would be great if I could also attach the current content of the clipboard.  After selecting "Attach clipboard ..." from the menu, I would be asked for a filename.  After pressing "OK" on that dialogue, the clipboard contents would appear with the specified filename in the list of attachments.  If KMail can only attach existing files, a temporary file could be created.
Comment 1 Laurent Montel 2018-06-06 11:27:31 UTC
Git commit 4cdb29bb99af299d886ec7401cb8bd18da77b32a by Laurent Montel.
Committed on 06/06/2018 at 11:27.
Pushed by mlaurent into branch 'master'.

Fix Bug 395077 - New attachment type: "Attach clipboard"

FIXED-IN: 5.9.0

M  +2    -0    messagecomposer/src/CMakeLists.txt
M  +30   -0    messagecomposer/src/attachment/attachmentcontrollerbase.cpp
M  +1    -0    messagecomposer/src/attachment/attachmentcontrollerbase.h
A  +64   -0    messagecomposer/src/job/attachmentclipboardjob.cpp     [License: GPL (v2)]
A  +38   -0    messagecomposer/src/job/attachmentclipboardjob.h     [License: GPL (v2)]

https://commits.kde.org/messagelib/4cdb29bb99af299d886ec7401cb8bd18da77b32a