-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Attempt to enable folder creation in file chooser dialogs on macOS #18953
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Attempt to enable folder creation in file chooser dialogs on macOS #18953
Conversation
I put a So most likely a gtk bug? |
@zisoft Thanks for testing!
This setter and getter simply set and query the value of the property, so it is logical that the change to the property is actually applied.
Yes, it looks like GTK doesn't implement support for controlling this functionality on macOS. Or maybe GTK has not yet adapted to the changes in macOS, if it worked in earlier versions of macOS. In any case, I don't think there's anything we can do about it then. Trying to get around this and work directly with NSSavePanel seems like an ugly solution. So what would you decide about #18930 and #18591? And maybe it makes sense to accept this PR anyway in the hope that if GTK implements support in the future, the call to |
+1 Let's leave them open for now until we give up on this. |
the file chooser doesn't need the "new folder" button - this wasn't so also available in earlier macos versions. It's the missing support for "cmd+shift+N" that makes the difference between macos 14 and macos 15. |
This pull request has been marked as stale due to inactivity for the last 60 days. It will be automatically closed in 300 days if no update occurs. Please verify it has no conflicts with the master branch and rebase if needed. Mention it now if you need help or give permission to other people to finish your work. |
OK, I understand. So what do we decide about the changes in this PR? I understand that in practice they do not change/fix the behavior on any of the platforms: for Linux and Windows the native dialog supports folder creation and enabling it is not needed, and on macOS the problem is a bug in the OS. In fact, the commands added by this PR to the code simply make our intention clearer for those who read the code, nothing more. On the other hand, code that is not actually needed can be replaced with comments... What is your final opinion, should this PR be closed? |
it doesn't make sense to keep it open since darktable uses the native os dialog and on recent apple macOS versions (>= macos15) and as long as apple doesn't decide to change that default behaviour there's no hope. |
This is certainly not needed for Linux and Windows, where even without this setting, the native dialogs offer folder creation functionality. I don't have macOS devices, so I need this PR to be tested by macOS users to see if it will actually enable the ability to create folders, which is disabled by default.
attn: @MStraeten @zisoft