• 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
Re: Drag and drop onto the desktop?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Drag and drop onto the desktop?


  • Subject: Re: Drag and drop onto the desktop?
  • From: Charles Srstka <email@hidden>
  • Date: Sun, 9 Dec 2001 11:26:21 -0600

On Sunday, December 9, 2001, at 06:49 AM, Mark's Studio wrote:

Create the file before you put the filename on the pasteboard,
that will work, but you will have the file in the tmp dir even if the
user cancel the drop.

I've tried that one too. Guess what? The pasteboard manager gives you a certain amount of time to write something to the pasteboard after you drop a file. I think it's eight seconds or something like that. If it takes longer than that to create your file, it doesn't get moved. Plus the Finder is completely locked up during this time for some bizarre reason, and you can't use it until the whole thing is done.

Plus, in 10.1, there's a new "feature" where the provideData:forType: method gets called immediately after the user hovers an icon over a Finder window. The user doesn't even need to complete the drop anymore! My program can sometimes create files that are quite large, and I would like a way to not start writing them if the user might cancel the drop!


References: 
 >Re: Drag and drop onto the desktop? (From: "Mark's Studio" <email@hidden>)

  • Prev by Date: [ANN] GPGDropThing v0.2
  • Next by Date: Sheets in java
  • Previous by thread: Re: Drag and drop onto the desktop?
  • Next by thread: Re: Drag and drop onto the desktop?
  • Index(es):
    • Date
    • Thread