Issue 69907 - FilePicker locks directory of the chosen file
Summary: FilePicker locks directory of the chosen file
Status: CLOSED DUPLICATE of issue 21747
Alias: None
Product: App Dev
Classification: Unclassified
Component: api (show other issues)
Version: 3.3.0 or older (OOo)
Hardware: PC Windows XP
: P3 Trivial
Target Milestone: ---
Assignee: hennes.rohling
QA Contact: issues@api
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-27 10:42 UTC by bmarcelly
Modified: 2013-02-24 21:08 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
Demo of FilePicker bug (7.33 KB, application/vnd.sun.xml.writer)
2006-09-27 10:43 UTC, bmarcelly
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
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.