Bug 130423 - Not all information in a lock file is reported to the user
Summary: Not all information in a lock file is reported to the user
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: UI (show other bugs)
Version:
(earliest affected)
6.3.4.2 release
Hardware: x86-64 (AMD64) Linux (All)
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: needsDevEval
Depends on:
Blocks: File-Lock
  Show dependency treegraph
 
Reported: 2020-02-04 12:17 UTC by Nigel Arnot
Modified: 2020-09-29 16:09 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
The dialog in question (20.72 KB, image/jpeg)
2020-02-04 12:21 UTC, Nigel Arnot
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nigel Arnot 2020-02-04 12:17:49 UTC
Description:
If one user of a document in a shared filestore has it open, another user on a different system attempting to open the same file is informed of this through a dialog asking him what action to take. However, the information given is 

"Document <name> is locked for editing by <username> <date/time>"

The information in the lockfile also includes the name of the system which has locked the file, which is extremely useful for getting the file unlocked. 
Example of lock-file contents:

,migtest,artemis.silson.com,04.02.2020 11:48,file:///home/migtest/.config/libreoffice/4; 

Please can the information conveyed to a user attempting to open this file include the hostname (here artemis.silson.com):

"Document <name> is locked for editing by migtest on system artemis.silson.com since 04.02.2020 11:48"



Steps to Reproduce:
1. Put a Libreoffice file on a shared filestore and open it on logged in on SYSTEM_A by USER_A
2. Log in as User_B on SYSTEM_B and attempt to open the same file
3.

Actual Results:
 Dialog not displaying that the file is open on SYSTEM_A

Expected Results:
Include SYSTEM_A in the dialog


Reproducible: Always


User Profile Reset: No



Additional Info:
Comment 1 Nigel Arnot 2020-02-04 12:19:09 UTC
Follow-on from https://bugs.documentfoundation.org/show_bug.cgi?id=101409 comment 8 and resolution.
Comment 2 Nigel Arnot 2020-02-04 12:21:50 UTC
Created attachment 157639 [details]
The dialog in question

This is the dialog box I am referring to
Comment 3 Heiko Tietze 2020-02-19 09:50:27 UTC
I support the request.