https://bugs.freedesktop.org/show_bug.cgi?id=43883
Bug #: 43883
Summary: LibO started via Windows Explorer does not release
lock on directory when file is closed
Classification: Unclassified
Product: LibreOffice
Version: LibO 3.4.4 release
Platform: x86 (IA32)
OS/Version: Windows (All)
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: Libreoffice
AssignedTo: [email protected]
ReportedBy: [email protected]
This is on Windows XP.
This happens when you start LibreOffice from Windows Explorer by using Windows'
file type associations: you double-click on a LibreOffice file in Windows
Explorer and it opens that file in LibreOffice. If you then close the file in
LibreOffice (but leave the application running), the lock on the file is
correctly released, and it can then be deleted, for example. However,
LibreOffice retains a lock on the directory from which the file was opened,
and, even with the file closed, you cannot delete the directory while
LibreOffice is still running.
To reproduce:
- create a new directory anywhere
- copy any LibreOffice file to this directory
- with LibreOffice not already running, double-click (or press Enter) on this
file
- observe the file correctly opens in LibreOffice
- close the file in LibreOffice, but leave LibreOffice running
- in Windows Explorer, attempt to delete the file you have just opened and
closed
- observe this happens correctly
- now attempt to delete the directory you created
- observe that this throws an error ("Cannot delete <dirname>: It is being used
by another person or program" on Windows XP)
I would suggest that when LibreOffice is started this way, it should not place
a lock on the directory from which it is started. Alternatively, if it must
place such a lock, it should release it when the file is closed.
This problem does not occur if you start LibreOffice from the Start Menu, then
open a file either using the LibreOffice menu or via Windows Explorer.
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs