Can I turn off the read only pop up when opening a file?

Is it possible to turn off the read only and edit options provided by the pop up when I open one of my files?
Maybe using a macro to run when opening the document and hiding the pop up?

Has this been answered - benign, but frustrating? Surely a simple toggle would work.

By pop-up you mean yellow notification at the top of the window?

You can edit a file or you can’t. Pop-up is just indication of the state. By clicking ‘Edit file’ you are changing status from read-only to editable. Pop-up is just reflection of the state. Removing indication with macro will make files editable. How would you know if file is editable of not if you kill pop-up without changing the state from read-only to editable. I doubt you can kill notification without changing state with macro. And If you can, why would you want to do it? You would have read-only file which is presented as editable - and that is misleading.

However, if you need your file to be editable and you need it to stay that way - you might want to check permissions for files causing that pop-up to show. File is probably downloaded or copied from somewhere and permissions a bit off. Or open that file, click ‘Edit file’ and re-save file. Think that could help. Use re-saved version for future editing.

Accept this answer if it helped.

I know this is a very old discussion, but…

That argument makes no sense to me. I have a button on my toolbar that controls the editable state of the document. When I click it to make the document read-only, I don’t need a banner message I have to dismiss every time, telling me about the state-change I just explicitly made, and which I can easily glance at the toolbar to confirm.

That banner is a perfect example of a well-intentioned feature, based on bad assumptions about how and if it’s actually useful to users.

The issue, in Windows at least, is as follows:

Say you’ve set the read-only flag on a file to prevent any application from overwriting a master spreadsheet template.

If another person opens the spreadsheet, they will immediately be able to start entering data, (which is all good).

Then, if they only need to view, print or email the sheet, no problem.

And if they need to save the sheet, they will be prompted to enter a filename instead of saving over the master template, which is what we want.

However, Libre Office displays the frustrating and confusing prompt, “This document is open in read-only mode. Edit Document?”

It’s frustrating because it is an unnecessary step when you just want to get to work. It’s confusing because it sounds like you can edit the master template, which you DON’T want to do, (and which you can’t do because the OS respects the file permissions that are set).

It’d be better if the read-only flag was displayed in the status bar, without a pop-up.

TechBlog Exnomad

@TechBlogExnomad:

It’s confusing because it sounds like you can edit the master template, which you DON’T want to do, (and which you can’t do because the OS respects the file permissions that are set).

… which only means that the whole thing is misused. Templates need to be stored as dedicated template documents - e.g., for Writer, OTT instead of ODT. This allows to set whatever permissions/flags you need to prevent inadvertent modifications, and LibreOffice knows to not open the file by default, but to create a new document based on this file. So user does not have any notifications upon double-clicking such an entry.

@mikekaganski

It’s not the job of software to slap the user on the wrist when they choose not to follow conventions, whether or not they have particular reasons for doing so.

The status bar is the place to indicate write permissions, along with the date last saved and whether the document has been modified since last-save.

But if it IS the job of software to teach standard conventions, it still shouldn’t be confusing. Instead the pop-up could say:

"I see someone has write-protection enabled on this file. You probably intended to create a document template. Click to learn how to do this.

[ ] Continue to show these kinds of tips.

[X] Die all pop-ups! Die!!

If you only have this dichotomy in your practice (so you only can think that people make files read-only just because they mistakenly intended to use it as templates) doesn’t mean that’s the only possible situation in this world :wink:

And the software tries to be most useful for users in other cases of such a situation - i.e., when a file is made read-only intentionally (e.g., by using ACLs), so that others may read it, but not modify (informational access); and editing it (as another document or otherwise) is not necessarily expected. In that case, the pop-up doesn’t stand in the way, but serves as a useful reminder. Placing every imaginable way to proceed would turn it into 10 cm wide banner.

@mikekaganski

Precisely my point. That last bit about the pop-up was a bit of sarcasm. Software can’t always predict what the user is trying to do, or why.

TechBlog Exnomad

What about standalone database forms? These are created using Writer, but they’re not really documents from a use case point of view. They’re the GUI for a database and are not intended to be modified by end users.

In this case showing the read-only banner is the wrong thing to do.

@TonyG - some special cases need own bug reports