Description: Conditional style feature seems to be broken in version 7.2 as the chosen style is not applied either inside Table, Frame or Header (I didn't test every context). The feature is working in LibreOffice 6.4.0.0.beta1. Steps to Reproduce: 1. Define a new style (example: Style applied). 2. Create a new conditional style (example: Conditional Style) and choose table and frame for contexts, select the previous style as style applied. 3. Insert a table and a frame and write some text in both. 4. Apply the conditional style for both paragraphs. Actual Results: The paragraph style is not changed in both the table and the frame. Expected Results: The new style should be applied in both the table and the frame. Reproducible: Always User Profile Reset: Yes Additional Info: Version: 7.2.0.4 (x64) / LibreOffice Community Build ID: 9a9c6381e3f7a62afc1329bd359cc48accb6435b CPU threads: 4; OS: Windows 10.0 Build 19043; UI render: Skia/Raster; VCL: win Locale: en-US (fr_FR); UI: en-US Calc: threaded
Created attachment 174926 [details] Testcase document
Created attachment 174927 [details] Comparaison between version 6.4.4.0 and version 7.2.0.4
I confirm it with Version: 7.2.1.2 (x64) / LibreOffice Community Build ID: 87b77fad49947c1441b67c559c339af8f3517e22 CPU threads: 4; OS: Windows 10.0 Build 19043; UI render: Skia/Raster; VCL: win Locale: de-DE (de_DE); UI: en-GB Calc: CL
This seems to have begun at the below commit. Adding Cc: to Bjoern Michaelsen; Could you possibly take a look at this one? Thanks linux-64-7.1 3adb4413a5bfed8efbac8039cd0d7cb4aa712e05 is the first bad commit commit 3adb4413a5bfed8efbac8039cd0d7cb4aa712e05 Author: Jenkins Build User <tdf@pollux.tdf> Date: Tue Nov 3 00:56:24 2020 +0100 source 5f9650e54247f1c27749ad4e4268aae69dabd47e https://gerrit.libreoffice.org/c/core/+/105195 move SwCondCollCondChg on top of SfxHint
(In reply to phv from comment #1) > Created attachment 174926 [details] > Testcase document This testcase renders the text in the table in red on current master. What is needed to reproduce this?
(In reply to Björn Michaelsen from comment #5) > This testcase renders the text in the table in red on current master. What > is needed to reproduce this? 1. Insert a table and some text 2. Apply PS "Example: Conditional Style" Actual result: PS dropdown menu shows "Example: Conditional Style" and style inspector PS "Example: Applied Style". This would explain, why text is red Expected result: PS is "Example: Conditional Style" also in navigator.