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)
unspecified
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Styles_Inspector
  Show dependency treegraph
 
Reported: 2020-11-18 09:18 UTC by Heiko Tietze
Modified: 2021-02-01 19:11 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)