# \[Solved\] Opening Native FileChooser in userDocument sub-directory

**URL:** <https://forum.juce.com/t/solved-opening-native-filechooser-in-userdocument-sub-directory/67364>\
**Category:** MacOSX and iOS\
**Created:** [October 16, 2025, 10:27am UTC](https://forum.juce.com/t/solved-opening-native-filechooser-in-userdocument-sub-directory/67364 "2025-10-16T10:27:07Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![kmolcard](https://avatars.discourse-cdn.com/v4/letter/k/ed8c4c/32.png) [@kmolcard](https://forum.juce.com/u/kmolcard)\
**Post date:** [October 16, 2025, 10:27am UTC](https://forum.juce.com/t/solved-opening-native-filechooser-in-userdocument-sub-directory/67364/1 "2025-10-16T10:27:07Z")

</div>

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 `UISupportsDocumentBrowser`flag 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.

* * *
