While there are other bundles which show up as directories,
.app are the most common ones.
This change shows .app files like non-compatible files.
Differential D9162
File Browser/ macOS: Don't show .app as directory Authored by Ankit Meel (ankitm) on Oct 9 2020, 11:36 AM.
Details
While there are other bundles which show up as directories, This change shows .app files like non-compatible files.
Diff Detail
Event TimelineComment Actions Feels weird to have entries reported as directories but being actually files… I guess Mac ways remain obscure to me. Wouldn't mind some quick approval from the Platform: macOS team, but otherwise patch LGTM. Comment Actions Which problem does this solve? Was there some user confusion around this? As far as Blender is concerned, treating the .app like a folder seems like the more useful behavior since there may be e.g. text or image files inside that you can open. Comment Actions @dan grauer (kromar) had pointed this out in chat.
Cons:
Alternative solution: Comment Actions This will also prevent unexpected directories/files from being displayed when using "Recursions" display option. Well, the current icon (folder) is certainly completely wrong. I think that we can leave the possibility of navigation inside the .app by manually entering a path into the File Path. Comment Actions Ok, in practice it's probably fine to not display it as a folder ever in Blender. Editing files in a code-signed .app bundle will invalidate it anyway, and needing to read files from there is rare. |