tutao / tutanota

Tuta is an email service with a strong focus on security and privacy that lets you encrypt emails, contacts and calendar entries on all your devices.
https://tuta.com
GNU General Public License v3.0
6.09k stars 525 forks source link

Pasting images into mail editor does not work #5083

Closed charlag closed 1 year ago

charlag commented 1 year ago
  1. Right click some image in the web and copy image (the image itself)
  2. Open mail editor and try to paste the image
  3. Nothing happens

Test Notes

we should keep an eye on https://github.com/tutao/tutanota/issues/4960 and see if it still occurs with the new squire

ganthern commented 1 year ago

did this work before? what's the expected behaviour? I guess attaching it as an inline image?

charlag commented 1 year ago

Depends on how OS gives us to us inline image might be an option. It is just very confusing from the user perspective. I don't think it worked before but I doubt it's fully intentional either and is at least usability bug.

ganthern commented 1 year ago

is at least usability bug.

definitely, if it's possible at all we should look into it

SethFalco commented 1 year ago

I think this may be related to the following issue:

Rubber-Duckie commented 1 year ago

Still does not work. This works in every other email service I use. This needs top priority. Basic JavaScript skills required.

Firefox 113.0.1 (64-bit) + windows 10

Attempt to paste an image from clipboard. It shows the image in the email. But on send, the image is lost.

All it does is result in bazaar placeholders but no image is embedded. Funny, even git hub manages this just fine.

Example below; image

bravedave commented 1 year ago

What do you use for sending the email ? (E.g PHPMailer)

ganthern commented 1 year ago

@Rubber-Duckie works fine for me on the desktop client and firefox, tested linux and windows 10 with internal and external mail. please check your setup, and cut the passive aggression. The current version of the client should be 3.112.12 on the web and 3.112.11 on desktop.

@bravedave how is this relevant to the issue?

bravedave commented 1 year ago

I picked up on the comment It shows the image in the email. But on send, the image is lost.

Images, I believe, need to be converted to cid attachments - so that's a server side process, I use PHPMailer and have to do a save to disk, attach and cid replace (I think bit rough, working from memory there)

Rubber-Duckie commented 1 year ago

Note that this is an error when using the web editor in the browser. This is not associated with a thick client application executing on a local machine. The inability to paste images into the email and retain them on send is a bug with the online web client (in the browser)