drag and drop not working between windows on 10.7
drag and drop not working between windows on 10.7
- Subject: drag and drop not working between windows on 10.7
- From: Michael Link <email@hidden>
- Date: Tue, 30 Aug 2011 01:03:46 -0500
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
- (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? I don't see any other delegate methods that would interfere with the drag operation like this.
--
Michael_______________________________________________
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:
This email sent to email@hidden