Mac OS X Dock Restarter
Posted by Topchiyev at 08:15
I decided to automate the dock restart process. I wrote a little AppleScript that do this. And bundled it in an Application Bundle.

It is FREE. You can download it HERE
Description
Mac OS X 10.6.x Snow Leopard got a lot of very useful things, also it inherited a lot of good things from it’s ancients 10.4.x, 10.3.x etc.
But it inherited some very stupid bugs also!
One of the worst is that if you add a new file in a stack in the Dock, this file will be shown with unknown type.
For instance I have 3 stacks in my dock on my home iMac.
The first is the standard Applications stack.
The second one is a stack where I put symlinks to all applications I use for work purposes.
And the third is a stack where I put symlinks to all entertainment apps.
So on the image below I just put a symlink to the FingersTune.app application in the Work Apps stack.
As you see it is shown as unknown application, not even as a symlink to an unknown application.

If I restart the Dock by terminal command killall Dock, it will show it correctly as on the image below.

The bug you describe also applies to Mac OS X 10.5.6 Leopard