• 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: John Stiles <email@hidden>
  • Date: Tue, 6 Jun 2006 13:33:44 -0700

I don't believe so.

On Jun 6, 2006, at 12:25 PM, Kristin Forster wrote:

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:
40blizzard.com


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
References: 
 >Re: mark the Dock dirty - NSApp setApplicationIconImage (From: Kristin Forster <email@hidden>)

  • Prev by Date: NSUserKeyEquivalents syntax
  • Next by Date: Remember last saved file
  • Previous by thread: Re: mark the Dock dirty - NSApp setApplicationIconImage
  • Next by thread: Make controllers talk to each other
  • Index(es):
    • Date
    • Thread