Suppress hidden files in import dialog#13809
Conversation
|
A Step in the right direction 👍 I presume there is still an issue with recursive import though? |
|
I don't think so. |
|
Ok, sounded like it was UI only... |
I don't think it's a bug. Try the following: In Terminal, run the command You can check the success of the utility with a command This command should output 32768 (it outputs 0 for non-hidden files). After that, check what Apparently, .DS_Store files in macOS do not have a hidden attribute, and the Finder does not show them because of their special function and their name being reserved. |
|
I tried on my Mac: Finder does not show the file but
Yes, macOS handles Unix style hidden files (filename starts with a |
Trying to fix some old macOS issues...
fixes #11225
I think it doesn't make sense to display hidden files in the import dialog.
Found a strange bug:
g_file_info_get_is_hidden()always returns 0, at least on macOS so I made an additional check if the filename starts with a.