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

Oleg Tsvetkov <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
      Latest Commit|                            |https://invent.kde.org/plas
                   |                            |ma/union/-/commit/164a6222c
                   |                            |5ed71123e38c9b3c524f4ef41b2
                   |                            |4c75
            Version|                            |6.8.1
  Fixed/Implemented|                            |
                 In|                            |
             Status|ASSIGNED                    |RESOLVED

--- Comment #7 from Oleg Tsvetkov <[email protected]> ---
Git commit 164a6222c5ed71123e38c9b3c524f4ef41b24c75 by Oleg Tsvetkov.
Committed on 15/10/2026 at 13:27.
Pushed by akselmo into branch 'master'.

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

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/164a6222c5ed71123e38c9b3c524f4ef41b24c75

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

Reply via email to