• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
drag and drop workarounds?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

drag and drop workarounds?


  • Subject: drag and drop workarounds?
  • From: Christoffer Lerno <email@hidden>
  • Date: Fri, 10 Dec 2004 12:23:39 +0100

I want to sync a list of files that can be dragged into the Finder and other applications.

The problem is if I drag the files into an application like the Finder that occasionally delays move-operations, and sends draggedImage:endedAt:operation before the actual operation is finished.

An example: drag a file into a folder which already has a file of the same name. The Finder will immediately send a draggedImage:endedAt:operation, but the file will not be moved quite yet. Instead the Finder launches a dialog to allow cancelling the move or replacing the original file.

(As far as I can tell the finder does not send any signal to the source if the move is aborted)

The only workaround I see is to stop using draggedImage:endedAt:operation to sync the files. One would instead subscribe to any changes in the file directory, and wait until the files are properly moved to update their status. However that method also has its problems.


Any suggestions?

/C

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Prev by Date: Re: indexOfTabViewItemWithIdentifier keeps crashing App
  • Next by Date: how to print a NSView
  • Previous by thread: Re: drag and drop workarounds? SOLVED
  • Next by thread: how to print a NSView
  • Index(es):
    • Date
    • Thread