https://bugs.freedesktop.org/show_bug.cgi?id=71005
Priority: medium
Bug ID: 71005
Assignee: [email protected]
Summary: File locking: No warning dialog is shown when started
with --nolockcheck
Severity: normal
Classification: Unclassified
OS: Linux (All)
Reporter: [email protected]
Hardware: x86 (IA32)
Status: UNCONFIRMED
Version: 3.6.4.3 release
Component: Extensions
Product: LibreOffice
When two users from different computers open the same file, normally the second
user gets a warning "Document is locked for editing by ...". This dialog is not
shown when office is started with parameter --nolockcheck.
On the other hand, a Java application which uses the
com.sun.star.comp.helper.Bootstrap class starts Libreoffice with --nolockcheck.
In the end, when a such a Java application runs in the background (like the
WollMux at the city of Munich), and a user opens a document which is locked by
another user, he gets no warning dialog.
I think it's because the CommandLineArgs:InterpretCommandLineParameter method
uses the nolockcheck-parameter as a workaround for automated tests, as the
comment says. But that's not what nolockcheck is said to be used for in the
parameter descriptions, "--nolockcheck don't check for remote instances using
the installation". So, if it's still neccessary to supress the warning dialog
for automated tests I think it would be a good idea to introduce a new
parameter.
I created this bug for 3.6.4, but I think it's still the same with at least
4.1.3
--
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