Bug 92667 - When open a document from Firefox/Thunderbird, LibreOffice window title retains '(read-only)' after exiting read-only mode
Summary: When open a document from Firefox/Thunderbird, LibreOffice window title retai...
Status: RESOLVED NOTABUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
4.4.5.1 rc
Hardware: All All
: lowest trivial
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: implementationError
Depends on:
Blocks: Read-Only Thunderbird-Interoperability
  Show dependency treegraph
 
Reported: 2015-07-10 05:32 UTC by Kevin Suo
Modified: 2024-12-16 05:27 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kevin Suo 2015-07-10 05:32:40 UTC
Steps:
1) Open a document from within Firefox downloaded list, or from within Thunderbird attachments.
2) Notice the window title has '(read-only)' next to the document name, and there is a warning infobar which warns that the document is currently open in read-only mode.
3) Click the 'Edit Document' button in the infobar or the 'Edit File' button in the toolbar
4) Document is now in edit mode, but the text '(read-only)' is still in the window title.

This bug is similar to bug 87545 (which was already fixed). In bug 87545 the document is open using the file open dialog; in this bug I am reporting, the document is open from Firefox/Thunderbird.

Version: 4.4.5.1
Build ID: 1b6df295803ea040dab1b48b5424da8d78d94cf0
Locale: zh_CN
Win X86
Comment 1 Kevin Suo 2015-07-10 05:34:28 UTC
Adding Stephan Bergmann to cc list, as he prepared the patch for bug 87545.
Comment 2 Joel Madero 2015-07-11 22:32:45 UTC
Confirmed:

Ubuntu 15.04  x64
LibreOffice
Version: 4.4.4.3
Build ID: 40m0(Build:3)
Locale: en_US.UTF-8


Setting to:

Trivial - it's not read-only, just a trivial wording issue

Lowest - default for trivial issues

My guess is this is inherited from OOo but I can't check that right now. If someone else could it'd be great to get the version field right (or add "regression" to keywords if it is in fact a regression)
Comment 3 QA Administrators 2016-09-20 10:14:15 UTC Comment hidden (obsolete)
Comment 4 Kevin Suo 2019-05-15 10:49:26 UTC
(In reply to QA Administrators from comment #3)

Bug still reproducible

Version: 6.3.0.0.alpha1+
Build ID:d2fa9c0d657877c967e41fdd0091f81d1b7ca048
CPU 线程:4; 操作系统:Linux 4.18; UI 渲染:默认; VCL: gtk3; 
Locale: zh-CN (zh_CN.UTF-8); UI-Language: zh-CN
Calc: threaded

Ubuntu 18.04 LTS
Comment 5 QA Administrators 2021-05-15 04:18:10 UTC Comment hidden (obsolete)
Comment 6 Kevin Suo 2021-05-17 01:43:14 UTC
(In reply to QA Administrators from comment #5)

Bug still present in:
Version: 7.1.4.0.0+ / LibreOffice Community
Build ID: b2fc048cb2d5f5bd1095a8110fa4a16a305a8acc
CPU threads: 4; OS: Linux 5.11; UI render: default; VCL: gtk3
Locale: zh-CN (zh_CN.UTF-8); UI: zh-CN
Calc: threaded
Comment 7 Stéphane Guillou (stragu) 2023-03-09 13:10:02 UTC
Still happens with a recent master build:

Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 288c0920a8475f9f2c537212e04aa7649192ad8c
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded

OOo 3.3 would require clicking the "edit file" button in the toolbar and would open a copy of the file in a new window, so it is not inherited. Probably just an implementation error.
Comment 8 Mike Kaganski 2024-12-16 05:27:25 UTC
This is not a bug. Enabling the edit mode in the UI doesn't change the *file* mode - the filesystem file is still read-only, which is recognized in the title. Trying to save it using e.g. Ctrl+S would still open a Save As dialog, because it still wouldn't be able to rewrite the original file.

This is different from bug 87545, where the original file is allowed to edit, but LibreOffice is instructed to use read-only mode when opening the file. When entering the edit mode, there it will be nothing preventing the file from rewriting.