Bug 85080 - ENHANCEMENT: Show a pop-up dialog for "Read-only recommended" file
Summary: ENHANCEMENT: Show a pop-up dialog for "Read-only recommended" file
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-10-16 06:40 UTC by Kevin Suo
Modified: 2014-10-16 09:36 UTC (History)
2 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 2014-10-16 06:40:28 UTC
This bug is based on Bug 84224. That bug was closed as WORKSFORME and now this new bug is filed for an enhancment request.

Problem Description:

When you save a file in ms excel 2010, on the file save dialog there is "Tools -> General Option -> Read-only recommended" option. When this option is enabled when you save a file, next time when you open this file with ms excel there will be a dialog pops up asking you whether you want to open the file read-only or edit the file.

But when you open such a "Read-only recommended" file in LibreOffice, it's open directly read-only. Althrough you can edit the file by clicking the "Edit File" icon in the toolbar, very few people know the exists of this icon thus they may think they are not able to edit this kind of file with LibreOffice.

This kind of file has the following tag:
docProps\app.xml:
...
<DocSecurity>2</DocSecurity>
...

See here:
http://www.sno.phy.queensu.ca/~phil/exiftool/TagNames/OOXML.html
OOXML Tags
 DocSecurity
 1 = Password protected
 2 = Read-only recommended
 4 = Read-only enforced
 8 = Locked for annotations

Suggested Improvements:
When this kind of "Read-only recommended" file is opened in LibreOffice, a pop-up dialog shows up, either:
* Tell the user the file is to be open read-only, if he/she want to edit the file, please click the "Edit File" icon on the toolbar.
* Ask whether he/she want to open the file read-only or want to edit the file. If the answer is "Edit", then LibreOffice should open the file in edit mode, otherwise in read-only mode.
Comment 1 sophie 2014-10-16 07:40:44 UTC
Hi Kevin, I think this feature integrated to 4.4 branch answers your request
https://wiki.documentfoundation.org/ReleaseNotes/4.4#Edit_.2F_Read-Only_Mode - Sophie
Comment 2 Kevin Suo 2014-10-16 09:36:41 UTC
Yes it is! thanks a lot.