[Libreoffice-bugs] [Bug 108210] Can' t open file for editing if there is a lingering lock file from a different user

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Tue Dec 12 08:20:06 UTC 2017


https://bugs.documentfoundation.org/show_bug.cgi?id=108210

Aron Budea <baron at caesar.elte.hu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|minor                       |normal

--- Comment #2 from Aron Budea <baron at caesar.elte.hu> ---
Elaborating on the dialog and choices:
1. If there's a lock file, and the same user tries to access the file from the
same LO path: file is opened without confirmation dialog.
2. If there's a lock file, and the same user tries to access the file from a
different LO path:
 there is a dialog with text STR_ALREADYOPEN_MSG from [1], choices are "Open
Read-Only", "Open", "Cancel".
3. If there's a lock file, and a different user tries to access the file:
 there is a dialog with text STR_LOCKFAILED_MSG from [1], choices are "Open
Read-Only", "Open Copy", "Cancel".

An idea I had is to only check system lock if that's what the code relies on
with that file system. I discussed with Mike, one concern is that we can't
really know for sure if the system lock is reliable underneath. His conclusion
was that first the code should check if the file can be opened for writing, and
then in the dialog allow the user the choice to open the file. So the dialog
shouldn't be completely eliminated. In this case an extra text is needed,
because the current ones don't cover this option (they mention situation and
choices).

[1] https://opengrok.libreoffice.org/xref/core/uui/inc/strings.hrc

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20171212/eddd276e/attachment.html>


More information about the Libreoffice-bugs mailing list