When using Qt.labs.platform Menu component there are 2 issues with onAboutToShow and onAboutToHide signals:
1. If Menu is used in MenuBar - onAboutToHide is never emitted
2. If Menu is used as a context Menu - onAboutToShow is called multiple times (for me 3).
Attached minimal project to reproduce issues.++