Character Styles is misleading showing a font name (while it's actually inherited)
Steps to Reproduce:
1. Open Writer
2. Sidebar -> Styles -> Paragraph Style -> Right click default page style -> Modify
3. Font tab -> set font to Linux Biolinum G
4. Press OK
5. Type some text.. select a part of it
6. Sidebar -> Styles -> Character style -> Apply Strong Emphasis
7. Observe the font still being Linux Biolinum G (expected)
8. Right Click Strong Emphasis & click Modify
9. Font tab -> Notice the font being "Liberation Serif"
CS style shows "Liberation Serif"
An indicator that's inherited.. not a random font which isn't applied at all
User Profile Reset: No
Version: 126.96.36.199.alpha0+ (x64)
Build ID: 1e0cfd5662d95cea84e80e4fe10d52c3b1101ae6
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win
Locale: nl-NL (nl_NL); UI: en-US
I notice this bug everyday. It semns never worked.
Yes, this enhancement would make it more clear. However, the CS is first of all a style independently from the actual PS. You can, for example, also edit a CS that is not yet applied. That's also why CS has no WYSIWYG font when preview is on (unlike PS). So it's likely a WF: CS has no hierarchy, and no parent until it is used.
We definitely need a way to mark inherited values in style dialogs.
(In reply to Heiko Tietze from comment #2)
> Yes, this enhancement would make it more clear. However, the CS is first of
> all a style independently from the actual PS. You can, for example, also
> edit a CS that is not yet applied. That's also why CS has no WYSIWYG font
> when preview is on (unlike PS). So it's likely a WF: CS has no hierarchy,
> and no parent until it is used.
Which would mean a new (place holder 'font') called inherited ;-). They CS style obviously not show any 'font'; as which font it is depends on PS. Except if the CS style defines a specific font (overriding the PS).
Currently CS style look show up as if they are overriding PS styles, which isn't the case.
Some hols of course try for nearly every setting.. And I'm gonna point to may bad idea (bug 135878) again.. (for a direction)...
And already a warning in advance.. they way this is solved ... will probably requests as solution the DF toolbar too (bug 135878).
What is meant by "initialize" in the subject? Currently we have "use the default character settings in the paragraph style, if neither the character style itself nor any of the parents of the character style has set the property".
*** Bug 152537 has been marked as a duplicate of this bug. ***
Bug 152537 was also about the *wrong* font being used for line numbers. It keeps the previous font from Default Paragraph Style.