I’ve got a bit of a weird problem on macOS with iZotope plugins.
When you drag a JUCE window header, as soon as the mouse enters the plugin area, the mouse drag stops. This makes is basically impossible to drag a window down the screen.
It looks like what’s happening in the iZotope plugin (Neutron 3 in this case) has an NSTrackingArea registered which is sending a mouse enter event on to JUCE which is then obviously interrupting the drag.
Has anyone seen anything like this before or have any good ideas about how to stop this happening?
I did wonder if there’s a trick to make the JUCE window modal whilst the drag is happening but it feels a bit hacky…
This fix checks whether the main mouse source is dragging, and if it is, we bail. I’m hoping someone here can tell me either that this is a good fix or that it’s a bad idea because it will cause such-and-such problems.