Issue 69907

Summary: FilePicker locks directory of the chosen file
Product: App Dev Reporter: bmarcelly <marcelly.bernard>
Component: apiAssignee: hennes.rohling
Status: CLOSED DUPLICATE QA Contact: issues@api <issues>
Severity: Trivial    
Priority: P3 CC: issues
Version: 3.3.0 or older (OOo)   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---
Attachments:
Description Flags
Demo of FilePicker bug none

Description bmarcelly 2006-09-27 10:42:15 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
Comment 1 bmarcelly 2006-09-27 10:43:51 UTC
Created attachment 39391 [details]
Demo of FilePicker bug
Comment 2 jsc 2006-10-06 12:38:07 UTC
jsc -> fs: do you have an idea who would be the right owner for this issue
Comment 3 Frank Schönheit 2006-10-06 12:47:06 UTC
fs->hro: That's about the Windows native file picker only, not about OOo's version.
Comment 4 hennes.rohling 2006-12-06 13:37:37 UTC
Marked as duplicate.

*** This issue has been marked as a duplicate of 21747 ***
Comment 5 hennes.rohling 2006-12-06 13:38:18 UTC
Closed.