• 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
mark the Dock dirty - NSApp setApplicationIconImage
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

mark the Dock dirty - NSApp setApplicationIconImage


  • Subject: mark the Dock dirty - NSApp setApplicationIconImage
  • From: Jake Luck <email@hidden>
  • Date: Sun, 28 May 2006 21:40:11 -0400 (EDT)

I am updating a cocoa project from 10.2 to the newest version of OS X
and AppKit + Intel. My code used

[NSApp setApplicationIconImage:buf];

to animate the my custom dock icon in a loop, about 20 fps when in operation. This approach now stalls randomly in the latest 10.4.6, resulting choppy animation. This sounds similar to :
http://www.cocoabuilder.com/archive/message/cocoa/2005/9/15/146354


My suspicion is that that the Dock is now doing lazy refresh as an optimization, e.g. this behavior goes away when I have a playing quicktime movie minimized in the Dock.

How does QuickTime Player mark the Dock "dirty" to request a refresh?
What should I do in my application to get the same effect?

jake
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: mark the Dock dirty - NSApp setApplicationIconImage
      • From: John Stiles <email@hidden>
  • Prev by Date: NSTextView Drag and Drop (Colors)
  • Next by Date: Re: Cannot get mouseMoved in NSView
  • Previous by thread: NSTextView Drag and Drop (Colors)
  • Next by thread: Re: mark the Dock dirty - NSApp setApplicationIconImage
  • Index(es):
    • Date
    • Thread