Bug 91230 - Help statement about Conditional Formatting not comprehensible (LO Calc)
Summary: Help statement about Conditional Formatting not comprehensible (LO Calc)
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Documentation (show other bugs)
Version:
(earliest affected)
4.4.3.2 release
Hardware: Other Windows (All)
: medium normal
Assignee: Rafael Lima
URL:
Whiteboard: target:7.4.0
Keywords:
Depends on:
Blocks:
 
Reported: 2015-05-11 20:17 UTC by gmarco
Modified: 2022-04-06 13:13 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Example File (71.83 KB, application/vnd.oasis.opendocument.graphics)
2021-03-31 12:23 UTC, Rafael Lima
Details

Note You need to log in before you can comment on or make changes to this bug.
Description gmarco 2015-05-11 20:17:26 UTC
I show that in help "https://help.libreoffice.org/Calc/Conditional_Formatting" there is an incomprehensible statement:
"Conditional Formatting - Choose Conditional Formatting to define format styles depending on certain conditions. If a style was already assigned to a cell, it remains unchanged. .... ".
I can't understand what the last sentence means, beeing usual changing a condition style to a cell having still one.
It would seem a false statement but it could hide some limitation that would otherwise better clarified.
Comment 1 Buovjaga 2015-05-15 16:34:48 UTC
I guess it could use clarification -> NEW.
Comment 2 Adolfo Jayme Barrientos 2015-12-08 20:23:25 UTC
@gmarco: What do you suggest to put there instead? To me, the sentence is quite clear.
Comment 3 gmarco 2015-12-09 10:07:01 UTC
(In reply to Adolfo Jayme from comment #2)
> @gmarco: What do you suggest to put there instead? To me, the sentence is
> quite clear.

Hi, as I don't understand the meaning, I cannot suggest anything.
If, for you, is quite clear, may you please explain?
In IT too, my language (Se a una cella è stato già assegnato uno stile, questo non viene modificato. Lo stile inserito qui viene poi valutato) the meaning is for me incomprehensible: if a cell already has an assigned style then I cannot change that style assigning a different one? It will be after evaluated (!?!)
Comment 4 QA Administrators 2017-01-03 19:46:31 UTC Comment hidden (obsolete)
Comment 5 gmarco 2017-01-04 08:22:21 UTC
(In reply to QA Administrators from comment #4)

NO change, still present in LO 5.2.3.3 SO Win10.
What is th meaning about: "If a style was already assigned to a cell, it remains unchanged. The style entered here is then evaluated." ?
Comment 6 Rafael Lima 2021-03-31 12:23:09 UTC
Created attachment 170854 [details]
Example File

FYI, the Help page is:
https://help.libreoffice.org/7.2/en-US/text/scalc/01/05120000.html?&DbPAR=CALC&System=UNIX

And the sentence that originated this discussion is still there.

I believe the sentence is not wrong, but it deserves some clarification.

What it means is that if you had applied a Style to a cell, this Style setting is not lost even if you use conditional formatting.

I attached an example to demonstrate:
1) I created a range with numbers from 0 to 100
2) I applied the "Result" style to all cells
3) Later I added a condition to mark with the Style "good" all cells greater than 50
4) Then, if you click any of the cells affected by the conditional formatting, you'll notice that they "remember" the "Result" style
5) If you remove the conditional formatting of these cells, you'll see that they return to the "Result" style
Comment 7 Olivier Hallot 2022-01-12 19:14:44 UTC
@Rafael please proceed with your suggestion.

Further info: the Cell object has separate properties for styles

"Cell Style" contains the applied style

and

"ConditionalFormat", "ConditionalFormatLocal", "ConditionalFormatXML" which describe the conditional format of the cell.

Conditional formats overrides cell style, but does not *overwrites* it.
Comment 8 Rafael Lima 2022-01-13 00:11:15 UTC
Proposed patch available for review at:
https://gerrit.libreoffice.org/c/help/+/128337
Comment 9 Commit Notification 2022-01-13 12:11:42 UTC
Rafael Lima committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/help/commit/5d3d7401d26288e8bc7eb984dcd714590bc72e82

tdf#91230 Improve description of Conditional Formatting