Bug 411524

Summary: A suggestion to change font style listing to default to "regular" rather than "bold" or "italic", upon choosing a new font
Product: [Applications] konsole Reporter: shevegen <shevegen>
Component: fontAssignee: Konsole Developer <konsole-devel>
Status: RESOLVED FIXED    
Severity: wishlist CC: bugseforuns, filip.kendes1, mglb
Priority: NOR Keywords: junior-jobs
Version: 19.08.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description shevegen 2019-09-02 12:02:02 UTC
This is not a "bug report", per se, but a slight feature
request; or, more accurately, a request to change a current
default behaviour.

Situation:

You can pick another font in KDE Konsole. I am using
19.08.01, compiled from source on linux. It works fine.

I typically use the font called "Hack". When I quickly
select this font, the drop-down listing for "Font Style"
has "italic" listed first, then "Bold Italic", then
"Bold", and then "Regular".

So I tend to not read what is written, assuming that
this refers to regular, so I select it. But instead I
wanted to pick "regular" instead.

I thus have two ALTERNATIVE suggestions to make:

- Either sort that list alphabetically, so that "bold
italic" and "bold" comes before "italic", then "regular".

The same would apply for "Fonts". I am not sure why it
is not sorted alphabetically. 

- Or, alternatively, my preference, would be to list 
there, at the least at font styles, regular as the
most commonly used setting, and default it to the top
listing. I may be wrong but I think this used to be
an old default, since I tend to re-use my old habits.
But I am not 100% certain.

Either way I think most users will prefer e. g. regular
over italic; and also regular over bold. Bold is not
that bad, but italic is ... quite annoying, IMO. I
think only very few users will prefer italic over
regular, so it may be better to have regular valued
over bold or italic.

At any rate I believe this may require a bit discussion
to reason in favour of the current default, or any
change in general, so that we can avoid ad-hoc changes
here. Something should be the default, so perhaps the
current behaviour also has some reasoning, although
I am not sure which one it would be.
Comment 1 Kurt Hindenburg 2019-09-02 16:09:09 UTC
I've thought about this as well.  I would agree regular should be the default when selecting a font.  I'm not sure it is possible ATM since we use KFontChooser.
Comment 2 Mariusz Glebocki 2019-09-30 21:19:13 UTC
It could be done by handling fontChanged signal (emitted when size/variant/font changes) and applying "regular" (or better - the same one as selected previously, i.e. when bold was selected, new font will have bold by default). Note that the signal emission must be blocked when variant is applied.
Comment 3 filip.kendes1 2024-05-09 17:38:34 UTC
Tested this in Konsole 24.02.2 and this issue seems to be resolved. Changing fonts now selects Regular font style by default.
Closing as RESOLVED/FIXED