Duplicate TooltipWindow's when multiple plugin UI's are open

gui
#1

We’ve had a lot of trouble getting tooltips to work well in JUCE, but as of JUCE v5.4.0, we’d solved all our issues or at least found reasonable workarounds (for reference, here are some of the issues: DropShadower artifacts when transformed, TooltipWindow scaling issue in Windows High-DPI plug-in).

In JUCE v5.4.3, we’re now encountering an issue where duplicate tooltips are shown in each open UI when multiple instances of the same plugin UI are open. The TooltipWindow is attached to the editor in each plugin, so AFAIK, SharedResourcePointer isn’t applicable here.

The issue only seems to happen with VST (on both Windows and Mac) and did not occur in JUCE v5.4.0. Any ideas what might have changed or how to fix it?

0 Likes

#2

The only change to the class recently was this commit which was fixing an issue posted here. Does reverting that commit solve the issue?

0 Likes

#3

Thanks for your quick reply. We tried building on the head of JUCE master with that commit reverted, and our issue was fixed for both Mac and Windows.

0 Likes

#4

Can you see if this commit fixes your issue?

0 Likes

#5

Yes, that commit fixes it! Thanks!

0 Likes