I have a JUCEApplication and I’m trying to open a native juce::FileChooser in saveMode in a subfolder of juce::File::userDocument but this does not work. The filechooser opens in the home directory. This is working properly with non native FileChooser and also in openMode.
I tried to add DOCUMENT_BROWSER_ENABLED in my CMakeList and this sets the UISupportsDocumentBrowserflag in the plist but this does not change the behavior.
My app is not sanboxed.
Thanks in advance for any help.
Update: I found the solution!
I forgot to mention that I was running macOS 14 Sonoma when experiencing this issue.
To troubleshoot, I tested on:
- Another computer running macOS 26 Tahoe - no issue
- A VM running macOS 14 Sonoma - no issue
At that point, I thought my development environment was somehow broken or corrupted.
I decided to upgrade my Mac to the latest macOS version (Tahoe), and everything now works perfectly.
So it appears this was a macOS 14 Sonoma bug specific to certain system configurations that affects FileChooser in native save mode with the Documents folder.
