Bug 47628 - VIEWING no background color on protected sheet with enabled 'Value Highlighting'
Summary: VIEWING no background color on protected sheet with enabled 'Value Highlighting'
Status: RESOLVED NOTABUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: Other All
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Value-Highlighting
  Show dependency treegraph
 
Reported: 2012-03-20 17:48 UTC by Pfuschi
Modified: 2021-07-01 05:25 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
unprotected sheet (57.04 KB, application/vnd.oasis.opendocument.spreadsheet)
2012-03-23 04:50 UTC, Pfuschi
Details
PDF print of unprotected sheet (60.47 KB, application/pdf)
2012-03-23 04:51 UTC, Pfuschi
Details
sheet protected (57.08 KB, application/vnd.oasis.opendocument.spreadsheet)
2012-03-23 04:52 UTC, Pfuschi
Details
screenshot of protected sheet (122.99 KB, image/png)
2012-03-23 04:53 UTC, Pfuschi
Details
PDF print of protected sheet (60.47 KB, application/pdf)
2012-03-23 04:55 UTC, Pfuschi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Pfuschi 2012-03-20 17:48:44 UTC
Any background colour - also within conditional formats - is not shown on screen in a protected sheet even when cell is unlocked (locked cells are shadowed) - but is shown in page preview and PDF output. 
Tested with LibO 3.4.4, 3.5.0, 3.5.1
Comment 1 Rainer Bielefeld Retired 2012-03-21 00:29:09 UTC
Modified Version due to report

NOT reproducible with "LibreOffice 3.5.1.2 German UI/Locale [Build-ID: dc9775d-05ecbee-0851ad3-1586698-727bf66] on German WIN7 Home Premium (64bit) 

@Pfuschi:
Please attach a sample document.
Comment 2 Pfuschi 2012-03-23 04:50:19 UTC
Created attachment 58913 [details]
unprotected sheet
Comment 3 Pfuschi 2012-03-23 04:51:24 UTC
Created attachment 58914 [details]
PDF print of unprotected sheet
Comment 4 Pfuschi 2012-03-23 04:52:56 UTC
Created attachment 58915 [details]
sheet protected
Comment 5 Pfuschi 2012-03-23 04:53:57 UTC
Created attachment 58916 [details]
screenshot of protected sheet
Comment 6 Pfuschi 2012-03-23 04:55:06 UTC
Created attachment 58917 [details]
PDF print of protected sheet
Comment 7 Rainer Bielefeld Retired 2012-03-31 07:40:58 UTC
The effect is reproducible with reporter's sample documents and with "LibreOffice 3.5.2.2 German UI/Locale [Build-ID: 281b639-6baa1d3-ef66a77-d866f25-f36d45f] on German WIN7 Home Premium (64bit), but I can't tell whether its a bug.

You see the  effect in a document with protected sheet, when you 
1. Open attached Calc Document "sample.ods'
   > you see some cells with contents, 
     B1:B4 will not be protected
     already done: Menu 'Tools -> Protect Document -> Sheet -> <ok>
2. Toggle Menu 'Viewing -> Values Highlighting'
   With highlighting activated all protected cells will show grey background

I never saw that in an other way (since OOo 1.1.4), but I can't see the advantage of that behavior. Bug or feature, that is the question here.
Comment 8 Pfuschi 2012-04-01 06:10:15 UTC
I consider this to be a bug:

- Value Highlighting gives me some important information about cells:
	. value directly entered – eventually used for calculation (blue)
	. value derived by formula, cell should not be changed (destroyed) by entering a data value – except on purposely changing formula (green)
	. locked cells, that cannot be changed, when sheet is 'in use', i.e. is protected (shaded)
	. unlocked cells that are used for data entry and may be colour indicated (blue, no shading, eventual conditional or unconditional background colour)

- Conditional colouring of cell background gives me information according to the condition, e.g. minimum value, maximum value of values to be compared.

Conditional or unconditional background colour must not be dependent on Value Highlighting; especially can a conditional format be underlaid to a calculated cell value that is – for good reason - locked. In any case would I like to see, if the condition is met, expressly when the sheet is locked.
Also would I want to see a background colour on cells used for data entry.

(Note: the provided sample does not show all this, but I did not want to see in public more complex sheets I also own.)
Comment 9 Joel Madero 2012-11-21 19:14:12 UTC
I am going to mark as NEW as Rainer has confirmed but I'm not going to prioritize as previous QA'er is already involved.

Thanks for reporting and for being patient as we triage.
Comment 10 Rainer Bielefeld Retired 2013-01-24 05:32:40 UTC
(In reply to comment #7)
Version changed
Comment 11 Rainer Bielefeld Retired 2013-02-15 06:53:17 UTC
Help: "Text cells are formatted in black, formulas in green, and number cells in blue, no matter how their display is formatted."

So it's not totally unexpected that user defined background will be ignored.

Let's wait for results in "Bug 60875 - LOCALHELP incomplete for Menu 'View - Value Highlighting' of protected cells"
Comment 12 Rainer Bielefeld Retired 2013-02-15 06:55:24 UTC
BTW, I don't think that it's a good idea that community should expect a fix (Status=NEW) for every effect I do not understand ;-)
Comment 13 Rainer Bielefeld Retired 2013-03-05 07:02:46 UTC
Due to <https://bugs.freedesktop.org/show_bug.cgi?id=60875#c2>
Comment 14 tomber 2021-07-01 05:25:25 UTC Comment hidden (spam)