Bug 522377 - Color picker widget size regression
Summary: Color picker widget size regression
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Color Picker widget (other bugs)
Version First Reported In: 6.7.0
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: regression
Depends on:
Blocks:
 
Reported: 2026-06-29 07:37 UTC by ZekeZ
Modified: 2026-07-13 20:15 UTC (History)
3 users (show)

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


Attachments
Tiny buttons on color picker with multiple previews (3.53 KB, image/png)
2026-07-01 13:22 UTC, cwo
Details
Expected Layout (2 previews it looks correct) (5.18 KB, image/png)
2026-07-05 16:55 UTC, ZekeZ
Details
No Previews makes a massive button (5.27 KB, image/png)
2026-07-05 16:56 UTC, ZekeZ
Details
Many Previews becomes very small (5.06 KB, image/png)
2026-07-05 16:57 UTC, ZekeZ
Details
Default Padding is inconsistent (4.77 KB, image/png)
2026-07-05 16:58 UTC, ZekeZ
Details
Odd behaviour on auto fit panel (27.49 KB, image/png)
2026-07-05 17:01 UTC, ZekeZ
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ZekeZ 2026-06-29 07:37:10 UTC
DESCRIPTION
After updating my plasma version the color picker widgets in my panel became smaller then before and seem to be limited to the prior to preview eyedropper square size.

STEPS TO REPRODUCE
1. Create a color picker widget
2. Increase Preview count

OBSERVED RESULT
The color picker continues to reduce in size staying staying in the same initial square.

EXPECTED RESULT
The color picker should increase in horizontal (or vertical on side panel) size rougly proportional to the original square + margin between the previews.

SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 44
KDE Plasma Version: 6.7.1
KDE Frameworks Version: 6.27.0
Qt Version: 6.11.1
Comment 1 Nate Graham 2026-06-29 13:36:17 UTC
This is fixed in Plasma 6.7.2, which will be released tomorrow. Sorry for the regression!
Comment 2 cwo 2026-07-01 13:22:38 UTC
Created attachment 193937 [details]
Tiny buttons on color picker with multiple previews

(In reply to Nate Graham from comment #1)
> This is fixed in Plasma 6.7.2, which will be released tomorrow. Sorry for
> the regression!

Are you sure that it's fixed? I can still reproduce it on a fresh build of master.
Comment 3 ZekeZ 2026-07-05 16:55:13 UTC
Created attachment 194038 [details]
Expected Layout (2 previews it looks correct)
Comment 4 ZekeZ 2026-07-05 16:56:05 UTC
Fedora just shipped 6.7.2 and its sorta fixed for the default 1 preview layout. However the 0 preview is now massive and >2 previews are still rather small.

Now I think the direct regression may have been fixed I honestly never scrutinized the color picker that much before now, however there is still things I would consider issues that I mentioned in the original bug report.

The right margin on the picker button and the seperator line is also inconsistent with the left margin on the color preview buttons.

Expected:
The picker with 2 preview currently exhibits the behavior I would expect with a square button for each with consistent sizing and spacing.

Ive attached images showing the still persisting issues.
Comment 5 ZekeZ 2026-07-05 16:56:34 UTC
Created attachment 194039 [details]
No Previews makes a massive button
Comment 6 ZekeZ 2026-07-05 16:57:19 UTC
Created attachment 194040 [details]
Many Previews becomes very small
Comment 7 ZekeZ 2026-07-05 16:58:03 UTC
Created attachment 194041 [details]
Default Padding is inconsistent
Comment 8 ZekeZ 2026-07-05 17:01:51 UTC
Created attachment 194042 [details]
Odd behaviour on auto fit panel

Was just about to sleep but got hit with the color picker randomly expanding the panel. 

Not 100% sure what caused it and if its related to the colorpicker or another bug with the panel.

I have seen the icons only task manager shrink in my auto fit panel before so could be related to that seperate bug, idk.
Comment 9 Tobias Fella 2026-07-08 12:49:19 UTC
Git commit 1de1cd5975a0102103dfb5c293d7eec698dcfce1 by Tobias Fella.
Committed on 08/07/2026 at 12:25.
Pushed by tfella into branch 'master'.

Fix colorpicker button sizing

M  +2    -2    applets/colorpicker/qml/ColorCircle.qml
M  +10   -4    applets/colorpicker/qml/CompactRepresentation.qml

https://invent.kde.org/plasma/kdeplasma-addons/-/commit/1de1cd5975a0102103dfb5c293d7eec698dcfce1
Comment 10 Tobias Fella 2026-07-10 10:37:03 UTC
Git commit 536464336578648e33238b9f358ac2e6601271f5 by Tobias Fella.
Committed on 10/07/2026 at 10:31.
Pushed by tfella into branch 'Plasma/6.7'.

Fix colorpicker button sizing
(cherry picked from commit 1de1cd5975a0102103dfb5c293d7eec698dcfce1)

M  +2    -2    applets/colorpicker/qml/ColorCircle.qml
M  +10   -4    applets/colorpicker/qml/CompactRepresentation.qml

https://invent.kde.org/plasma/kdeplasma-addons/-/commit/536464336578648e33238b9f358ac2e6601271f5
Comment 11 cwo 2026-07-13 19:43:09 UTC
Git commit c2e569561e9a068a312e601b6dc8a79bc016bc16 by Christoph Wolk.
Committed on 13/07/2026 at 19:21.
Pushed by cwo into branch 'master'.

applets/colorpicker: allow space for all previews

The colorpicker compactRepresentation allows the user to show up to 9
ColorCircle previews as a configuration setting. The
compactRepresentation has a maximum limit for height and width as three
times the other dimension (which determines the regular button height).
We end up trying to squish up to 9 preview circles into the space, which
causes them to reduce to useless sizes that can't be clicked.

Instead, set the size limits dynamically based on the configured number
of previews. We also set the implicit sizes accordingly, as there are
situations where the panel may otherwise resize it the same way even
with a sufficient maximum size.

M  +5    -2    applets/colorpicker/qml/CompactRepresentation.qml

https://invent.kde.org/plasma/kdeplasma-addons/-/commit/c2e569561e9a068a312e601b6dc8a79bc016bc16
Comment 12 cwo 2026-07-13 20:15:24 UTC
Git commit ca90ddee0362e07831d7c9dad9ea880e771f546a by Christoph Wolk.
Committed on 13/07/2026 at 19:52.
Pushed by cwo into branch 'Plasma/6.7'.

applets/colorpicker: allow space for all previews

The colorpicker compactRepresentation allows the user to show up to 9
ColorCircle previews as a configuration setting. The
compactRepresentation has a maximum limit for height and width as three
times the other dimension (which determines the regular button height).
We end up trying to squish up to 9 preview circles into the space, which
causes them to reduce to useless sizes that can't be clicked.

Instead, set the size limits dynamically based on the configured number
of previews. We also set the implicit sizes accordingly, as there are
situations where the panel may otherwise resize it the same way even
with a sufficient maximum size.


(cherry picked from commit c2e569561e9a068a312e601b6dc8a79bc016bc16)

Co-authored-by: Christoph Wolk <cwo.kde@posteo.net>

M  +5    -2    applets/colorpicker/qml/CompactRepresentation.qml

https://invent.kde.org/plasma/kdeplasma-addons/-/commit/ca90ddee0362e07831d7c9dad9ea880e771f546a