Custom Menus not working correctly when Window has no focus
Operating system version
Description of the issue
The custom menus are not working correctly.
Steps to reproduce the problem
1. attach a script to the "Close" menu item of the File menu.
2. bring another FileMaker document window to focus, and keep the file with the custom menus right behind it, but with the close button of it's window visible.
3. click the close window button of the unfocused window
The script should run, just like it does when the window is focused.
The script does not run.
No using a custom script behind the menu item, but handling it through the window close events, which work correctly.
Note: I already noticed this did not work either with a script window open, but considered FileMaker switched menus when such a window is in front, so didn't bother reporting it because that would be a "design limitation". But having this behaviour as well with another FileMakerDocWindow focused affects the customer experience as well, so I think this qualifies as a bug.