On Jan 7, 2009, at 8:05 AM, Ondrej Valik wrote:

Hello.
I'm using delegate's applicationDockMenu: method for returning my custom dock menu. It has a single menu item. This menu item has its target/action properly set up and my dock menu delegate implements worksWhenModal method (returning YES). So my menu item is enabled when my app is in modal state.

Nevertheless, my action isn't called when app is in modal state. Apple defined menu items such as "Show in Finder" works correctly.

I have made some investigation about other applications:
- this sample: http://developer.apple.com/samplecode/DeskPictAppDockMenu/index.html has the same problem (you could show page setup dialog)
- iTunes (but it's Carbon app?) custom dock menu items works OK.

Is there any way how to make custom dock menu item working in modal state?

        Thanks in advance for any suggestions.
        Ondrej Valik

I think this is a limitation of AppKit, and I do not see a workaround. Please file a bug at http://bugreport.apple.com

Thanks,
-Peter

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to