On Aug 29, 2011, at 11:03 PM, Michael Link wrote:

> I have a document based app that has a source list (NSOutlineView) that 
> allows drag and drop on itself or another source list (same class) in a 
> different document in the same application.
> 
> Everything works on 10.6, in 10.7 drags to the same NSOutlineView are 
> validated as I expect. Drags to the other source list in a different document 
> (different window) are momentarily validated but then immediately 
> invalidated. I can confirm that 

This is odd. If it's all in the same process, and it works in one case, it 
should work in the other. This makes me suspect your code.

> 
> - (NSDragOperation)outlineView:(NSOutlineView*)outlineView validateDrop:(id 
> <NSDraggingInfo>)info proposedItem:(id)item 
> proposedChildIndex:(NSInteger)index
> 
> is returning the correct operation (copy), but for some reason it doesn't 
> stick. Is there some side effect of the new dragging sessions that might be 
> causing this?

Possibly. But if you haven't  adopted the new dragging session API, the old API 
should still work. Please file a radar and supply a sample project. The sample 
project if very important to help us solve these kinds of issues.

-raleigh

> I don't see any other delegate methods that would interfere with the drag 
> operation like this.
> 
> --
> Michael_______________________________________________
> 
> Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
> 
> 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/ledet%40apple.com
> 
> This email sent to le...@apple.com

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to