We discovered all our Juce Pro Tools plug-ins have an issue if the PT project is saved with a plug-in positioned on a second monitor. The symptoms vary somewhat between Leopard and Snow Leopard but the issue appears on both platforms. The main problem is that our UI doesn’t appear in the same place as the host window. In some cases the UI shows on the second monitor, while the host ‘container’ window appears on the main monitor. Sometimes the UI and host window appear on the same monitor (primary or secondary) but not lined up properly.
I also see the behavior in the Juce demo plug-in. If the plug-in is on the primary monitor, closing and reopening the plug-in fixes teh display issues. This does not work if positioned on the secondary monitor. Also, if the second monitor’s bottom is not lined up with the bottom of the primary monitor, closing and reopening cause the plug-in to change positions vertically when re-opened.
This sounds somewhat familiar to the “Default monitor doesn’t fit me” post from late June of this year where the wrong screen is being used for positioning calculations. I was able to verify this by looking at coordinates in the juce_RTAS_MacUtilities.mm files in the attachSubWindow method inside the WINDOWPOSITION_BODGE #ifdef.
We’re building with Juce v1.51.2 (amalgamated.) I’ve downloaded the current tip and didn’t see any changes in that part of the code. I’m working on getting our code to build with the latest code. In the meantime I posted this because I haven’t found this specific issue mentioned in the forums.
Is anyone else experiencing this issue?
aka: Louis Sinclair