btzy / nativefiledialog-extended

Cross platform (Windows, Mac, Linux) native file dialog library with C and C++ bindings, based on mlabbe/nativefiledialog.
zlib License
598 stars 89 forks source link

Show hidden files #141

Open eskatos opened 3 days ago

eskatos commented 3 days ago

I have a use case where I need users to pick a hidden directory or a hidden file. Would it be possible to add the ability to tell the file/folder picker to show hidden files?

btzy commented 3 days ago

I did a quick check - this is in principle possible for Windows, macOS, and Linux/GTK.

It doesn't seem possible to implement on Portals (the more "native" dialog on Linux).

Note that it's also possible for the user to change some setting in each OS that will allow them to view hidden files in all file dialogs.