Issue 6364 - quickstarter won't release lock on folder after printing to file
Summary: quickstarter won't release lock on folder after printing to file
Status: CLOSED NOT_AN_OOO_ISSUE
Alias: None
Product: General
Classification: Code
Component: code (show other issues)
Version: OOo 1.0.0
Hardware: PC Windows 2000
: P3 Trivial (vote)
Target Milestone: ---
Assignee: Mathias_Bauer
QA Contact: issues@ui
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-07-08 23:25 UTC by kyoshida
Modified: 2003-01-17 14:11 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description kyoshida 2002-07-08 23:25:48 UTC
Here is how to reproduce this weird bug.

1. Open any one of the OO components with the quickstart enabled, let's say I
opened OO Writer for argument's sake.
2. With the "Use OpenOffice.org dialogs" unselected (therefore I'm using the
Windows' native file dialog), select file->print, and check the "print to file"
option.
3. Select the Desktop as my destination, and create a new folder.
4. Save the print file under this new folder.
5. Close the document without saving.
6. Now try to move the newly-created folder to the recycle bin.  An error
message appears that says something like "sharing violation, the source or
destination file may be in use".  I won't be able to delete this folder unless I
turn off the quickstarter.

I confirmed this odd hehavior both in OO 1.0.0 and SO 6.0 final.  It seems that
this happens no matter which component is used.  It occurred on me in Win2k, but
I haven't confirmed it yet in other versions of Windows, so it may or may not
happen in other Windows versions, but my gut feeling says it probably does
(which in itself doesn't mean anything from debugging standpoint, I know ;).

Can someone confirm this behavior?
Comment 1 Oliver Specht 2002-10-10 08:20:37 UTC
Happens on XP, too.
But it doesn't happen when "Use Star|OpenOffice.org dialogs" is
switched on. 
As it happens on more than one module I think it's maybe a framework
problem.
Comment 2 Frank Schönheit 2002-10-11 13:57:26 UTC
I am convinved that this is a Windows problem.

I often (in other applications than OpenOffice.org) encounter this
weird behaviour that the folder which has been most recently accessed
in the system's file dialog is locked, until in the same application,
the file dialog is invoked, again, and a document from another folder
is loaded.

(For instance, this permanently happens in my Microsoft Visual Studio.)

This is a Windows operating system bug.

Frank
Comment 3 Mathias_Bauer 2003-01-17 14:11:14 UTC
.