Ask Your Question

Disable the new "Document in use" dialog when opening documents from a web link

asked 2020-08-26 11:44:46 +0200

Vanadium gravatar image

updated 2020-08-26 16:04:16 +0200

Libreoffice (Flatpak install) on Ubuntu 20.04

In a flatpak install of Libreoffice 7, a "Document in use" appears whenever you open a document that is locked one or another way.

Document in use dialog

This becomes very annoying it you regularly need to view office documents from on line links. Is there a way to disable that dialog and have the link immediately opened read-only in Writer?

Previous "regular" installations behaved differently. In, regular .deb install, the same document would open immediately, with a blue message bar appearing on top"This document is open in read-only mode" appearing on top . The blue bar provides a button "Edit Document".

image description

A flatpak install of also causes the dialog to appear.

edit retag flag offensive close merge delete



Was your really a flatpak installation of LibreOffice?

Opaque gravatar imageOpaque ( 2020-08-26 14:47:35 +0200 )edit

1 Answer

Sort by » oldest newest most voted

answered 2020-08-26 13:04:48 +0200

Opaque gravatar image

updated 2020-08-26 13:05:49 +0200


Libreoffice 7 has introduced a new "Document in use"

That's not new in 7.0 but a pretty old feature and a consequence of file locking. Hence you may have a remainder of an old file called .~lock.studentenlijst.5.xlsx# on your storage device. If you don't like file locking at all (be prepared on conflicting edits, if there might be more than one instance of LibreOffice opening the files) then you may want to implement what is in answer to question

Hope that helps.

edit flag offensive delete link more


Not so. In, a document opened from the ssme weblink immediately opens, however showing a blue bar on top "This document is open in read-only mode". The blue bar provides a button "Edit Document". I will add this to the actual question.

Vanadium gravatar imageVanadium ( 2020-08-26 13:16:30 +0200 )edit

Not sure whether this is correct for flatpak install: In your question you stated: Moving from the default LO version in Ubuntu 20.04 to the flatpak version (currently, hence I'd state: You compare apple and oranges (I got no flatpak installation to crosscheck).

Opaque gravatar imageOpaque ( 2020-08-26 14:42:51 +0200 )edit

You assume that the dialog was introduced for the flatpak version only? Could be, but that would not be the most straightforward assumption. Not impossible, though. Anyway, I also cannot currently cross-check with a that would be installed through .deb packages for now. Thank you nevertheless to pointing towards a workaround, but I am not quite inclined to disable file locking.

Vanadium gravatar imageVanadium ( 2020-08-26 15:40:07 +0200 )edit

but I am not quite inclined to disable file locking

The reason is for both versions the same. Disable file locking (for testing purposes) and you'll see the result. Installing 7.0.1 RC1 on Ubuntu 20.04 now, and check whether it is really a new dialog called from LibreOffice ...

Opaque gravatar imageOpaque ( 2020-08-26 15:48:32 +0200 )edit

I was able to revert to an earlier commit of LO, flatpak, and indeed, also there the dialog appears. This is a stronger difference than I would have expected. I will add the information to the question indeed.

Vanadium gravatar imageVanadium ( 2020-08-26 16:00:37 +0200 )edit

In the meantime I have checked LibreOffice 7.0.1 RC1 from Ubuntu "fresh" PPA and I do only see what you are used to see (blue bar with Edit Document button).

Opaque gravatar imageOpaque ( 2020-08-26 16:12:23 +0200 )edit
Login/Signup to Answer

Question Tools

1 follower


Asked: 2020-08-26 11:44:46 +0200

Seen: 71 times

Last updated: Aug 26 '20