I built a Pro Tools real time plug with Juce and the RTAS wrapper. I created the GUI with Jucer. Everything works fine except I can cause the plug-in GUI to be painted outside the Pro Tools parent window.
I do the following steps:
- Create two instances of the plug-in, e.g. insert the plug on two separate tracks
- Open one of the plug-in windows
- Drag it somewhere.
- Click on the other instance of the insert on the other track.
- The PT plug-in window will be in the new location, but the Juce graphics will be drawn in the original location. If you drag the window now, both rectangles move together.
Weird. I’m using the latest Juce code from svn and Pro Tools 7.4.2 on Mac OS X 10.5.4. This wasn’t happening with the last release of Juce (1.46).