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.11k stars 526 forks source link

[macOS] Drag and drop email does not work, random file gets put onto the desktop/folder #7973

Open user733626 opened 3 days ago

user733626 commented 3 days ago

Describe the bug When trying to drag and drop e-mail from my inbox to desktop for example (but any other folder too), all I get is a weird file with random name something like "NFtdLM1--G-4". When I open the file in text editor, the same thing is written inside of the file.

To Reproduce Steps to reproduce the behavior:

  1. Log-in to the macOS tutanota desktop app
  2. Drag and drop any received email onto the desktop
  3. Weird file with random name appears on your desktop

Expected behavior A file with .eml extension is dropped onto your desktop/folder

Screenshots No screenshot, I am not sure what that file name means, so I don't really want to give it out (in case it is some kind of encryption key or whatever)

Desktop (please complete the following information):

Additional context Nothing else, thanks.

paw-hub commented 3 days ago

Hey, thanks for your issue!

First off, if you want to drag and drop an email to your desktop (or some other application), you need to be holding the Option key (or either CTRL or Alt if not on macOS).

This is required for a couple of reasons: starting a drag initiates downloading the email, and you can drop the resulting .eml anywhere when it may not be your intention to do this.

As for the file it creates when you aren't holding down a key, macOS generally wants to put something there when you drag and drop something. If you're wondering, that text is an ID, so it's nothing really useful. Which I agree it's a bit annoying and not expected behavior! Ideally, nothing should've happened.

user733626 commented 20 hours ago

Hello, thank you for the information! I can confirm that holding option + drag and dropping works as expected. Didn't know that 👍🏻