Re: Changes to [NSView dragImage:::::] under 10.1
Re: Changes to [NSView dragImage:::::] under 10.1
- Subject: Re: Changes to [NSView dragImage:::::] under 10.1
- From: Brad Werth <email@hidden>
- Date: Fri, 05 Oct 2001 09:29:13 -0700
- Organization: ORCAS, Inc.
>
From: Simon Stapleton <email@hidden>
>
>
I'm having an odd problem with this one since upgarding to 10.1.
>
Although the whole dragging shebang works, when I first trigger this
>
in a mouseDown, the image to be dragged appears at the top left of
>
the screen. As soon as I drag the pointer, the image moves to the
>
correct place, but the initial drawing appears to be borked/changed.
My app started doing the same thing in 10.1. For me, starting the drag
isn't necessary, just holding the mouse button down momentarily will
cause the drag image to snap into place. The only change to the API
that I could find was the deprecation of [NSDraggingSource
draggedImage:endedAt:deposited:], being replaced by [NSDraggingSource
draggedImage:endedAt:operation:] (which not too long ago was always
erroneously receiving the operation NSDragOperationNone). I suspect
that the drag-and-drop code has been modified significantly in 10.1, and
that what we're seeing is a bug. In the meantime, I'm trying to see if
there's anything I can do in my code to work around it.
Thanks,
Brad Werth
email@hidden