JUCE hosting JUCE plugins: title bar is black

On Sonoma, pull latest develop, build plugin host. Open a JUCE based VST3 plugin. Plugin titlebar is black, buttons are still there but you can’t see them.

1 Like

You need to make the same change you made to the NSViewComponentPeer to the InnerNSView:

diff --git a/modules/juce_audio_processors/juce_audio_processors.cpp b/modules/juce_audio_processors/juce_audio_processors.cpp
index 27ed7c329..7c804789f 100644
--- a/modules/juce_audio_processors/juce_audio_processors.cpp
+++ b/modules/juce_audio_processors/juce_audio_processors.cpp
@@ -165,6 +165,10 @@ private:
 
             addMethod (@selector (isOpaque),       isOpaque);
             addMethod (@selector (didAddSubview:), didAddSubview);
+            
+            JUCE_BEGIN_IGNORE_WARNINGS_GCC_LIKE ("-Wundeclared-selector")
+            addMethod (@selector (clipsToBounds), [] (id, SEL) { return YES; });
+            JUCE_END_IGNORE_WARNINGS_GCC_LIKE
 
             registerClass();
         }

Thanks for letting us know, I’ve added a couple of missing clipsToBounds definitions:

1 Like