Hey Stem,
After Googling a bit more about the subject and looking at some of the documentation of
OpenDocument, it seems that the only OS where it doesn't open the default file browser is on Linux.
Looks like it will open the default file manager under Windows and macOS.
I confirmed that from the source code:
If not FileExistsUTF8(aPath) then exit(False);
This code is on a unix only file. I would have to chase the Windows and macOS versions of the same file to confirm that this test is performed differently.
So, now, there should be egg on my face.
Nonetheless, I don't really have a solution for opening the default file manager under Linux.
The only thing I can think of is that you can use the
xdg-open if it's installed.
I've tested the command:
xdg-open /home/my_username on my Ubuntu 21.10 64b and it opened the file manager with my Home folder.
Hope this gives your more information than my previous attempt at helping
On a side note: Does anyone think this should be reported to the Devs ? Why does it bail if it's not a file?
Cheers,
Gus