Bug 440022

Summary: PC3 RoundButton needs to be reworked
Product: [Frameworks and Libraries] libplasma Reporter: Noah Davis <noahadvs>
Component: componentsAssignee: Marco Martin <notmart>
Status: CONFIRMED ---    
Severity: normal CC: nate, plasma-bugs-null
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Noah Davis 2021-07-19 03:05:18 UTC
SUMMARY
Not sure this can be done without breaking changes, but PC3 RoundButton is just not good.  I'm just noting it here for the future. It needs a number of changes:

- Width needs to be able to expand or shrink without the background turning into an oval. Could be done with FrameSvg, but the svg RoundButton currently uses ("widgets/actionbutton") is not an SVG suitable for FrameSvg. A new SVG is needed.
- Overall size needs to be able to expand or shrink without increasing or decreasing the size of certain details such as borders. Strongly related to the previous issue.
- Corners need to stay rounded when RoundButton has text.
- Implicit size calculation needs to be reworked to be consistent with other buttons. This is easy, except that it requires fixing the 1st and 2nd issues in order to look right.
- Radius property should work. Is this incompatible with SVG theming?