Bug 138305 - Styles Inspector does not show hierarchical character styles
Summary: Styles Inspector does not show hierarchical character styles
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.1.0.0.alpha1+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Style-Inspector
  Show dependency treegraph
 
Reported: 2020-11-18 09:18 UTC by Heiko Tietze
Modified: 2023-08-19 11:30 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:


Attachments
Screenshot (40.72 KB, image/png)
2020-11-18 09:18 UTC, Heiko Tietze
Details
Screenshot of style inspector and formatted dummy text (92.07 KB, image/jpeg)
2020-12-04 07:45 UTC, Dieter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Heiko Tietze 2020-11-18 09:18:06 UTC
Created attachment 167385 [details]
Screenshot

Use 'Formatted Dummy Text' extension (or add some CS on top of another) with derived attributes and find the derived property not shown in the SI.

In the example, "Eins/1." has a CS German with font effect underline single green. "French" CS is derived from this CS (create from at this style or drag and drop).
Comment 1 Dieter 2020-12-04 07:45:34 UTC
Created attachment 167812 [details]
Screenshot of style inspector and formatted dummy text

I used 'Formatted Dummy Text' (thank you for that hint), but style inspector doesn't show any character styles.
Comment 2 Heiko Tietze 2020-12-04 07:56:43 UTC
Is the cursor in the list? There should be at least some direct formatting for the list ID.
Comment 3 Dieter 2020-12-04 08:41:30 UTC
(In reply to Heiko Tietze from comment #2)
> Is the cursor in the list? There should be at least some direct formatting
> for the list ID.

Sorry, I'm actually not familiar enough with Style Inspector. Now I confirm it. But I would also ask about the expected result. I would expect, that hierarchy is displayed in the same way as in hierarchical view in the style tab of the sidebar. PS in style inspector doesn't display it in that way (as far as I can see). and makes it more unclear to me.
Comment 4 Heiko Tietze 2020-12-04 08:46:01 UTC
Actually I'm surprised that it works. Nested character styles are requested in bug 115311. Regarding the SI I expect the hierarchy to be shown like with PS- all CSs are listed but overridden attributes greyed out.
Comment 5 Eyal Rozenberg 2020-12-04 08:54:24 UTC Comment hidden (off-topic)
Comment 6 Mike Kaganski 2020-12-04 09:00:12 UTC
(In reply to Heiko Tietze from comment #4)
> Regarding the SI I expect the hierarchy to be shown like with
> PS- all CSs are listed but overridden attributes greyed out.

Note that for CS, unlike PS, *two* hierarchies exist at the same time:

* An inheritance hierarchy (the same as with PS); it indeed should be shown consistently with PS;
* A hierarchy of *nested text runs*. Actually, this hierarchy suggests nesting not only CS, but also direct CF, which would indeed complicate the layout ... but it's inevitable. We should think over the implementation of display for that.
Comment 7 Heiko Tietze 2020-12-04 09:06:01 UTC Comment hidden (off-topic)
Comment 8 QA Administrators 2023-08-11 03:05:39 UTC Comment hidden (obsolete)
Comment 9 Dieter 2023-08-19 11:30:34 UTC
Still present in

Version: 7.6.0.3 (X86_64) / LibreOffice Community
Build ID: 69edd8b8ebc41d00b4de3915dc82f8f0fc3b6265
CPU threads: 4; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: en-GB
Calc: CL threaded

Steps
1. Make sure, that "Formatted AutoText" Extension is installed
2. Insert dummy text (DTF-F3)
3. Place cursor at "Un / 1ᵉʳ" CS is French (inherited from CS German)
4. Open Style inspector

Actual result:
Only CS French is displayed in Style inspector

Expected result:
Also CS German is displayed in Style inspector (should be the same as wit PS)