Open Doublonmousse opened 2 weeks ago
I would like to keep the MIME-type based filtering on linux so this is probably better implemented as a windows-specific workaround - at least until it is fixed upstream
Then a in-code comment about this being a temporary workaround and maybe linking the gitlab issue in there would be nice, so that anyone going over this part in the future will now why it is done like that
this allows for the filepicker to stay as the native one on windows and, this makes the extension automatically apply on both windows and linux even if the file name doesn't include the extension.
To fix #1114
Some notes
filter.add_pattern
andfilter.add_suffix
is enough for it to work