• 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: Dock menu item action isn't performed in modal state
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Dock menu item action isn't performed in modal state


  • Subject: Re: Dock menu item action isn't performed in modal state
  • From: Peter Ammon <email@hidden>
  • Date: Wed, 7 Jan 2009 14:06:45 -0800


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 (email@hidden)

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:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Dock menu item action isn't performed in modal state
      • From: Ondrej Valik <email@hidden>
References: 
 >Dock menu item action isn't performed in modal state (From: Ondrej Valik <email@hidden>)

  • Prev by Date: MEETING: Chicago CocoaHeads / CAWUG Tuesday Jan. 13th
  • Next by Date: [MEET] CocoaHeads-NYC meeting Thu 01/08
  • Previous by thread: Dock menu item action isn't performed in modal state
  • Next by thread: Re: Dock menu item action isn't performed in modal state
  • Index(es):
    • Date
    • Thread