FIFinderSync not calling menu(for menuKind: FIMenuKind) when secondary-clicking in Finder

Originator:contact.Kamik423
Number:rdar://FB13109005 Date Originated:2023-09-03
Status:Open Resolved:
Product:macOS SDK Product Version:14
Classification: Reproducible:Always
 
I attached a minimal macOS app with a finder sync extension. The function `menu(for menuKind: FIMenuKind)` gets called when I click the toolbar item. However when right clicking in Finder, the function does not get called. Earlier versions of the OS this would give me the opportunity to inject a custom menu item in the default right-click menu in Finder. (FIMenuKind.contextualMenuForContainer). Now this functionality is broken. It only shows up on paths like ~/Library/… but not in anything in iCloud Drive like my desktop or documents directories. Rebooting and even using a different project (the sample project) does not fix it for me.

I compiled a universal Mac app and tried it both on Ventura – where it did generate the menu correctly – and on Sonoma where it did not.

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!