FileChooser behavior on Mac with dialogBoxTitle and native window?

I’ve been working through the “Build an AudioPlayer” tutorial, and one part puts up a FileChooser dialog to pick a waveform. In the code, is this:

   void openButtonClicked()
        FileChooser chooser ("Select a Wave file to play...",

        if (chooser.browseForFileToOpen())
            auto file = chooser.getResult();
            auto* reader = formatManager.createReaderFor (file);

            if (reader != nullptr)
                std::unique_ptr<AudioFormatReaderSource> newSource (new AudioFormatReaderSource (reader, true));
                transportSource.setSource (newSource.get(), 0, nullptr, reader->sampleRate);
                playButton.setEnabled (true);
                readerSource.reset (newSource.release());

So “useOSNativeDialogBox” is true by default.

The title “Select a Wave file to play…” does not appear anywhere in the native dialog on Mac OS Mojave. Is it supposed to? Is this not supported?

If I specify false for useOSNativeDialogBox, the phrase shows in JUCE’s default dialog. But I’m wondering if it can show in the native dialog.

See my previous thread:


Thanks - I voted for it. Seems like not much interest in it…