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

Re: mark the Dock dirty - NSApp setApplicationIconImage


  • Subject: Re: mark the Dock dirty - NSApp setApplicationIconImage
  • From: Kristin Forster <email@hidden>
  • Date: Tue, 6 Jun 2006 12:25:45 -0700

Do you see any messages in Console when the app stops updating its dock icon?

Thanks,
Kristin


On May 31, 2006, at 10:53 AM, John Stiles wrote:

Just as a "me-too": we've had cases where our app (in 10.4.x) will sometimes stop updating its dock icon even though we are calling setApplicationIconImage to run an animation. It's pretty rare, and certainly non-fatal; unfortunately we never managed to find reproducible steps or a good workaround.



On May 28, 2006, at 6:40 PM, Jake Luck wrote:

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

_______________________________________________ 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

_______________________________________________ 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: Re: My app does not display its version in the finder
  • Next by Date: Re: vertically aligning my NSAttributed text in its NSRect when drawn
  • Previous by thread: Re: vertically aligning my NSAttributed text in its NSRect when drawn
  • Next by thread: Re: mark the Dock dirty - NSApp setApplicationIconImage
  • Index(es):
    • Date
    • Thread