QApplication mode is required for native PlatformMenuEntry popups; also fix right-click coordinates being passed relative to the tray icon instead of the bar window. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Dujsk9jYfxUVLtb5B8eC94