Bug 455098 - Cannot change the size of GTK fonts
Summary: Cannot change the size of GTK fonts
Status: RESOLVED INTENTIONAL
Alias: None
Product: Breeze
Classification: Plasma
Component: gtk theme (other bugs)
Version First Reported In: 5.24.4
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-06-09 19:34 UTC by Peter Lemieux
Modified: 2022-11-18 21:33 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Lemieux 2022-06-09 19:34:59 UTC
SUMMARY
I believe there was a dialog box in the earlier versions of the System Settings GTK control panel that enabled you to set the size of fonts for GTK applications. I no longer see such an option in recent versions.

Operating System: Kubuntu 22.04
KDE Plasma Version: 5.24.4
KDE Frameworks Version: 5.92.0
Qt Version: 5.15.3
Kernel Version: 5.15.0-33-generic (64-bit)
Graphics Platform: X11
Processors: 4 × Intel® Core™ i5-2410M CPU @ 2.30GHz
Memory: 11.6 GiB of RAM
Graphics Processor: Mesa Intel® HD Graphics 3000

STEPS TO REPRODUCE
1.  Go to System Settings > Appearance > Fonts
2. No GTK option.
3. Go to System Settings > GNOME/GTK style
4. No option to set font size.

OBSERVED RESULT
No option to set GTK font size.

EXPECTED RESULT
Dialogs to set GTK font size.
Comment 1 Artem Grinev 2022-06-09 20:00:06 UTC
(In reply to Peter Lemieux from comment #0)
> SUMMARY
> I believe there was a dialog box in the earlier versions of the System
> Settings GTK control panel that enabled you to set the size of fonts for GTK
> applications. I no longer see such an option in recent versions.
> 
> Operating System: Kubuntu 22.04
> KDE Plasma Version: 5.24.4
> KDE Frameworks Version: 5.92.0
> Qt Version: 5.15.3
> Kernel Version: 5.15.0-33-generic (64-bit)
> Graphics Platform: X11
> Processors: 4 × Intel® Core™ i5-2410M CPU @ 2.30GHz
> Memory: 11.6 GiB of RAM
> Graphics Processor: Mesa Intel® HD Graphics 3000
> 
> STEPS TO REPRODUCE
> 1.  Go to System Settings > Appearance > Fonts
> 2. No GTK option.
> 3. Go to System Settings > GNOME/GTK style
> 4. No option to set font size.
> 
> OBSERVED RESULT
> No option to set GTK font size.
> 
> EXPECTED RESULT
> Dialogs to set GTK font size.

GTK font settings are synced with Qt ones and there's no need to set GTK settings separately.
Comment 2 Nate Graham 2022-06-10 13:47:00 UTC
Indeed there was; that was before we automatically set the GTK font from your general KDE font settings. Now you only need to set the font size in one place to have a consistent experience, rather than two.
Comment 3 jkbmsk0 2022-11-18 21:26:48 UTC
Could you please bring the option back? This is the first time in decades when I'm unable to have the same font in Qt and GTK applications, because KDE doesn't let me have it. I'm using the default Breeze theme with the default Noto Sans font and the default 10pt size. And not only is the font size in GTK applications visibly (and measurably, I made a screenshot to compare) bigger than it is Qt,  but it looks like the font itself is different in GTK, more narrow, it doesn't look like the rounded Noto font used in Qt. I know GTK4 uses very different (and vastly inferior, IMO) font rendering from GTK3, GTK2 and Qt, but I'm using GTK3 and GTK2 apps, and I've never seen any difference between font rendering in Qt and GTK2/3 until now, when I upgraded to Kubuntu 22.10 with Plasma 5.25.5. So when KDE is unable to set the GTK fonts properly, I would still like to have the option to set it myself, to have a consistent desktop.

By the way, this is one of many cases where KDE is removing or lacking crucial options because it mistakenly thinks it does something properly and therefore no settings are needed.
Comment 4 Nate Graham 2022-11-18 21:33:08 UTC
It sounds like you're suffering from a bug. Please submit a new bug report describing it in detail so we can investigate it and fix it so that it works automatically, which is the intention. Thanks!