Bug 92445 - Print preview has disabled controls when document is write protected
Summary: Print preview has disabled controls when document is write protected
Status: RESOLVED NOTABUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
4.4.4.2 rc
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Print-Preview
  Show dependency treegraph
 
Reported: 2015-06-30 08:30 UTC by Christian Kirbach
Modified: 2018-05-30 19:32 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:


Attachments
screen shot (37.33 KB, image/png)
2015-06-30 08:30 UTC, Christian Kirbach
Details
screen shot of print preview window (87.78 KB, image/png)
2015-10-21 22:06 UTC, Douglas Mencken
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Kirbach 2015-06-30 08:30:27 UTC
Created attachment 116945 [details]
screen shot

When opening a document that is in write-protected state, e.g. when opening an XLS file downloaded via Firefox, the controls to

* zoom
* set orientation
* margins

are disabled (greyed out).
In my opinion they should not be disabled, as from a user point of view the controls do not alter the document contents in any way.
Comment 1 Joel Madero 2015-10-21 22:03:51 UTC
There are conflicting points of view about this issue - developer point of view probably not valid, user point of view perhaps valid.

Requesting UX input here.
Comment 2 Douglas Mencken 2015-10-21 22:05:17 UTC
I confirm it with LO built oct 21 for OSX

How to repro
• create new calc document
• save it
• lock it (in Finder check Locked in Get Info)
• open it with libreoffice
• call print preview
Comment 3 Douglas Mencken 2015-10-21 22:06:34 UTC
Created attachment 119852 [details]
screen shot of print preview window
Comment 4 Marco Menardi 2015-10-21 22:12:56 UTC
I can confirm (LiBo 5.0.3.1 GNU/Linux Debian KDE) but is not "zoom" (lower right) but "Scaling factor" in preview that is blocked.
For UX: OMHO with read only documents I would warn the user when he opens it and let him work on it freely. Whe he saves will be prompted with a "Can't save is read only, save with a differen name (save as)" or something like that.
Comment 5 Marco Menardi 2015-10-22 20:16:58 UTC
@myself: At least 5.x, when you open a read only document you are asked if you want to modify it, so you can have what I was suggesting.

Nevertheless I agree that those settings (scale, orientation and margins), even are usually saved inside the document as document properties, could simply be allowed and then discarded considering their importance in the goal of correctly printing the document.
Comment 6 Robinson Tryon (qubit) 2016-08-25 05:49:19 UTC Comment hidden (obsolete)
Comment 7 Heiko Tietze 2018-05-30 19:32:08 UTC
We discussed the issue in the design meeting and agreed on NAB. Only scaling is disabled and this function changes the print view definition, which is part of the original document.