Conditional style turned into non-conditional

Discuss the word processor
Post Reply
john1320
Posts: 70
Joined: Mon Jun 12, 2017 8:22 pm

Conditional style turned into non-conditional

Post by john1320 »

I can't understand, why my conditional styles are stopped working after the document was closed and then reopened.

Example.

I create new custom style, based on Text Body. I go to properties of this styles, and make it conditional:
conditional1.PNG
And it works fine. I moved cursor inside table, pressed Ctrl-A to select all cells of the table, and then clicked MyCustomStyle in the left pane. Also, as you can see, this custom style is listed as conditional style (right bottom corner of screenshot).
conditional2.PNG
But, after I save, close, and reopen file, all is gone! The conditions disappeared, and also the style even is not listed as condtitional. See the screenshot:
conditional3.PNG
Is it a bug or my fault?

I tested it several times (with different documents), and the result is the same. One of test files is attached to my next message. Also: never tried it with OO, it was tested only in Libre.
Last edited by john1320 on Fri Jul 07, 2017 10:09 pm, edited 3 times in total.
LibreOffice 5.2.7 on Windows 7
User avatar
Zizi64
Volunteer
Posts: 11505
Joined: Wed May 26, 2010 7:55 am
Location: Budapest, Hungary

Re: Conditional style turned into non-conditional

Post by Zizi64 »

What filetype are you using?
Can you upload your sample file here?
Tibor Kovacs, Hungary; LO7.5.8/25.8.5.2 /Win7-10-11 x64Prof.
PortableApps: LO3.3.0-25.8.5.2;AOO4.1.14
Please, edit the initial post in the topic: add the word [Solved] at the beginning of the subject line - if your problem has been solved.
john1320
Posts: 70
Joined: Mon Jun 12, 2017 8:22 pm

Re: Conditional style turned into non-conditional

Post by john1320 »

Zizi64 wrote:What filetype are you using?
Can you upload your sample file here?
I tried it with ODT. Here is a file:
Attachments
conditional_styles.odt
(9.25 KiB) Downloaded 101 times
LibreOffice 5.2.7 on Windows 7
User avatar
Zizi64
Volunteer
Posts: 11505
Joined: Wed May 26, 2010 7:55 am
Location: Budapest, Hungary

Re: Conditional style turned into non-conditional

Post by Zizi64 »

It works for me in my LO 4.4.7:
ConditionalStyle.png
conditional_styles.odt
(13.3 KiB) Downloaded 129 times
Tibor Kovacs, Hungary; LO7.5.8/25.8.5.2 /Win7-10-11 x64Prof.
PortableApps: LO3.3.0-25.8.5.2;AOO4.1.14
Please, edit the initial post in the topic: add the word [Solved] at the beginning of the subject line - if your problem has been solved.
john1320
Posts: 70
Joined: Mon Jun 12, 2017 8:22 pm

Re: Conditional style turned into non-conditional

Post by john1320 »

Zizi64 wrote:It works for me in my LO 4.4.7
Big thanks. For some reason, doesn't work in my LO 5.2.7.2. I also tried new user profile and enable/disable autocorrect. Not work.
Zizi.PNG
LibreOffice 5.2.7 on Windows 7
User avatar
Zizi64
Volunteer
Posts: 11505
Joined: Wed May 26, 2010 7:55 am
Location: Budapest, Hungary

Re: Conditional style turned into non-conditional

Post by Zizi64 »

And doesn't work in my LO 5.3.3 portable. But it works in my AOO 4.1.3 portable.

The LO 5.x.x versions have a new feature: the Writer Table Styles. Maybe it is a bug, related to the new feature...
Tibor Kovacs, Hungary; LO7.5.8/25.8.5.2 /Win7-10-11 x64Prof.
PortableApps: LO3.3.0-25.8.5.2;AOO4.1.14
Please, edit the initial post in the topic: add the word [Solved] at the beginning of the subject line - if your problem has been solved.
Post Reply