X Tutup
Skip to content

[macOS] Use "file" icon for bundles in the file dialogs.#108804

Merged
Repiteo merged 1 commit intogodotengine:masterfrom
bruvzg:mac_bundle_icon
Sep 22, 2025
Merged

[macOS] Use "file" icon for bundles in the file dialogs.#108804
Repiteo merged 1 commit intogodotengine:masterfrom
bruvzg:mac_bundle_icon

Conversation

@bruvzg
Copy link
Member

@bruvzg bruvzg commented Jul 20, 2025

Built-in file dialogs can detect bundles and allow selecting them as files, but were using folder icon for them, which might be confusing.

This PR changes it to use generic file icon (but with folder color) instead.

AppIcon.icon is bundle this screenshot:
Screenshot 2025-07-20 at 16 43 21

@bruvzg bruvzg added this to the 4.5 milestone Jul 20, 2025
@bruvzg bruvzg requested review from a team as code owners July 20, 2025 17:49
@Repiteo Repiteo modified the milestones: 4.5, 4.x Jul 22, 2025
Copy link
Member

@KoBeWi KoBeWi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I didn't test, but the code looks fine.

@KoBeWi KoBeWi modified the milestones: 4.x, 4.6 Jul 23, 2025
Copy link
Member

@Calinou Calinou left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested locally, it works as expected. Code looks good to me.

Note that this doesn't display actual app icons, just a generic file icon.

@bruvzg
Copy link
Member Author

bruvzg commented Jul 31, 2025

We can get system icons, but it might look out of place, and the primary purpose of this PR is better display for non-app bundles, like .icon in #108794.

@Repiteo Repiteo merged commit c852872 into godotengine:master Sep 22, 2025
20 checks passed
@Repiteo
Copy link
Contributor

Repiteo commented Sep 22, 2025

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants

X Tutup