Bug 82960

Summary: EDITING: Document locked for editing
Product: LibreOffice Reporter: canciller <rmetralleta>
Component: ImpressAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED NOTABUG    
Severity: normal CC: jbfaure
Priority: medium    
Version: 4.2.4.2 release   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard: BSA
Crash report or crash signature: Regression By:
Attachments: Pop up messge saying that document can't be edited

Description canciller 2014-08-22 17:07:06 UTC
Created attachment 105115 [details]
Pop up messge saying that document can't be edited

Problem description: 

Steps to reproduce:
1. Create new "impress" document insert some text and save.
2. Power off computer (unplug power cord)
3. Plug power cord again start computer, and hopefully system check disk tells "no errors on disk"
4. Re open file previosly created.


Current behavior:

At reopening the system pop-up message:

Document file 'document_name.odp' is locked for editing by:

Unknown User

Open document read-only or open a copy of the document for editing.
(*end of message)

Expected behavior:

Open document and continue editing on last version (or auto saved version)
              
Operating System: Ubuntu
Version: 4.2.4.2 release
Comment 1 Jean-Baptiste Faure 2014-08-24 09:42:52 UTC
Not a bug from LibreOffice: you should set user data so that LibreOffice could know that it is you who created and reopened the file.
To do that: menu Tools > Options > LibreOffice > User Data.

Please, try that and and check if that solve the problem for you. 
Note: before testing you must remove the lock file attached to the document because this lock has not been removed by LibreOffice on closing the document (it has not been closed). This lock file has a name in the form .~lock.filename#. The dot in front of the name means that the lock file is hidden. 

Set status to NEEDINFO. Please set it back to UNCONFIRMED once you have provided requested informations. Thank you for your understanding.

Best regards. JBF
Comment 2 canciller 2014-08-24 15:26:12 UTC
Hi JBP.

Thanks for your quick reply.

Ctrl + h and remove the .~lock.filename# solve the problem.

That was the first time libre office do that and I wasn't sure about what happened.

Everything looks good.

Best regards.

PS: I will do my best and research more before submit a bug :p
Comment 3 Jean-Baptiste Faure 2014-08-24 16:21:41 UTC
Thank you for your answer. Closing as NotABug.

Best regards. JBF