• 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
A cursor bug in DragItemAround example
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

A cursor bug in DragItemAround example


  • Subject: A cursor bug in DragItemAround example
  • From: Ling Wang <email@hidden>
  • Date: Sun, 20 Apr 2008 18:43:58 +0800

You can see the code at http://developer.apple.com/samplecode/DragItemAround/listing2.html on ADC.

The bug is that the cursor reverts to arrowCursor if the item is dragged off the bound calculated at the mouseDown event just before current mouseDragged event, instead of staying closedHandCursor. Maybe it will be clear till you try to run it.

It seems something happens when the mouse moves out of the cursor rect that is set for the item's bounds in resetCursorRects. This something is out of my knowledge, so I am hoping someone can tell me the cause of the bug and a canonical way to fix it, and I'll feedback the solution together with the bug on ADC after that.
_______________________________________________


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: A cursor bug in DragItemAround example
      • From: Quincey Morris <email@hidden>
    • Re: A cursor bug in DragItemAround example
      • From: Jens Alfke <email@hidden>
  • Prev by Date: Re: My private problems
  • Next by Date: Re: Implementing a Slightly Unusual NSTableView
  • Previous by thread: Re: Extending NSOpenGLView leads to strange compile error...
  • Next by thread: Re: A cursor bug in DragItemAround example
  • Index(es):
    • Date
    • Thread