Bug 138034 - Popup Character Style, Tab. "Font": Selected Font irritating
Summary: Popup Character Style, Tab. "Font": Selected Font irritating
Status: RESOLVED NOTABUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.0.3.1 release
Hardware: x86-64 (AMD64) Windows (All)
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-11-06 11:14 UTC by canned
Modified: 2020-11-21 19:07 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description canned 2020-11-06 11:14:42 UTC
Description:
Suggestion for improvement of the character style popup:

Actual Results:
When a new character format is created, it is irritating that a font is selected in the "Font" tab (currently corresponding to the font of the standard character format). 

Expected Results:
More logical would be if: 
a) the font would not be filled (according to the principle: settings only show values that differ from the standard character format or the underlying paragraph format) 
b) or would correspond to the underlying paragraph format.


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 7.0.3.1 (x64)
Build ID: d7547858d014d4cf69878db179d326fc3483e082
CPU threads: 4; OS: Windows 6.1 Service Pack 1 Build 7601; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: de-DE
Calc: threaded
Comment 1 Dieter 2020-11-21 17:44:56 UTC
The new character style has the same font than the parent character style. For me this is logic.
So for me NOTABUG. Please feel free to change it back to UNCONFIRMED with a short reasoning, if you disagree.
Comment 2 Ming Hua 2020-11-21 19:07:41 UTC
I agree with Dieter's opinion, it's logical that the font shown in the Character Style dialog is the font of the parent character style.

Also, this comment from you

(In reply to canned from comment #0)
> Expected Results:
> b) or would correspond to the underlying paragraph format.
makes me wonder what exactly is bothering you.

Because as far as I understand, character style is rather independent from the paragraph style.  If you don't want your character style to change the font of the text that get its font set by paragraph style, it won't -- just don't touch the font tab when you are modifying the character style.

As an example, look at the built-in "Emphasis" character style, it only changes the font style from Regular to Italic, but doesn't specify the font name.  So no matter what font the paragraph is using (either from direct formatting, or from paragraph style), if you choose some text and apply "Emphasis" character style, it will just make them italic, but won't change the font name, leaving it the same font as their surroundings.

This can be also seen in the "Organizer" tab of the Character Style dialog, it lists all the changes the current style differs from its parent style.  Everthing else will not be changed.  If you don't explicitly set a new font in your new character style, you shouldn't see any font changes here, and the text applied with this character style shouldn't change its font.

Maybe the UI is a bit unintuitive here and caused some confusion.  But the underlying logic of LibreOffice's style system is quite clear and shouldn't be "irritating" to use.  If it is for you, please elaborate and we can figure out exactly what needs to be improved.