Drag and drop to other desktops doesn't work in Mavericks

I'm currently experiencing an issue with dragging and dropping files within Mavericks. It seems to work only within one desktop: from one window to another. However, when I want to drag something to another screen/desktop the dragged items become stuck on the other screen. I can only move them again when I go back to the original window I dragged them from.
It is not practical to drag and drop anything on the same desktop on my (little) 13" MacBook Pro. By the way, this happened after updating to Mavericks.\
Can anyone help me?
If you're experiencing the same problem, please click the thumb.

the splice() method accepts two arguments.  the first is the (start) index of the element(s) you want to remove and the 2nd argument is the number of elements you want to remove.  in your situation, you should be using:
  bubbles.splice(currentIndexArray,1);

Similar Messages

  • Drag and drop to Windows desktop

    Hi
    I've been struggling with this for a while, I've got a TransferHandler class that allows drag and drop from Windows desktop to application, now I'd like to do the reverse, but can't seem to provide the suitable DataFlavor to the OS, I'm using javaFileListFlavor obviously. I am currently creating a Transferable with createTransferable, but this is a StringSelection, and I can't remove this because I need it for internal drag and drop in the application. Please advise.
    public class CDrag extends TransferHandler {
        public CDrag(TreeTableView ttv) {
            this.ttv = ttv;
            dndData = new ArrayList();
            relPath = "/";
            try {
                uriFlavor = new DataFlavor("text/uri-list;class=java.lang.String");
            } catch (ClassNotFoundException e) {
        @Override
        public int getSourceActions(JComponent c) {
            return MOVE;
        @Override
        protected Transferable createTransferable(JComponent c) {
            String nodes = "";
            int j = 0;
            TreePath[] sel = ttv.treeTable.getTreeSelectionModel().getSelectionPaths();
            for (TreePath i : sel) {
                FileNode fNode = (FileNode) i.getLastPathComponent();
                if (j > 0) {
                    nodes = nodes + "\n";
                nodes = nodes + fNode.toString();
                j++;
            return new StringSelection(nodes);
        @Override
        protected void exportDone(JComponent c, Transferable t, int action) {
            if (!dndData.isEmpty()) {
                File[] sg = (File[]) dndData.toArray();
             // delete files that are dropped
                dndData.clear();
        @Override
        public boolean canImport(TransferSupport supp) {
            if (supp.isDataFlavorSupported(DataFlavor.stringFlavor)) {
                return true;
            if (supp.isDataFlavorSupported(DataFlavor.javaFileListFlavor)) {
                return true;
            if (supp.isDataFlavorSupported(uriFlavor)) {
                return true;
            return false;
        private boolean importFiles(TransferSupport supp, File[] files) {
         // function that recursively processes all files and folders
        @Override
        public boolean importData(TransferSupport supp) {
            if (!canImport(supp)) {
                return false;
            String fns = "";
            Transferable t = supp.getTransferable();
            try {
                if (supp.isDataFlavorSupported(DataFlavor.javaFileListFlavor)) {
                    File[] fnsl = (File[]) ((List) t.getTransferData(DataFlavor.javaFileListFlavor)).toArray();
                    return importFiles(supp, fnsl);
                } else if (supp.isDataFlavorSupported(uriFlavor)) {
                    String s = (String)t.getTransferData(uriFlavor);
              StringTokenizer st = new StringTokenizer(s, System.getProperty("line.separator"));
              ArrayList files = new ArrayList<File>();
              while (st.hasMoreTokens()) {
                   String file = st.nextToken();
                   try {
                           URL url = new URL(file);
                        files.add(new File(URLDecoder.decode(url.getPath())));
                   } catch (MalformedURLException mue) {
                    return importFiles(supp, (File []) files.toArray());
                } else {
                    fns = (String) t.getTransferData(DataFlavor.stringFlavor);
            } catch (UnsupportedFlavorException ex) {
                Logger.getLogger(CDrag.class.getName()).log(Level.SEVERE, null, ex);
            } catch (IOException ex) {
                Logger.getLogger(CDrag.class.getName()).log(Level.SEVERE, null, ex);
         // the rest of the code here process a StringSelection
            return true;
        private List<File> dndData;
        private String relPath;
        private DataFlavor uriFlavor;
    }I have the following information available in the FileNode class - the name of the file, the path inside the application, date modified, size, whether it is a file or folder. How do I get these values into a javaFileListFlavor that Windows will understand? Also, I would need a way of returning the actual file data (which will be read from a remote server). The basic File class doesn't allow many of these things to be set.
    Regards
    Lionel

    I have the following information available in the FileNode class - the name of the file, the path inside the application, date modified, size, whether it is a file or folder. How do I get these values into a javaFileListFlavor that Windows will understand? Also, I would need a way of returning the actual file data (which will be read from a remote server). The basic File class doesn't allow many of these things to be set.I know I tried the same thing - I'm not sure this can be done at all, it could be that this can't be done if the file doesn't already exist somewhere on the local file system.
    Edited by: tjacobs01 on Feb 11, 2009 12:41 AM

  • Drag and Drop image to desktop == Zero Byte File

    Drag and Drop image to desktop == Zero Byte File
    == This happened ==
    Every time Firefox opened
    == FireFox 3.6 OR Windows 7 64

    i have the same problem and Sun doesn't seem to have an answer to this question. The DnD works in Mac OS, but not on Window 2000/XP.

  • I deleted i photo from search folder, reloaded the software and now I can not drag and drop to the desktop. Help

    I deleted i photo from search folder, reloaded the software and now I can not drag and drop to the desktop. Help

    Look in the Applications folder to see if iPhoto is still there. If it is drag it back to the Finder Sidebar. If it is no longer in the Applications folder post back, you can also look in the Trash it might still be there.

  • Drag and drop from Contacts into Numbers not working - any solutions?

    I'm trying to get my Contacts into a Numbers spreadsheet. According to the Help files, I should be able to select the Contacts and simply drag them into a Numbers sheet (after deleting the default Table).  I've tried this many times over and the drag and drop feature doesn't seem to be working.  I can select the contacts and drag them over, but the little contact card remains red when I drag it into Numbers and never turns green to allow me to drop into Numbers. It's the same whether I'm trying to drag one contact or many contacts at the same time. I've also tried exporting a vcard and then dragging that file from my desktop into Numbers, but that doesn't work either.  I've tried quitting and reopening both applications, as well as restarting my computer.  I'm running OSX 10.8.3 and have installed all new software updates, so I'm just at a loss for what to try next. 
    Does anyone have any solutions for this problem, or an alternative way to get my Contacts into a Numbers file?
    Many thanks in advance!

    When I tried, it put up a dialog asking me if I wanted to allow Numbers access to my Contacts. Is it possible you tried this and dis-allowed it access?
    You might check, anyway. Open Security & Privacy System Prefs, select Privacy tab, and select Contacts from the list of items. Is Numbers listed and is it checked?
    Another way to get the contact information into the clipboard is to create an Automator workflow like this:
    Open Automator and select Workflow from the options presented.
    Drag in the above actions and set the properties as you like. For the Get Contact Information action, you must set the export format to Spreadsheet (tabs).
    For the new Text File action, I had to set the Encoding to Unicode (UTF-8) or it would fail.
    Select all the contacts you want and then click the Run button in Automator. You can then open the text file with Numbers.
    If you envision doing this often, start with an application instead of a Workflow and save it somewhere. Then, you can select your contacts and double-click the Application to export the contacts each time.
    The benefit of this method is that you can select all the fields you want to include (at least more than is provided in Drag and Drop).

  • Drag and drop to photo shop no longer works after installing Apple "Photos"; It was working fine before the latest Apple update (10.10.3) . what can be done?

    drag and drop to photo shop no longer works after installing Apple "Photos"; It was working fine before the latest Apple update (10.10.3) . what can be done?

    Nothing. It's nothing to do with PSE; this is a limitation of Photos, as is the loss of being able to use an external editor without exporting copies of your images.

  • Drag and drop file to desktop bug

    I have a new fusion drive 27" iMac with Thunderbolt Cinema Display.
    When I drag a file, like an attachment from mail, onto the desktop it does not drop the file where the cursor indicates it will.
    The same thing when dragging from the download folder or a finder window.
    The file is randomly paced on the main iMac desktop in no particluar order, and you can't precisely drop a file where you want.
    File can be dropped behind open windows, making them hard to find.
    If the Thunderbolt display is unplugged, the issue goes away and drag and drop is precise.
    This used to happen on my old iMac aswell, but i put it down to a bug with my system, however, it also happened out-of-the-box on the new fusion iMac before I installed any software or files, as I was specifically testing this - it's very annoying and disruptive to workflow.
    Something with OSX doesn't like the external monitor when it comes to drag and drop to desktop.

    The card reader is apparently stuck in write-locked mode. I don't generally advise do-it-yourself hardware repair, but one ASC poster managed to fix this problem. I haven't tried the fix myself and I can't offer any guidance beyond what's in that discussion. If you cause damage, don't expect your warranty to cover it. I suggest you instead make a "Genius" appointment at an Apple Store.

  • Drag and drop link to desktop from Chromium

    Hi, maybe my google fu skills are lacking and this belongs in the newbie corner  -- but why can't I grab a link in chromium (in the address bar) and drag it to the desktop?  I'm so used to doing it as a temporary bookmark in windows and macs that it always catches me off guard when it doesn't work.  Google reports a workaround for nautilus where you drag it to the bookmark bar first then to the desktop.  This doesn't seem to work with lxde/openbox.
    Arch 3.6.10-1 x86_64 with openbox WM
    Thanks and forgive me if this has been previously covered.

    Lxde requires some custom configuration - there's no drag and drop solution at this stage.
    To make a desktop link to a webpage, you need to create a file foo.desktop on the desktop (surprise surprise), open it with a text editor, and set some parameters in the following fashion
    NAME=FOO
    EXEC=chromium www.foo.com
    ICON=chromium
    This will set up a shortcut called foo with the chromium icon which links to www.foo.com
    Good luck

  • Drag and drop .webloc to desktop - placement question

    Using an iMac with a secondary display...
    General:
    • What governs the location of an item dragged-and-dropped on to the desktop?
    • Is this user-modifiable?
    Specific:
    While doing research, browsing the Web, I routinely save links by dragging the favicon located to the left of the URL of the currently displayed page to the desktop. This seems to work for all the modern browsers I've tried.   I've done this for years with no problem.
    Until recently, the resulting .webloc file icon lands on the spot where I finish dragging.  Recently, the .webloc icon won't go there; instead it ends up in the apparent default location --  which at the moment is the middle-right of my main display.  If there are open windows over that region  --and there usually are on my very busy desktop-- I have to go to extra steps to get to the .weblocs.  This new behavior occurs in the latest versions of Firefox, Safari, and Chrome.
    This is about dropping .webloc files on the desktop.  Dropping them on an open folder continues to work correctly.  Dopping an ordinary item (file or folder) from an open folder to the desktop also works normally.
    Suspicion:
    I recently moved the external display from the physical right to the  left of the main display and adjusted System Preferences-->Displays-->Arrangement accordingly. 
    Bottom line:
    How can I restore the usual behavior, so the favicons become .webloc files exactly where I put them on the desktop? 
    Note:  I know that F11 puts all open windows temporarily aside and I use that.  But it ought to be possible to place those webloc files where I want them without any extra step.
    TIA

    This problem was fixed by installing 10.9.

  • Using drag and drop in remote desktop on windows server 2008

    we running an application on windows server 2008 terminal services .. this application was support drag and drop functionality .. i understand that terminal services on windows 2008 is supported to drag and drop but is not happening !! even when i run remote desktop connection on this server the drag and the drop is not working !
    i need to enable the drag and drop for windows 2008 terminal services  ..
    Thanks in advance

    Hello Ayman,
    If your requirement is to drag and drop files between local and remote sessions, Danny is right. Drag-and-drop feature is not supported in Windows Server 2008-based Terminal Server, which is a by-design behavior hard-coded in the current version of the Remote Desktop Protocol.
    As a workaround, I recommend you to use copy-and-paste function instead of drag-and-drop. To enable the copy-and-paste between local and remote session, please enable the clipboard redirection in Windows Server 2008-based RDC. (In Windows Server 2003 environment, local drive redirection is needed.)
    Hope it helps. Thanks.
    Best Regards,
    Lionel Chen

  • Drag and Drop to the DeskTop

    Hi,
    I would like to be able to drag and drop a component from my Java application
    and for this component to be shown on the desk top. The idea is to have monitor
    components on the desktop which are always on top but small enough so that they
    do not take up as much space as when the window containing these components
    are open.
    I have seen an example program that does just this, it is the ICQ client. With this program
    you can create an ICQ user in the application. Dragging this user onto the desktop causes that
    componenr to remain on the desktop on top of all apps even twhen the program is restarted.
    Cool.
    Anyone know how this can be acheived in Java or via Windows API using JNI.
    Regards
    Steve
    .

    Look in the Applications folder to see if iPhoto is still there. If it is drag it back to the Finder Sidebar. If it is no longer in the Applications folder post back, you can also look in the Trash it might still be there.

  • Drag and Drop to native desktop

    I'm working on drag and drop functionality to and from the user's computer. I have the "from" part working just fine, it's the "to" part that is stumping me. The idea for this applet is that it represents a file structure that is up on a remote server, so none of the files are local. If the user drags a file in, I can easily start an upload to push the file up to the server. However, when the user drags an item from the applet to their desktop or whatever folder, the only way to get this to work is to mimic a file, even though there is no file. What I would like to do is have a droptarget listener set up for the OS that will do everything I normally do within the applet (accept the drop, download the file, store it to the appropriate location). unfortunately, i haven't found any documentation on how this could be done. it looks like the OS wants a List of file objects that it simply copies to whatever destination you drag to. I don't see a way to capture where the file is being dropped, or how to maybe place a dummy file while the download is in progress and then replace the dummy file with the real file. Any advice or direction would be greatly appreciated.

    i'm not sure i get the JavaScript references...
    possibly i can re-phrase the problem in a much simpler fashion that could possibly solve my problems. In a drag-and-drop operation from a java application to the native OS, is there any way to know the context of where your transferable data is going? for instance, is there a way to know that the component i'm dragging is going to the Desktop versus "My Documents"?
    If there is a way, I could do some back-door coding so the user appears to be instantly get the file, while in the background the file is actually downloading and will replace the 'dummy' file when the download completes.
    Is that possible?

  • Drag and Drop - Java -- other application

    Hi,
    I'm writing an application, which requires to transfer the content of textfields through Drag and Drop to any other application.
    Basically this works, but in combination with some applications, e.g. Mozilla, it happens, that the DragSourceListener doesn't recognize, that the Drag and Drop - operation is finished.
    Because of this I get an InvalidDnDOperationException, when I try to start a new Drag and Drop - operation.
    Can anyone tell me, how to solve the problem?
    thanks in advance
    Christoph

    And I get the:
    java.lang.NullPointerException
         at oracle.jbo.uicli.jui.JUPanelBinding.bindUIControl(JUPanelBinding.java:808)
         at empapppack.empframe.jbInit(empframe.java:116)
         at empapppack.empframe.<init>(empframe.java:51)
         at emppapppack.Application1.<init>(Application1.java:13)
         at empapppack.Application1.main(Application1.java:50)

  • Drag and drop folders to desktop printer icon

    I would like to drag and drop folders containing various documents, such as word, excel, pdf, to a desktop printer icon and have all the documents within the folder print automatically.
    Does anyone know if it is possible, and if so, how to do so?
    Thank you.
    PS-I posted a similar question yesterday, however I incorrectly noted "files" instead of "folders". Sorry.

    The printer has been set up on the desktop and works
    fine with individual documents. My desire is to drag
    a folder, containing several documents, to the
    printer icon and have all the seperate documents
    within the folder print.
    That's not possible - dragging a folder, as I am sure you have seen, will print the contents of the folder.
    By automatic print, I meant that the print dialouge
    window would not open and require the print button to
    be selected, ie, simply drag a folder and all the
    documents start printing without further input/action.
    The closest you'll get, I think, is dragging a group of documents of the same kind that are handled without presenting the print dialog - pdf or text files. It depends on the file types, the printer to a degree, and how the receiving application handles the Apple Events.

  • Unable to drag and drop photos to desktop.

    Hello,
    I usually am able to drag and drop my photos from the library to my desktop, but it is displaying the circle with the slash through it for permissions. I did rebuild my permissions but have noticed that I am also unable to take screenshots due to a "permission" issue. "You do not have permission to save files where screenshots are saved." window appears. Please let me know what I can do to resolve this problem. I just bought my new MacBook Pro after having the first generation MBP from 2006. I love these computers....but this one seems to be giving me a few issues.
    Thanks for your help.

    Welcome to the Apple Discussions. Launch Disk Utility and repair Disk Permissions. See if that will help the screenshot issue. By default theyt are saved to the Desktop.
    Next launch iPhoto with the Command+Option keys depressed to rebuild the library. Select the option to repair the library's file permissions.
    Click to view full size
    OT

Maybe you are looking for

  • Can Photoshop 4, upgraded to 5, be installed on my Windows 7 64 bit OS ?

    I bought Photoshop 4, 16 or 17 years ago, and upgraded it to version 5 later on, and I never had trouble with this combo, on any other of my Windows controlled computers, but they were all 32 bit. I'm now in my early 60's, so another upgrade is no lo

  • IPod Nano 3rd gen screen frozen

    Hello, last night while listening to my music before I fell asleep my iPod froze the screen will not do anything, nor will it restart. Whenever I connect to my computer it slows to a halt. i went downstairs and I tried my laptop, nothing changed eith

  • Generating Dynamic form from static context.

    Hi All I have  static context node structure Section  (Node)       QuestionText  (Attribute)        AnsText  (Attribute) I have populated the values in this node from an RFC in my code . Now i need to create a form dynamically with QuestionText as la

  • Multiple Monitors Multiple Graphics Cards... FCP 6.0.6

    Hi, I'm running a 2 x 3 GHZ Quad core xeon machine with 4x Nvidia 7300 GT Cards installed. with the following monitor setup / GFX CardSetup : NVIDIA GeForce 7300 GT (CARD1of4): Chipset Model: NVIDIA GeForce 7300 GT Type: Display Bus: PCIe Slot: Slot-

  • Any differences in LP8 and Logic Studio..?

    Hi Everybody: Now that I´ve started to understand that it will be the best for me learning the new Logic, in order to keep working....I wonder if I am in the Logic Pro 8 or Logic Studio domain....? I am a Logic user since version 2.7 , I had the upgr