Bug 516413 - Text displayed out of the previews in Colors page of Colors & Themes settings with some non-default font settings
Summary: Text displayed out of the previews in Colors page of Colors & Themes settings...
Status: RESOLVED FIXED
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_colors (other bugs)
Version First Reported In: 6.6.0
Platform: Arch Linux Linux
: HI normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: regression
: 482613 517011 517592 (view as bug list)
Depends on:
Blocks:
 
Reported: 2026-02-20 19:05 UTC by Adithya S N
Modified: 2026-04-25 01:41 UTC (History)
7 users (show)

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


Attachments
Screenshot of the issue. (382.68 KB, image/png)
2026-02-20 19:05 UTC, Adithya S N
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Adithya S N 2026-02-20 19:05:27 UTC
Created attachment 189887 [details]
Screenshot of the issue.

SUMMARY
Texts are displayed out of the widget icons in Colors page of Colors & Themes settings. Only the last text in each of the icon is out of the widget

STEPS TO REPRODUCE
1. Open System Settings
2. Navigate to Colors & Themes option and then select the Colors option.
3. In the colors page see the text displayed out of the widgets.

OBSERVED RESULT
Text displayed outside of the widget.

EXPECTED RESULT
Text should be inside the widget.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma: Arch Linux (6.18.9-arch1-2 (64-bit))
KDE Plasma Version: 6.6.0
KDE Frameworks Version: 6.23.0
Qt Version: 6.10.2

ADDITIONAL INFORMATION
My display resolution is 2560*1600 with aspect ratio of 16:10 with 100% scaling.  I am using Breeze as my Application style as well as Plasma style. I am willing to provide any other additional information if required. Issue is also present in Dark theme.

I have also attached a screenshot of the issue
Comment 1 Nate Graham 2026-04-23 14:30:49 UTC
*** Bug 517592 has been marked as a duplicate of this bug. ***
Comment 2 Nate Graham 2026-04-23 14:30:51 UTC
*** Bug 517011 has been marked as a duplicate of this bug. ***
Comment 3 Nate Graham 2026-04-23 14:36:00 UTC
Looks like a regression from Bug 493687.

Will be fixed by https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/6521!
Comment 4 Akseli Lahtinen 2026-04-23 15:47:30 UTC
Git commit 085a01c831bd625450f6b7cb19192cdd40d08f32 by Akseli Lahtinen.
Committed on 23/04/2026 at 14:32.
Pushed by akselmo into branch 'master'.

colors/ui: Use fontMetrics to get the implicit cell size

Since we use a lot of text in these custom components,
with non-default text sizes the thumbnails can be too small
for the actual elements.

To make sure no text overflows, use fontMetrics to check for font
size and calculate the needed space accordingly.
FIXED-IN: 6.6.5

M  +6    -2    kcms/colors/ui/main.qml

https://invent.kde.org/plasma/plasma-workspace/-/commit/085a01c831bd625450f6b7cb19192cdd40d08f32
Comment 5 Nate Graham 2026-04-25 01:41:48 UTC
*** Bug 482613 has been marked as a duplicate of this bug. ***