https://bz.apache.org/ooo/show_bug.cgi?id=123544
bmarcelly <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #22 from bmarcelly <[email protected]> --- Created attachment 84800 --> https://bz.apache.org/ooo/attachment.cgi?id=84800&action=edit Uses Open or Save dialogs with different templates After several tests with macros, here are my conclusions explaining the variability of observations regarding the default directory displayed by the system FilePicker (service SystemFilePicker). The attached document contains macros that prove my point. The FilePicker can use different templates, through initialization. For file opening you can use: FILEOPEN_SIMPLE FILEOPEN_READONLY_VERSION FILEOPEN_LINK_PREVIEW FILEOPEN_PLAY FILEOPEN_LINK_PREVIEW_IMAGE_TEMPLATE Each of these templates "remembers" the last directory where a file was selected. Also, each file saving template "remembers" the last directory where a file is to be stored. The storage of these directory addresses is handled by Windows, not by Apache OpenOffice. With the macro, set a specific directory for a given template, then close Apache OpenOffice. If you have LibreOffice on the same computer it will be used as default directory when running the macro with the same template! This problem of display directory did not appear on previous versions of Windows and of OpenOffice, see Bug 110141. I still use OpenOffice.org 1.1.5 that works perfectly well on Windows 7, but displays an old-fashioned dialog box. Since Windows Vista, the recommended open/save dialog has changed from Common File dialog to Common Item Dialog. See Microsoft doc https://msdn.microsoft.com/en-us/library/windows/desktop/bb776913%28v=vs.85%29.aspx I suspect OpenOffice tried to follow Microsoft recommendation. -- You are receiving this mail because: You are the assignee for the issue. You are on the CC list for the issue.
