I would like to use the SystemTrayIconComponent but unfortunately there seems to be an annoying bug which leaves the popupMenu stuck visible. The JuceDemo demonstrates the problem on both Windows and Mac OS and is easy to reproduce.
If the popupMenu is displayed without moving the mouse over the component then the popup becomes stuck behind other windows. The popup should be dismissed when focus is lost (mouse clicked anywhere other than the component).
I think this issue has been mentioned several times before.
Any fix suggestions appreciated.