Skip to content
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

FileDialog: add Back/Forward buttons, add message for inaccessible folders. #47163

Merged
merged 1 commit into from
Mar 25, 2021

Conversation

bruvzg
Copy link
Member

@bruvzg bruvzg commented Mar 19, 2021

Follow up to #47056, but independent of it.

Make file dialog more usable in macOS sandboxed apps.

  • Adds Back/Forward buttons (backport from EditorFileDialog), without these, the only way to navigate out of inaccessible folders is entering full path manually.
  • Adds DirAccess, is_readable/is_writable (Unix implementation only) for inaccessible folder detection.
  • Adds message for the inaccessible folders.

file_dialog

@bruvzg bruvzg force-pushed the macos_sandbox_file_dialog branch from d5128db to b202a0d Compare March 23, 2021 06:04
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.

Code and UX looks good to me, nice work 🙂

@akien-mga akien-mga merged commit c6b9cea into godotengine:master Mar 25, 2021
@akien-mga
Copy link
Member

Thanks!

@bruvzg bruvzg deleted the macos_sandbox_file_dialog branch March 30, 2021 19:05
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.

3 participants