Page 1 of 1

[Solved] Filepicker using built-in dialogs

Posted: Mon Feb 06, 2012 9:12 pm
by nienberg
On Windows 7 x64 there is a bug that prevents the use of the "setDisplayDirectory" in the filepicker.

It is documented here
https://www.libreoffice.org/bugzilla/sh ... i?id=43021
and here
https://issues.apache.org/ooo/show_bug.cgi?id=110141

In order to work around this, I am trying out the user preference "Use LibreOffice dialogs". It does correctly open to the directory set in the macro, but there is another problem. I don't see any way to navigate to another drive (local or network). I tried making windows shortcuts to other drives in the DisplayDirectory, but LibreOffice interprets the shortcuts as files instead of links. I don't see how I could live with this shortcoming, so I guess I will have to revert to the native dialogs, unless someone has a better idea?

Thanks,

SOLVED Filepicker using built-in dialogs

Posted: Mon Feb 06, 2012 10:51 pm
by nienberg
I've discovered that if you click the Up One Level button repeatedly then you will eventually get to the Top Level, which will show all your assigned drive letters.

Also, if you configure the Path for My Documents to "\\\" (3 backslashes), then the home button will display the Top Level.

You can also type in a network path in "\\server\share" format in the filename box and the directory will shift to display that share. I think this is good enough to go ahead with using the LibreOffice dialogs.