With the latest git tip (my first update in many months!), I find that when I build a program that uses PopupMenu items from a (sub-classed) TextEditor … through addPopupMenuItems and performPopupMenuAction; when I right-click on the TextEditor, the pop-up menu appears, but then immediately disappears before I can click on any of the items!!
Any ideas what might be behind this? Have only tried so far on the Mac; I want to figure-out a fix before I move to using this version of Juce on Windows…
Ok,
I’ve made some investigations and seems that the
Process::isForegroundProcess() returns false for the current process and thats why the menu disappears.
However why it is returning false for the process that is currently in progress?