You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Folders and files sort options in dialog windows not following Finder settings

Hi everyone. On Big Sur I set up in Finder preferences option to sort files by name and to display folders first. However, I noticed since few weeks that when selecting ATTACH from mail, or UPLOAD FILE from a website requesting to upload a file, in the appearing dialog window all files are sorted differently and when I select Sort by None or Sort by Name there is no effect on displayed list: folder are mixed with files in an unsorted status. Anyone went through the same issue? Is it a bug or the dialog windows have sort settings different from Finder ones?

Thank you in advance for your suggestions / solutions

MacBook Pro

Posted on May 11, 2022 8:47 AM

Reply
Question marked as Top-ranking reply

Posted on May 11, 2022 9:18 AM

Because the open and save panels are not Finder, but programmatic usage of Apple's library classes (NSOpenPanel/NSSavePanel) that simulate some of the Finder views and features, but do not read the Finder's .plist file that the Finder uses to remember your settings.

Similar questions

10 replies

May 12, 2022 5:54 AM in response to AnthiasDiver

Let's go back to a Finder Window. Click once in it, and then press cmd+J to open the Show VIew Options panel. Mine is set to Group by Name and Sort by Kind. That means that all of my folders appear first, and then files, with everything sorted alphabetically. You wouldn't need the first two √ as you use column view.



When I open a File Chooser, and in this case, the one from Apple's Pages, and when I switch to column view, all columns are sorted alphabetically just as though it was a Finder window. Apparently there is inheritance from the aforementioned Finder's settings in use:


May 11, 2022 10:56 AM in response to AnthiasDiver

As VikingOSX said, these are separate from the Finder; however, if you make changes in the sort order in the dialog, they should work, and remain in force for subsequent uses.


Also, some Finder preferences do affect these open and save - in particular, checking or unchecking "Keep folders on top" in Finder preferences is reflected in open and save - immediately, even if one such window is already open. This "folders on top" applies when sort is done by name, but not other criteria, just like in the Finder.




May 11, 2022 1:58 PM in response to AnthiasDiver

Aside from the fact that Apple is always tinkering with the Cocoa Classes and related methods, the Open File dialog shows you lists (⌘+2) just like a Finder Window, and at the top of those individual list headings is a ^ or v allowing you to order that column. I am icon (⌘+1) oriented, so lists would be an anachronism for me… 😉


I just opened a Qt6 QFileDialog window in Python instead of the Cocoa classes used in Apple's applications, and the visual functionality is identical.

Folders and files sort options in dialog windows not following Finder settings

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.