drag and drop workarounds?
drag and drop workarounds?
- Subject: drag and drop workarounds?
- From: Christoffer Lerno <email@hidden>
- Date: Fri, 10 Dec 2004 00:46:35 +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