[Libreoffice-ux-advise] [Bug 82802] conditional style with no conditions is displayed as un-conditional style after reloading document
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Tue Oct 23 20:58:56 UTC 2018
https://bugs.documentfoundation.org/show_bug.cgi?id=82802
--- Comment #14 from Kaue <kauenegrao at gmail.com> ---
(In reply to Regina Henschel from comment #8)
> I see the problem even the condition is set immediately and works while
> first working on the document. After save and reload the condition is gone.
>
> To reproduce:
> Define a style "Red" from Default, that has a red font color.
> Define a style "Blue" from Default, that has a blue font color.
> Start defining a style "ConditionCaller" from Default. Go to tab Condition
> and mark "Conditional Style". Apply the style "Red" to the condition "Table
> Header" and the style "Blue" to "Table". OK
> Insert a table e.g. 2 columns and 4 rows with table header and some dummy
> text.
> Mark the whole table and apply your newly defined style "ConditionCaller".
> Notice that the text in the first row of the table becomes red and in the
> other cells blue.
> Save the document.
> Reload.
> Notice that the colors are lost.
>
> If you look into the file, you will see, that there are no <style:map>
> elements, which would be needed for a conditional style.
>
> This happens too, if you the set the conditions in the style "Text body".
>
> I have used Version: 5.2.6.2
> Build ID: a3100ed2409ebf1c212f5048fbe377c281438fdc
> CPU Threads: 4; OS Version: Windows 6.1; UI Render: default;
> Locale: de-DE (de_DE); Calc: group
The procedure described now works, but conditions set in the "Text body" style
are still not working (they disappear after reloading the document) on 6.1.1.2
(x64, Windows 10).
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Libreoffice-ux-advise
mailing list