https://bugs.kde.org/show_bug.cgi?id=526764

Akseli Lahtinen <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|https://invent.kde.org/plas |https://invent.kde.org/plas
                   |ma/union/-/commit/164a6222c |ma/union/-/commit/b36644308
                   |5ed71123e38c9b3c524f4ef41b2 |5d80f9d1f36c9b6b39c99349396
                   |4c75                        |72f6

--- Comment #8 from Akseli Lahtinen <[email protected]> ---
Git commit b366443085d80f9d1f36c9b6b39c9934939672f6 by Akseli Lahtinen.
Committed on 15/10/2026 at 14:53.
Pushed by akselmo into branch 'Plasma/6.8'.

CheckBox/RadioButtonElement: Don't draw as a push button without a widget

Without a widget, prepareElements() guesses the element from the style
option type. Check boxes and radio buttons share QStyleOptionButton with
push buttons, so when drawn without a widget, as qqc2-desktop-style does,
they got the Button rules and showed up as a button frame over the label.
Let elements override that fallback, since the element knows what it is.
FIXED-IN: 6.8.1


(cherry picked from commit 164a6222c5ed71123e38c9b3c524f4ef41b24c75)

Co-authored-by: Oleg Tsvetkov <[email protected]>

M  +6    -1    src/output/qtwidgets/elements/AbstractElement.cpp
M  +6    -0    src/output/qtwidgets/elements/AbstractElement.h
M  +7    -0    src/output/qtwidgets/elements/CheckBoxElement.cpp
M  +1    -0    src/output/qtwidgets/elements/CheckBoxElement.h
M  +7    -0    src/output/qtwidgets/elements/RadioButtonElement.cpp
M  +1    -0    src/output/qtwidgets/elements/RadioButtonElement.h

https://invent.kde.org/plasma/union/-/commit/b366443085d80f9d1f36c9b6b39c9934939672f6

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to