Xcode half supports contextual menu extensions

Originator:DavidPhillipOster
Number:rdar://6666910 Date Originated:10-Mar-2009
Status:Closed Resolved:YES
Product:Developer Tools Product Version:3.1.2
Classification:Other Bug Reproducible:always
 
Steps to Reproduce:

1 Install Google Notifier from http://google.com/mac , and log in to Google Calendar with it.
2 move ~/Library/Contextual Menu Items/Google Notifier Quick Add CM Plugin.plugin to the trash.
3 if ~/Library/Contextual Menu Items/ doesn't already exist, create it.
3 Unzip the attached zip and place it in ~/Library/Contextual Menu Items
4 Launch Text Edit. (Important: you must launch it after placing the .plugin.)
5 In a New Untitled document: type: 

Lunch on tomorrow at Fred's

6 Select that whole line and right click or control click to reveal the contextual menu.
7 Choose 'Quick Add to Google Calendar'.
8 In a browser, verify that the event was added.
9 In Console, this debug version of the plugin has logged what routines executed.

Expected Results:

Steps 4 through 9 give the expected results.

Actual Results:

10 Launch Xcode (Important: you must launch it after placing the .plugin.)
11 In a New Untitled document (<Control><Command>N): type: 

Lunch on today at Ethel's

12 Select that whole line and right click or control click to reveal the contextual menu.
13 Choose 'Quick Add to Google Calendar'.
14 In a browser, verify that the event was added. (It is not)
15 In Console, this debug version of the plugin has logged what routines executed. (The action routine is not executed.)


Regression:
In the shipping version of Google Notifier, the plugin is not compiled Garbage Collection Ready, so Xcode doesn't load it, and doesn't display the menu item. This debug version is the first that Xcode loads, revealing the problem.


What I want you to do:
Xcode should fully support Contextual Menu extensions: both showing them in the Contextual menu, and when users choose them, calling their action routines.

Reolution:
Contextual menu Items aren't supported at all on 10.6.

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!