• 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: Wed, 31 May 2006 10:53:34 -0700

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

  • Prev by Date: Re: Click on a URL in WebKit
  • Next by Date: Re: [OBJC Newbie] - MD5 Digest
  • Previous by thread: mark the Dock dirty - NSApp setApplicationIconImage
  • Next by thread: Can't obtain any more NSPipe instances
  • Index(es):
    • Date
    • Thread