Troubleshooting AXUIElements Bug: Menu Notification Issue

Have you encountered an issue with AXUIElements where context menu notifications fail to trigger after adding an observer for kAXMenuItemSelectedNotification?

The notification seems to work perfectly when users utilize keyboard shortcuts to select menu items, but when they click with the mouse, the notification fails to trigger.

Replies

*Reproduced only on macOS Sonoma