Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: D&D warning alert w/Finder folder drop




On Oct 23, 2007, at 5:53 AM, Alastair Houghton wrote:

On 22 Oct 2007, at 19:46, Chris Heimark wrote:

Does anyone have any wisdom on this subject matter?

Generally if nobody replies, it's because nobody knows or has anything to say on the subject. However:
I completely understand. Thanks for helping me think this through. I appreciate your support. BTW, is this site the official Apple fed list?


Begin forwarded message:

Hi:

I get the following alert when dropping a folder of files unto an NSTextView from the Finder:

"Warning: Do you really want to copy the contents of the dragged items into the text?"

The Alert has Copy, Cancel and Alias response buttons.

Have you tried comparing your code/the setup of your NSTextView to the one in TextEdit? (The code for TextEdit is one of the samples in /Developer/Examples/AppKit.)


Anyway, TextEdit 1.4(220) out of the box with OS 10.4.10 (8R218) PPC does exhibit this behaviour on a drop from finder on my machine. The TextEdit sample, built as either Development or Deployment builds, exhibiting same versioning as released version, do the same thing. Puzzling. Are you on Intel?

I will attempt to see if nib settings for my app and TextEdit are the same. The only D&D code I have (adopted from TextEdit sample) are two drag routines and they work just fine to allow me to drop files on the finder.

Meanwhile, if you have any other suggestions, I would appreciate them.

Thanks. Puzzled in Paoli...

Chris

TextEdit plainly doesn't exhibit this behaviour (at least, not on my system), so there is something about your particular program that is triggering it I think.

Kind regards,

Alastair.

--
http://alastairs-place.net




_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden
References: 
 >D&D warning alert w/Finder folder drop (From: Chris Heimark <email@hidden>)
 >Re: D&D warning alert w/Finder folder drop (From: Chris Heimark <email@hidden>)
 >Re: D&D warning alert w/Finder folder drop (From: Alastair Houghton <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.