Apache OpenOffice (AOO) Bugzilla – Issue 69907
FilePicker locks directory of the chosen file
Last modified: 2013-02-24 21:08:45 UTC
I found this problem both on 1.1.5 and also on 2.0.3 with Windows XP Home SP2. 1 - Run the macro hereunder, choose a file. 2 - Then try to rename the directory of the file: rejected "resource used by another user or program". 3 - Run again the macro, choose a file in another directory. 4 - Try to rename this last directory: rejected. Try to rename the former directory: now it is accepted. 5 - the only way to unlock is to close OOo. Sub testFilePicker fp = createUnoService("com.sun.star.ui.dialogs.FilePicker") fp.appendFilter("All", "*") fp.CurrentFilter = "All" fp.Title = "Choose a file" if fp.execute = 1 then lesFichiers() = fp.Files MsgBox(lesFichiers(0) ) end if fp.dispose End Sub
Created attachment 39391 [details] Demo of FilePicker bug
jsc -> fs: do you have an idea who would be the right owner for this issue
fs->hro: That's about the Windows native file picker only, not about OOo's version.
Marked as duplicate. *** This issue has been marked as a duplicate of 21747 ***
Closed.