• 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: Graham Cox <email@hidden>
  • Date: Wed, 1 Apr 2009 12:18:40 +1100


On 01/04/2009, at 4:46 AM, Eric Gorr wrote:

There is a bug when changing from [[NSCursor arrowCursor] set] to a NSCursor based on a 64x64 PNG.

Basically, there is some horrible cursor flickering.

For a demonstration of this bug, please check out the sample application at:

http://ericgorr.net/cocoadev/CursorFlicker.zip

I have filed a bug as well: rdar://6741558


But it's not a bug - you are making it flicker by repeatedly switching it between the two cursors.

WAYTTD?

As your while loop runs it will set the arrow cursor every 4th time (x % 2), and the large cursor otherwise. It's impossible to tell what you expected or intended, but overall it looks like a weird thing to do.

--Graham


_______________________________________________

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

  • Prev by Date: Re: [NSView noob] How to be detect when a scroll view scrolls its document view
  • Next by Date: Measuring time between keypresses?
  • Previous by thread: Re: [BUG] Cursor Flicker
  • Next by thread: Strange NSCell subclass issue ...
  • Index(es):
    • Date
    • Thread