Bug 505347 - Separate window title font size from window button size
Summary: Separate window title font size from window button size
Status: RESOLVED INTENTIONAL
Alias: None
Product: Breeze
Classification: Plasma
Component: window decoration (other bugs)
Version First Reported In: 6.3.5
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-06-08 14:07 UTC by Tech-Tac
Modified: 2025-06-09 15:38 UTC (History)
5 users (show)

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


Attachments
Large title font (76.06 KB, image/png)
2025-06-08 14:09 UTC, Tech-Tac
Details
Small title font (62.35 KB, image/png)
2025-06-08 14:10 UTC, Tech-Tac
Details
Large deco buttons (58.55 KB, image/png)
2025-06-08 14:10 UTC, Tech-Tac
Details
Small deco buttons (56.53 KB, image/png)
2025-06-08 14:10 UTC, Tech-Tac
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tech-Tac 2025-06-08 14:07:33 UTC
SUMMARY
Changing the window title font size in the fonts KCM does seem to affect the title bar buttons size, which comes off as an unwanted side effect as title bar buttons already have a dedicated setting to change their size in the window decoration config window.

STEPS TO REPRODUCE
1. Open kcm_fonts
2. Change window title font size
3. Apply

OBSERVED RESULT
If the font size was increased, the whole title bar gets bigger, which is expected to fit the bigger text, but the buttons also get bigger which may or may not be wanted and may conflict with the dedicated setting to change their size in the decoration config.

Decreasing the font size poses a bigger problem because it makes the whole title bar and its buttons shrink down to potentially unusable sizes (https://bugs.kde.org/show_bug.cgi?id=505175).

One would expect a font setting to only change text not non-text controls like icons and buttons so why does this happen?

EXPECTED RESULT
Title bar buttons should only follow the dedicated sizing option in the window decoration settings, and the title bar should get its height from the taller of either the title text or the buttons so that both fit.

SOFTWARE/OS VERSIONS
KDE Plasma Version: 6.3.5
KDE Frameworks Version: 6.14.0
Qt Version: 6.9.0
Comment 1 Tech-Tac 2025-06-08 14:09:55 UTC
Created attachment 182097 [details]
Large title font
Comment 2 Tech-Tac 2025-06-08 14:10:09 UTC
Created attachment 182098 [details]
Small title font
Comment 3 Tech-Tac 2025-06-08 14:10:25 UTC
Created attachment 182099 [details]
Large deco buttons
Comment 4 Tech-Tac 2025-06-08 14:10:38 UTC
Created attachment 182100 [details]
Small deco buttons
Comment 5 David Edmundson 2025-06-09 13:01:55 UTC
This would be making things too complex for a niche preference. Sorry