• 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: Changes to [NSView dragImage:::::] under 10.1
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Changes to [NSView dragImage:::::] under 10.1
      • From: Brimmy <email@hidden>
  • Prev by Date: Re: Changing app menu name
  • Next by Date: Re: global default for NSLayoutManager selection threshold?
  • Previous by thread: Changes to [NSView dragImage:at:offset:event:pasteboard:source:slideback:] under 10.1
  • Next by thread: Re: Changes to [NSView dragImage:::::] under 10.1
  • Index(es):
    • Date
    • Thread