In my application I noticed that I could not disable one of the menuitems. Curiously it was the only one that had submenus.
It failed on Windows but it worked on MacOS.
So I decided to file a bug, but I discovered that there exists one since 2011:
If you have noticed it as well, please support this bug report. Thanks.