• 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
drag and drop not working between windows on 10.7
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: drag and drop not working between windows on 10.7
      • From: Raleigh Ledet <email@hidden>
  • Prev by Date: Re: Large over 100K pixel high ruler scroll view
  • Next by Date: Re: UIBarButtonItem exclusive touch
  • Previous by thread: Re: UIBarButtonItem exclusive touch
  • Next by thread: Re: drag and drop not working between windows on 10.7
  • Index(es):
    • Date
    • Thread