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

Re: drag and drop not working between windows on 10.7


  • Subject: Re: drag and drop not working between windows on 10.7
  • From: Raleigh Ledet <email@hidden>
  • Date: Tue, 30 Aug 2011 08:51:58 -0700

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 (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

_______________________________________________

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

References: 
 >drag and drop not working between windows on 10.7 (From: Michael Link <email@hidden>)

  • Prev by Date: NSSplitView and autosave
  • Next by Date: New Autosave behavior and NSDocument initializers
  • Previous by thread: drag and drop not working between windows on 10.7
  • Next by thread: Possible causes of "attempted layout while textStorage is editing"?
  • Index(es):
    • Date
    • Thread