Ask Your Question
0

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

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

Vanadium gravatar image

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

Libreoffice 7.0.0.3 (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 6.4.4.2, 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 6.4.4.2 also causes the dialog to appear.

edit retag flag offensive close merge delete

Comments

In 6.4.4.2

Was your 6.4.4.2 really a flatpak installation of LibreOffice?

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

1 Answer

Sort by » oldest newest most voted
0

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

Opaque gravatar image

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

Hello,

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 https://ask.libreoffice.org/en/question/255770/how-to-disable-file-locking-on-linux-ubuntu-permanently/.

Hope that helps.

edit flag offensive delete link more

Comments

Not so. In 6.4.4.2, 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 +0100 )edit
1

Not sure whether this is correct for 6.4.4.2 flatpak install: In your question https://ask.libreoffice.org/en/question/261486/flatpak-install-of-lo-cannot-connect-to-sqlite-database/ you stated: Moving from the default LO version in Ubuntu 20.04 to the flatpak version (currently 7.0.0.3), 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 +0100 )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 7.0.0.3 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 +0100 )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 +0100 )edit

I was able to revert to an earlier commit of LO, 6.4.4.2 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 +0100 )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 +0100 )edit
Login/Signup to Answer

Question Tools

1 follower

Stats

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

Seen: 59 times

Last updated: Aug 26 '20