Yosemite Mail does not let you drag attachments into 1Password [Drag to desktop first, then to 1P]

LanceCov
LanceCov
Community Member
edited October 2014 in Mac

Hi,
Just installed Yosemite and 1Password 5.0 (Apple Store version). Everything seems to be OK except the following:
I created a new software license; as the last step I tried to drag the purchase receipt email from Apple Mail to the "attachments" field in the new software license record. The dragging process seemed to work with the email icon moving across the screen as I dragged it to the "attachments" field. When the mail icon was over the "attachments" field, the usual green with white cross icon appeared indicating I could drop the email. When I did so nothing happened. I tried this many times using different emails; no luck. This scenario always worked with no problems with the last version of 1Password in Mavericks. Thanks in advance for any responses.
lancecov

Comments

  • MikeT
    edited October 2014

    Hi @LanceCov,

    This is a known issue in Apple Mail on Yosemite, it does not let you drag attachments into another app.

    To work around this, drag the attachment onto the desktop and then drag it from the desktop into 1Password, which will work.

  • LanceCov
    LanceCov
    Community Member

    Many thanks for the quick response.

  • You're welcome!

  • FrankM7885
    FrankM7885
    Community Member

    I have had the same problem. It used to work before Yosemite and 1Password 5. I found that if I use Outlook, I can drag the mail message as an attachment.

  • Hi @FrankM7885‌

    Yes, unfortunately this is a known issue that exists with Apple Mail on OS X 10.10 Yosemite. It is not exclusive to 1Password -- we've tried dragging attachments from Mail to other apps as well, and it seems to be systemic with Apple Mail on Yosemite.

    Thanks.

    Ben

  • bjoerker
    bjoerker
    Community Member

    Hi Ben

    Also with the same problem I just read your reply. I think I found an app where it's working on OS X 10.x: I'm using "Things" from Cultured Code where I also often drag and drop mails from Apple Mail into a window from "Things". As far as I can see it's also stored as an attachment and not only as a reference to the mail (I did a test, where I deleted the mail). And this feature works without problems also on Yosemite. Maybe I'm wrong, but for me it looks like a similar process as in 1Password. Maybe you could still have a look at it?

    Thanks,
    Martino

  • Hi @bjoerker‌,

    Thanks for letting us know that Things still works. I'll see if I can find anyone here that knows someone at Cultured Code that we can go ask to compare notes about how we're getting the files from Mail. In our case we're using what's called a Promised File. i.e. Mail Promises that after the drag operation, a File with the contents of what the user dragged will be available to us at a certain location that it tells us. It does this so that it doesn't need to copy everything into memory as soon as the user starts the drag. Promised Files are broken in Mail in Yosemite. We've filed a bug with Apple, and I've gotten confirmation that they were able to reproduce the problem, but weren't able to get us a a workaround. Internally we have a workaround that we've found, but it's really ugly and we don't trust it much so we've not put it into production. We still hope that Apple will fix the bug in Mail. If they don't in the coming months then we'll have to look at fixing up our workaround.

    Rick

  • Hi @bjoerker‌,

    I was able to get a hold of a Mac developer at Cultured Code to compare how their approach works compared to ours. It turns out they aren't using Promised Files, which explains why they aren't running into the issue we are. They aren't making a full copy of the message though, as we need to do. But the way that they get the information out of the message actually works a lot like the workaround we had started working on here, which makes me a little less worried about it. I'm still hopeful that Apple fixes this from their end, but if they don't then we can polish up our workaround to make it work a little better and hopefully have this working again.

    Cheers.

    Rick

  • bjoerker
    bjoerker
    Community Member

    Hi @rickfillion‌,

    Thanks a lot for your explanation! I hope Apple will fix it and I'm happy to hear you guys have an idea for a workaround.

    Cheers,
    Martino

  • Megan
    Megan
    1Password Alumni

    Hi Martino ( @bjoerker‌ ),

    I'm glad to hear that Rick's explanation helped! If you have any further questions or concerns, we're here for you. :)

  • MrC
    MrC
    Volunteer Moderator

    I was just able to drag a PDF from Mail in OS X 10.10.2 to the 1Password 5.3.BETA-2 (530002). The first time I tried it, drag-n-drop from Mail stopped working. Console indicated that a Mail / AppKit thread / service crashed. So i restarted Mail, and tried again - it worked twice in a row.

  • @MrC : I believe dragging an attachment from Mail is different than dragging a mail message.

  • MrC
    MrC
    Volunteer Moderator

    Indeed. I see this thread is referring to both. Sorry, my bad.

This discussion has been closed.