Skip to content

Conversation

@Bamboy
Copy link
Contributor

@Bamboy Bamboy commented Oct 4, 2025

Another PR to improve FileDialog:

  • Fixes issues FileDialog -> AccessDenied Exception will crash #443 FileDialog / MyraPad: Crash on Linux (Access denied) #492
  • Adds a file/folder filtering system based on FileAttributes enum.
  • Files and Folders will now not display at all if the app (or class settings) does not have permissions to interact with them. Even if you DID (like by overriding) it will now show a popup with a basic message about the IO exception. (popup untested)
  • Read-only files are filtered out in "SaveFile" mode.
  • Non-directory "files" are filtered out in "ChooseFolder" mode. (technically, redundant with prior code)
  • Added ability to show system-hidden files and folders via public variable (default off).
  • Files and folders are now sorted alphabetically instead of randomly by the runtime.
  • Linux: Added a missing label for the primary OS partition, and it now explicitly directs to / instead of /home, or another mounted directory.

…display w/o proper app permissions, added ability to show hidden files (default off), files+folders are now sorted alphabetically, on Linux, gave the main system partition a missing label.
@rds1983 rds1983 merged commit f124cd4 into rds1983:master Oct 4, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants