Bug 45243 - : Allow writing in a read-only file (Yes, it's important!)
Summary: : Allow writing in a read-only file (Yes, it's important!)
Status: NEEDINFO
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: UI (show other bugs)
Version: 3.4.4 release
Hardware: Other All
: medium normal
Assignee: Not Assigned
QA Contact:
URL:
Whiteboard: BSA
Keywords:
: 55548 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-01-25 13:05 UTC by Ryo Furue
Modified: 2014-09-24 02:53 UTC (History)
4 users (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Ryo Furue 2012-01-25 13:05:58 UTC
Problem description: When you open a read-only file, LibreOffice disables modifying operations, such as "Edit > Changes > Accept or Reject".  That is a wrong design, I think.  For sure, you should disable any functionality to modify the original file such as "File > Save".  But, you often want to open a read-only file, modify it, and "Save As" a different file.  Sometimes, you want to open a read-only file, accept the changes your co-author made, print the result out, and quit LibreOffice without saving the accepted changes.

Steps to reproduce:
1. $ lowriter a-read-only-file.doc
2. Edit > Chages > Accept or Rject
3. You find it's disabled.

Platform (if different from the browser): Debian GNU/Linux (testing). i686.
              
Browser: Opera/9.80 (X11; Linux i686; U; en) Presto/2.10.229 Version/11.61
Comment 1 tester8 2012-01-28 10:24:43 UTC
Reproduced with

LOdev 3.5.0rc2
Ubuntu 10.04.3 x86
Linux 2.6.32-37-generic Russian UI
Comment 2 Joel Madero 2013-05-29 21:24:35 UTC
*** Bug 55548 has been marked as a duplicate of this bug. ***
Comment 3 Samuel Mehrbrodt 2014-09-22 22:08:23 UTC
We now have an infobar appearing when the document is opened read-only. That lets you quickly go to edit mode.

Is that enough?
Comment 4 ign_christian 2014-09-23 03:43:46 UTC
Seems to be a misperception here. Based on my interpretation, "Accept or Reject" changes only available if "Record" changes activated: https://help.libreoffice.org/Common/Recording_Changes

So if I interpret correctly, this report is invalid.
Comment 5 Ryo Furue 2014-09-23 14:38:42 UTC
(In reply to comment #4)
> Seems to be a misperception here. Based on my interpretation, "Accept or
> Reject" changes only available if "Record" changes activated:
> https://help.libreoffice.org/Common/Recording_Changes
> 
> So if I interpret correctly, this report is invalid.

No.  Sorry if ONE of my examples was invalid.  But, my original request still stands, I think. LibreOffice (at least before the fix) didn't allow many (if not all) modifying operations if the opened file is read-only.  That is inconvenient.

I just listed two example where modifying the contents of a read-only file is useful.  (Apparently one of the two examples was invalid.)

Regards,

Ryo
Comment 6 ign_christian 2014-09-23 15:22:38 UTC
I just realize you was reported many issues here. Should be 1 issue / report.

There are some similar bugs regarding what you mentioned. Perhaps what you meant with your 2nd case is Bug 65498 or Bug 61356 ?
Comment 7 Ryo Furue 2014-09-24 02:53:54 UTC
Thank you for your responses.

(In reply to comment #6)
> I just realize you was reported many issues here. Should be 1 issue / report.
> 
> There are some similar bugs regarding what you mentioned. Perhaps what you
> meant with your 2nd case is Bug 65498 or Bug 61356 ?

Those seem to be similar to, or the same as, mine.  The thing is, though, I don't know what issues are (internally) the same and what are separate.

So, let me rephrase what I (or we, who have submitted similar requests) wish, in terms of the "behavior" of LibreOffice.

In my opinion, opening a read-write file and opening a read-only file should result in only one or two differences.

1) When you start to "edit" (modify the contents of) a read-only file, a pop-up would open, saying "Are you sure you want to edit this read-only file? [y/n]:"

2) When you try to wave into a read-only file, a dialogue would open, saying "Do you really overwrite this read-only file? [y/n]:"

Otherwise, opening a read-only and opening a read-write file should be indistinguishable (apart from the window title indicating "read-only").  I don't think (1) is essential.

Regards,

Ryo


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.