[Users] [Bug 4073] New: Support creating image attachments by pasting into compose window
noreply at thewildbeast.co.uk
noreply at thewildbeast.co.uk
Sat Aug 18 14:47:40 CEST 2018
https://www.thewildbeast.co.uk/claws-mail/bugzilla/show_bug.cgi?id=4073
Bug ID: 4073
Summary: Support creating image attachments by pasting into
compose window
Classification: Unclassified
Product: Claws Mail
Version: 3.17.0
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P3
Component: UI/Compose Window
Assignee: users at lists.claws-mail.org
Reporter: shai at platonix.com
Images can be attached to mails, just like any other file. However, images can
also exist in modern clipboards (e.g. after taking a screenshot, or copying
part of an image in an image editor), and it is sometime useful to attach these
copied images to a mail. Currently, the only way to do this in Claws-Mail is to
save the image as a (temporary) file, and attach that file. This is a little
cumbersome.
I'm suggesting that if an image is pasted into the composer window, Claws will
add it to the message as an attachment. Points to consider:
1) There should be clear, visible feedback to the user -- just having the image
added to the "attachments" tab of the header pane is not enough, because that
tab may be hidden or just "full" of previous attachments.
2) Attachments need file names. If the image got into the clipboard by copying
a file via a file manager (or some equivalent action), then the file name may
be available, but as noted above that is not necessarily the case. I see two
viable paths when there is no name: Either use a generic, constant name
("Image"?) with a suffix according to the image content-type (e.g "Image.png"),
or generate a probably-unique name (e.g. based on current time or some random
selection of characters).
2a) Whichever is picked for 2) above, it may be useful to open a dialog for the
user to edit the file name. In the case where the user wished to accept the
file name, it would require them one more action of confirmation; in the case
where they wish to change it, it would save them the relatively complex process
of picking the attachment from the attachments tab, picking "properties" from
the context menu, and only then getting to edit the name. It would also serve
as the user-feedback mentioned in point 1).
"Prior art": Some vague version of this feature has been discussed in a thread
starting at https://lists.claws-mail.org/pipermail/users/2013-March/005736.html
(thanks IRC user Woody``` for the reference). I have seen it in other mail
clients (probably KMail, but I'm not 100% sure).
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Users
mailing list