Drag and Drop export of vcards to Mail no longer works in Snow Leopard

In 10.5, you could drag a vcard from the Address Book application, drop it on the Mail icon on the dock, and the vcard would be automatically attached to a new mail message. This no longer works in 10.6. Tested on a G4 iMac running Leopard and a Mac Pro on Snow Leopard. Kind of a bummer, as I used to send new contacts to business partners all the time this way.

There have been other reports of drag and drop to the icon not working like it did/should.
I imagine rewriting it for Docksposé caused a lot of code changes. Hopefully, they will fix the things that have fallen through the cracks.
I forgot to mention the only workaround I can find is to create the new message first, and then use Docksposé to drop the vCards onto the new message.
Message was edited by: Barney-15E

Similar Messages

  • Mail "New Message" window retreats to background after drag and drop attachment from Finder to Mail "New Message", click, and Finder window stays in foreground even when not in focus

    Hi, I'm surprised I can't quickly find if anyone else is having this issue. For me it has been going on since Lion on my 13" MacBook Pro 2011 and it's still persisting in Mavericks, and even still now that I've "downgraded" to a 15" MacBook Pro 2010 with Mavericks.  The behavior is odd and difficult to explain concisely. Basically, when I want to add an attachment to Mail, I'll Cmd+Tab over to Finder click and drag and Cmd+Tab back to Mail, and drop the attachment. At first it looks fine, but when I click in the New Message window where I just dropped the attachment, to move the cursor, it retreats to the background and the Mail Main Window comes to the foreground. Then, if I click on that, the Finder window that I just used comes to the foreground. Sometimes if I switched to another app before going to Finder to select the drag and drop, that other app window will appear in the foreground instead. If I click on the other app window that is now in the foreground, then the Finder window that was last used will come to the foreground. The only thing that seems to fix this switch-a-roo effect is Cmd+Tab-ing back and forth a few times, or click on the window "frame" at the top to move the window around.
    The way to prevent this is to have my Mail Message window visible in the foreground side by side with the Finder window when the drag and drop occurs (this is a tedious extra step if mulitple windows are open, or to use the add attachment command in the menu within Mail. But it sure is annoying buggy behavior.
    Thanks
    Daniel

    Yep, I get exactly the same thing when using Thunderbird mail client on my 2011 iMac running Lion. I've been putting up with it for at least a year, maybe longer.
    For me it appeared to start after a Thunderbird update, so I figured that was the cause and couldn't find a solution at the time. However I've now noticed it starting to happen in Apple Motion 4 when dragging files from Finder into a DropZone in my animations. Motion remains the active program but the Finder window sits on top until I Cmd-tab out to a third open program (ie not Finder) and back to Motion again.
    This is the first indicator I've had that it's an OS X issue.
    Be great to find a solution as D&D is by far my preferred way of adding attachments to emails and similar tasks.

  • Drag and Drop Export Done is called too soon...

    Hi,
    I am trying to drag and drop a JLabel from a JPanel into another JPanel. I am no where near to figuring it out, but just for starters I notice that the exportDone() method is called in my custom TransferHandler immediately when the drag begins. Even stranger, createTransferable() is never called. (I am comparing my code to the DragPictureDemo that I found online). The question is, why is exportDone called immediately? Code below. Thanks. (BTW, any other suggestions about what I'm trying to do would be appreciated. I'm not confident in the direction I'm taking here... have yet to understand the Swing DnD mechanism...)
    From DragPictureDemo, I notice that createTransferable and exportAsDrag are called immediately upon drag, and exportDone is called at the drop.
    Here is my code: First, the main class Testola.java:
    * Created on Oct 31, 2007
    * Copyright 2006 Michael Anthony Schwager.
    * This software comes without warranty or applicability for any purpose.
    * Rights granted for any use.
    package testola;
    import javax.swing.*;
    import java.awt.*;
    public class Testola implements Runnable {
          * @param args
         public void run() {
              /*char[] stdout_arr={};
              String blah;
              blah=new String(stdout_arr, 0, 0);
              StringBuffer buf=null;
              System.out.println("Hello world." + " wow" + null + "<-null");*/
              // --------- FRAME ---------
              JFrame frame=new JFrame("Test");
            frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
              frame.setBounds(30,30,500,400);
            JDesktopPane dtp=new JDesktopPane();
            frame.getContentPane().add(dtp);
            // First Internal Frame; false means no close box.
            JInternalFrame jif=new JInternalFrame("One", true, false, true, true     ); //jif.setBounds(0,0,100,50);
            DnDJPanel contentPanel=new DnDJPanel(); contentPanel.setBackground(new Color(255,255,180));
            contentPanel.setLayout(null);
            // Then JLabels, first 1
            JLabel test1=new JLabel("test1!"); test1.setBounds(0, 0, 50, 20);
            test1.setBorder(BorderFactory.createLineBorder(Color.RED));
            //test1.setTransferHandler(new JComponentTransferHandler());
            contentPanel.add(test1);
            // 2
            JLabel test2=new JLabel("test2!"); test2.setBounds(10, 30, 50, 20);
            test2.setBorder(BorderFactory.createLineBorder(Color.GREEN));
            //test1.setTransferHandler(new JComponentTransferHandler());
            contentPanel.add(test2);
            // Finalize Frame
            contentPanel.setBounds(0,0,250,140);
            contentPanel.setTransferHandler(new JComponentTransferHandler());
            contentPanel.setVisible(true);
            jif.setBounds(10,10,250,140);
            jif.setContentPane(contentPanel);
            jif.setVisible(true);
            // Second Internal Frame
            DnDJInternalFrame jif2=new DnDJInternalFrame("Two", true, false, true, true     );
            // JPanel and jtextfield to add to Frame2
            // Finalize Frame2
            jif2.getContentPane().setLayout(null);
            jif2.setBounds(120,150,200,155);
            jif2.setVisible(true);
            dtp.add(jif);
            dtp.add(jif2);
            try {jif.setIcon(false);} catch (Exception e) {System.err.println("setIcon exception");}
              frame.setVisible(true);
         public static void main(String[] args) {
              Testola testola=new Testola();
              try {EventQueue.invokeAndWait(testola);} catch (Exception e) { System.out.println(e);};
              //testola.run();
              System.out.println("Exit");
    }Now, my JComponentTransferHandler.java:
    * Created on Apr 12, 2008
    * Copyright 2006 Michael Anthony Schwager.
    * This file is part of testola.
    * testola is free software; you can redistribute it and/or modify
    * it under the terms of the GNU General Public License as published by
    * the Free Software Foundation; either version 2 of the License, or
    * (at your option) any later version.
    * testola is distributed in the hope that it will be useful,
    * but WITHOUT ANY WARRANTY; without even the implied warranty of
    * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    * GNU General Public License for more details.
    *  (You should have received a copy of the GNU General Public License
    *  along with testola; if not, write to the Free Software
    *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
    package testola;
    import java.awt.datatransfer.DataFlavor;
    import java.awt.datatransfer.Transferable;
    import java.awt.event.InputEvent;
    import javax.swing.JComponent;
    import javax.swing.TransferHandler;
    public class JComponentTransferHandler extends TransferHandler {
         public JComponentTransferHandler() {
              super();
         public JComponentTransferHandler(String property) {
              super(property);
         public void exportDone(JComponent source, Transferable data, int action) {
              super.exportDone(source, data, action);
              System.out.println("Export is done!");
         public boolean importData(JComponent comp, Transferable t) {
              boolean res;
              res=super.importData(comp, t);
              System.out.println("Import is done! " + res);
              return res;
         public boolean canImport(JComponent comp, DataFlavor[] transferFlavors) {
              boolean res;
              res=super.canImport(comp, transferFlavors);
              System.out.println("Can import: " + res);
              return res;
        public void exportAsDrag(JComponent comp, InputEvent e, int action) {
             super.exportAsDrag(comp, e, action);
             System.out.println("Export as drag: " + comp.getClass().getName());
        protected Transferable createTransferable(JComponent c) {
            System.out.println("createTransferable, arg: " + c.getClass().getName());
             Transferable t=super.createTransferable(c);
            return t;
    }Edited by: Hushpuppy on Apr 13, 2008 7:59 PM
    Edited by: Hushpuppy on Apr 13, 2008 8:02 PM
    Edited by: Hushpuppy on Apr 13, 2008 8:13 PM

    No idea whether this will be helpful, but exportDone() is not called immediately if you remove the call to super.exportAsDrag.
    db
    edit Since your earlier post, I've been trying to teach myself Swing DnD, but am finding the documentation confusing and the tutorials primitive... I'd reached a conclusion, which has every chance of being wrong, that I should call createTransferable from exportAsDrag. FWIW these are the methods as of now -- nothing works :-(   @Override
       public void exportAsDrag(JComponent comp, InputEvent e, int action) {
          // count is a instance field to monitor repeated calls
          System.out.println(count + ". " + "exportAsDrag"); count++;
          //super.exportAsDrag(comp, e, action);
          // dragSource is a instance field of type Container
          dragSource = comp.getParent();
          createTransferable(comp);
       @Override
       protected Transferable createTransferable(JComponent child) {
          System.out.println(count + ". " + "createTransferable"); count++;
          // ComponentHandler implements Transferable
          Transferable t = new ComponentHandler(child);
          return t;
       }The commented line is from testing a possible cause of your problem, since my code never gets as far as exportDone() :-(
    Edited by: Darryl.Burke

  • Can't drag and drop from Address Book to Mail?

    Hi,
    I have always used Address Book to store my email contact information in SL. When I wanted to send an email, I would drag and drop from Address Book to the "To:" field in Mail and it would add the contact information to Mail. I upgraded to Lion, and now when I try this, the address icon moves like it should, the little green circle with the + in it appears when I hover over the field, but when I release it does not add the address to Mail. The drag and drop does not work at all, but it looks like it should. I have searched all around but have not found any information about this. Does anyone know what's up with this? How can I fix it? Thanks in advance.

    Are you dragging from the actual AddressBook application, or the Address icon you can add to the NewMail and Reply toolbars in Mail?  (It ought to be there by default, but isn't).
    Either should work, but if AB doesn't, try the icon method:

  • I can't drag and drop emails to folders in mail

    I used to be able to drag and drop emails into folders that I have set up in mail.  Now I cannot do this.  I am running Mac OS X Ver 10.7.4.  Any ideas?

    Do you get any error messages?
    Regards
    TD

  • Drag and drop files from Outlook move mails to delete box

    Hi everybody,
    I'm trying to develop a feature to be able to drag one or several mails from Outlook to my Java application.
    As Java doesn't recognize a drop of an Outlook mail, in my program, I assume that if it's not a known file type, it is a mail. (I know it's quite straightforward).
    When one or several mails are dropped I use a function from a plugin to get detail from the Outlook mails to import them into my application. In fact it import the data from the current selected mails in Outlook. This function is working perfectly when I use it without drag and drop (from a button 'Import' in the application).
    My problem is that when I use drag and drop, mails are imported correctly but sometimes (not always) they are also moved in the delete box of Outlook. I have done several tests to try to figure out what is the cause. I have used several versions of Outlook, I have dropped 1 mail and several mails a the same time, etc...
    Here are my tests results: it deletes the mails randomly but it seems to delete more often when my Java application isn't in full screen.
    What could be the cause?
    Another question: is it possible to configure my drop area to do copies only and not move? When you drag and drop you have a small symbol next to your mouse arrow. It is a '+' inside a square for copy and an empty square for move. My drag and drop does move by default. I could maybe avoid my deletion problem by changing it to copy?!
    Cheers.
    Edited by: Foobrother on Apr 16, 2009 2:46 AM

    I think I have fixed it. I still have to make more tests, but it doesn't delete the mails any more for the moment.
    In fact, when dropped item is detected as a file I do dtde.acceptDrop(DnDConstants.ACTION_COPY);But if it's not, I just set a variable to say that it is an Outlook mail.
    So I have added the line dtde.rejectDrop(); to cancel the drop. And now it seems to work.
    Apparently, I didn't clean some stuff when doing an email drop and it still wanted to move the mail or something?!
    Anyway, thanks for the help

  • Strange drag and drop text editing behavior in Mail

    Sometime when selecting text in an email and dragging it to a new part of the document COPIES the selected text to the new location rather than MOVES the original text.
    Is this a bug or is there a trick to drag and drop in Mail?

    Is this a bug or is there a trick to drag and drop in Mail?
    No bug, no trick. You simply have to be careful so that you get it right. Select the text you want to move, then click and hold (pause slightly), and drag & drop to the new position. Simple, and it works every time if you do it rights.

  • Drag and drop problem on Lion... doesn't work

    Hi,
    I have had a drag and drop problem since I installed Lion on my computer.  I grab a file and by the time i try to drop it on a folder it is not released.  This happens in all programs and it is really annoying,  finder, iphoto, mail, you name it.
    I've tried repairing disk permissions directly from lion and then from the repair disk partition and it has been no good.
    Any ideas???
    I have a MBP 15 in, 2.8 ghz intel core 2 duo.  4 gb ram.
    And hey, since i installed lion computer is soooooooooooo slow, any tips will be highly appreciated.

    drag and drop doesnt work at all, no matter what i try to do it doesnt work.
    on desktop i grab a file and then try to drop it on a folder and doesnt drop.
    on mail i grab an e-mail and try to place it on a folder and it doesnt drop.
    i movie i select some photos, try to drag them to the project area and they dont drop i have to copy/paste in order to transfer them.
    itunes i grab a file from my music library and try to drop it to a playlist and it doesnt drop
    it is really really annoying.
    any ideas????

  • Can't Drag and Drop songs onto Shuffle. Autofill Doesn't work either

    I know that many people have been having this same problem.
    The Shuffle is recognized by the computer AND even iTunes. It shows up in the playlist, but when you try to Autofill or even Drag and Drop the songs individual, the songs, for lack of a better term, don't stick.
    It was working perfectly when my daughter first got it for Christmas, and now, this happens. We have already had to return one shuffle.
    Does this one have the same fate???
    HELP!
    Shuffle   Windows XP   1 GB

    Same problem here too. Was workiong fine about a month ago. When looking at songs in my Shuffle Library the new ones I have manually dragged accross appear with a 'dot' beside the track number - it is these songs which are not being transferred to the shuffle. I can't even get the message at the top of iTunes to say "Ipod Shuffle is Connected & Updating - Do Not disconnect." I have updated iTunes to latest version and completed all Shuffle updates. What's the go? Is the only solution to have the shuffle replaced? Seems very strange it used to work and now it doesn't - nothing had changed in the intervening period. Appears I'm not the only one with this issue. Does anyone have an answer?
    Dell Precision M70 Laptop   Windows XP   1GB Shuffle
    Dell Precision M70 Laptop   Windows XP   1GB

  • Drag and Drop from Photos app to Safari does not work (Regression to iPhoto)

    Drag And Drop from the new Photos app to Safari does not work. This worked perfectly with iPhoto before.
    I use this a lot to upload photos to a Wordpress blog. Is there a way to make this work again? Its a major regression to the old iPhoto behaviour -- at least for my workflow.
    Regards

    Use the Media Browser. This was written for iPhoto but it still works for 95% of Photos. It's the first option you want:
    https://discussions.apple.com/docs/DOC-4491

  • IE8 drag and drop in Outlook Web App OWA is not working

    I'm having trouble identifying the cause behind an inability to drag and drop emails between folders in OWA (Exchange 2010).
    The problem PC is running fully up to date 32 bit Windows XP SP3 with IE8. When I try to drag and drop an email all I see is a black stop symbol. On another PC with the same spec, logged in with the same user account, I can drag and drop emails fine between
    folders in OWA.
    I've tried clearing browser cache/history etc, resetting the browser to factory defaults, re-installing the browser, reducing security in the browser to absolute minimum, re-installing Java, Silverlight, S/MIME (although I'm sure it doesn't use these).
    Can anyone suggest anything else, or provide helpful links? I've been looking at this for many hours without any progress. If I even just knew what component/tool/feature IE is using when it does/doesn't drag and drop I'd have somewhere to start...
    TIA.

    I have this problem I heard there is a hotfix but I dint get the number, this affects any drag and drop options such as dropbox, sharepoint, etc..
    When I get the number I will post it for you.
    a work around is Chrome. but it has options for the html5 which is not present even in IE 10. :(.
    technet sharepoint alert
    I spent about three days on this and one IT guy and more than several Engineers at microsoft india, they are helpfull but not this time.
    this works on server 2008r2 but not vista, I am guessing Windows 7.

  • I can't drag and drop (download) attachments in Mac Mail

    The attachment, a PDF, will get stuck to the cursor for about 1 minute. Have to do a force quit. This is beyond a major headache. I have even tried right-clicking and doing a copy / paste. Seems like it won't copy to the clipboard (or whatever the Mac lingo is for that?)
    Mid 12 MPB, 10.9.2
    Thanks,
    Cmissle

    Hi thebunnyrules, I'm glad you've resolved your problem, but please be mindful of old topics and don't necrobump.
    https://wiki.archlinux.org/index.php/Fo … bumping.22
    Closing.

  • Drag and drop interactivity- do it for me button not working when published to HTML5

    I've made a drag & drop interactivity, I am adding a button where the user can get the correct answers for that interactivity.
    using advance actions / Standard action / and apply custom effect (right to left ease) in captivate 7.
    The problem I'm experiencing is that the button works fine when reviewing as SWF but when I publish as HTML5, it is not running.
    I am attaching screen shots for it.
    Thanks,

    Sorry advance actions screen as below:
    The idea when user click on "do it for me" button, drag source move to drop target automatically.
    Thanks

  • Drag and Drop Software From Itunes to iPhone don´t work.

    HI,
    I bought some iphone apps in the itunes store. I want to put them on my (activated and fw 2.2) iphone (old). But it don´t let me drag then on the phone. I can click them in the mediathek, but I can not put them on the phone... whats my error?

    Connec tteh iPhone and select it in iTunes.
    Click the Apps tab.
    Tick the applications you want on the iPhone.
    Then Sync.

  • Drag and Drop prob (Mail)

    When I drag and drop text in a Mail message it drops a copy in the new location and leaves the original text in place. I guess there must be a setting somewhere to allow what I would call normal behavior (ie the text moves location when dragged, equivalent to cut and paste) but I can't find it. Anyone?
    (EDIT) - Couldn't find an answer to this when I searched the communities but when I posted the above, a link to a similar question (with an answer) appeared Re: Strange drag and drop text editing behavior in Mail, so thanks for reading this but no answer is now required)

    You might consider using the "Archive" capability of Mail.  Look at Archive in Mail Help.
    charlie

Maybe you are looking for