- (void)plugMenu:(NSMenu*)menu intoMenu:(NSMenu*)parentMenu;In macOS 14, Apple rebuilt menus for macOS using Cocoa. In macOS 13 and earlier, there’s only `-plugMenu:intoMenuRef:`, but in macOS 14+ there’s now also `-plugMenu:intoMenu:`. This CL only swizzles the latter.
Do we see this bug in macOS 13 and earlier? If so, we’ll likely also need to swizzle that other method. If not, we should document this.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
- (void)plugMenu:(NSMenu*)menu intoMenu:(NSMenu*)parentMenu;In macOS 14, Apple rebuilt menus for macOS using Cocoa. In macOS 13 and earlier, there’s only `-plugMenu:intoMenuRef:`, but in macOS 14+ there’s now also `-plugMenu:intoMenu:`. This CL only swizzles the latter.
Do we see this bug in macOS 13 and earlier? If so, we’ll likely also need to swizzle that other method. If not, we should document this.
Thank you @avi, I tested it in macOS 12/13 and didn't find this bug, but I can reproduce it in macOS 14 and later. Updated the changes to skip swizzling `plugMenu:intoMenu` method in old versions and added more comments.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |