[Libreoffice-bugs] [Bug 137166] Conditional paragraph style not saved

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Thu Dec 3 08:36:45 UTC 2020


https://bugs.documentfoundation.org/show_bug.cgi?id=137166

Justin L <jluth at mail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
     Ever confirmed|0                           |1
           Keywords|                            |bibisected
             Status|UNCONFIRMED                 |NEW

--- Comment #6 from Justin L <jluth at mail.com> ---
Conditional styles in Writer is new to me.
I found it when editing the paragraph style - a Condition tab is there (already
since at least LO 3.5!).

If, with a new/clean user profile, I open LibreOffice and set the paragraph
style filter to only show "Conditional" styles, I already see Text Body. When I
modify that paragraph style, the checkbox for "Conditional Style" is checked,
but disabled. (And that seems true for any style that enables "conditional
styles".)

As OP says - in there you have to map a Context with a style - and then press
"Apply" to create the mapping.  (What effect it has I don't know because I
couldn't see any change in my document under those contexts...)

So - in the end I confirm what OP says. The mapping is still there in a new
style that I create, but in "Text Body", any mapping is lost. (I notice that no
other built-in styles have the option to set a conditional style.)

It worked up until LO 5.2. Unfortunately, I don't yet have the per-commit
bibisect for 5.2, so the problem started in the range
https://cgit.freedesktop.org/libreoffice/core/log/?qt=range&q=125cdf3404e60cf78f2a5547e9a06ce994df5c8e..7041701edc6274eaa9df4dae970452131f76e433

Not yet calling this a regression, because I don't know if TextBody should be
allowed to have a conditional state.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20201203/946e8bcb/attachment.htm>


More information about the Libreoffice-bugs mailing list