• 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: [BUG] Cursor Flicker
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [BUG] Cursor Flicker


  • Subject: Re: [BUG] Cursor Flicker
  • From: Andy Lee <email@hidden>
  • Date: Wed, 01 Apr 2009 14:59:15 -0400

On Apr 1, 2009, at 2:09 PM, Eric Gorr wrote:
On Apr 1, 2009, at 2:04 PM, Shawn Erickson wrote:
On Wed, Apr 1, 2009 at 7:28 AM, Eric Gorr <email@hidden> wrote:

In the real application, there are some cursors based on 64x64 images. When
switching to these cursors, one sees the cursor quickly jump to a different
position and then back to where it should be. This is very jarring and
shouldn't happen. Why it briefly jumps, I do not know.

Is the cursors hot spot staying in the same place or not? If the hot
spot is moving around I would tend to agree that this is problem. If
the hot spot is unchanged then I think things are operating correctly.

Why would it make sense for a cursor to only for an instant move to a different location 30 or more pixels away and then move back to where it is supposed to be before the next cursor change?


The Hot Spot should essentially be in the same place for both cursors.

After some experimentation, it looks like the transparency has something to do with it. It looks like NSCursor trims the transparent area from the edges so the actual image it uses is smaller than what you gave it.


I put a border around the image drawn with 1% opaqueness and I *think* the problem went away, but I have to run back to work now so I don't have time to look more closely.

--Andy

_______________________________________________

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: 
 >Re: [BUG] Cursor Flicker (From: Eric Gorr <email@hidden>)

  • Prev by Date: Re: Launching a preference pane from inside a Cocoa app
  • Next by Date: Re: Best Strategy to Control iTunes
  • Previous by thread: Re: [BUG] Cursor Flicker
  • Next by thread: Re: NSMutableArray is null?
  • Index(es):
    • Date
    • Thread