Summary: | Conditional formatting is applied as direct format rather than a style | ||
---|---|---|---|
Product: | LibreOffice | Reporter: | Heiko Tietze <heiko.tietze> |
Component: | Calc | Assignee: | Not Assigned <libreoffice-bugs> |
Status: | RESOLVED NOTABUG | ||
Severity: | normal | CC: | miguelangelrv |
Priority: | medium | ||
Version: | 5.4.0.0.alpha0+ | ||
Hardware: | All | ||
OS: | All | ||
See Also: | https://bugs.documentfoundation.org/show_bug.cgi?id=122697 | ||
Whiteboard: | |||
Crash report or crash signature: | Regression By: | ||
Bug Depends on: | |||
Bug Blocks: | 87351 | ||
Attachments: |
Picture or it didnt happen
Example |
Description
Heiko Tietze
2017-04-25 15:13:42 UTC
Hi @Heiko, could be easy attaching a sample file. Created attachment 132948 [details]
Example
Conditional formatting with Cell Style = Bad for values below 0.5. Column B has some cells with formatting Good, in column C all cells are styled as Warning. Press ctrl+R to see the conditional formatting overriding the user style.
I don't know if I understand right the question, but if it is that the style showed on the side bar it's still the one that cells have without the CF, not the applied by CF, I can confirm the issue. It never works on any version of LIbreOffice (I have tested with several since the first) I'm not able to find now, but I think it was reported before. (In reply to m.a.riosv from comment #3) > I don't know if I understand right the question, but if it is that the style > showed on the side bar it's still the one that cells have without the CF, > not the applied by CF, I can confirm the issue. CF pretends to 'apply a style' but does format directly. Ordinary users do not exactly understand what styles are so we make this crystal clear wherever we can. Solution A: Apply a style per cell Solution B: Change the text to "Apply formatting", or the like (suboptimal since it offers styles) (In reply to Heiko Tietze from comment #4) > (In reply to m.a.riosv from comment #3) > > I don't know if I understand right the question, but if it is that the style > > showed on the side bar it's still the one that cells have without the CF, > > not the applied by CF, I can confirm the issue. > > CF pretends to 'apply a style' but does format directly. Ordinary users do > not exactly understand what styles are so we make this crystal clear > wherever we can. > > Solution A: Apply a style per cell > Solution B: Change the text to "Apply formatting", or the like (suboptimal > since it offers styles) This is a misconception on your side. Conditional format should exactly not change the existing style of the cell. A conditional format only applies its own style if the condition is met. The existing cell style is still retained and will be applied again when the condition is not met any more. |