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

            Bug ID: 516542
           Summary: PlasmaComponents3.Switch doesn't update switch size
                    when theme is changed
    Classification: Frameworks and Libraries
           Product: libplasma
      Version First 6.6.80
       Reported In:
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: components
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
  Target Milestone: ---

Created attachment 189967
  --> https://bugs.kde.org/attachment.cgi?id=189967&action=edit
Test SVG to use for comparison with Breeze

SUMMARY
If we have themes that set different hints for the size of their switches,
changing between the two will leave us stuck on the sizing of the first one.
This can look bad. The workaround is to restart plasmashell, but the proper fix
is that the switch component updates its sizing on theme change.

STEPS TO REPRODUCE
1. Compare two themes that set different hints for switch size (attaching a
test svg to compare with Breeze)
2. Observe switch in the first theme and then change to the other theme
3. See that the switch is using the size of the previous theme

OBSERVED RESULT
Switch is using the sizing of the previous theme.

EXPECTED RESULT
Switch should update its sizing when the theme is changed.

SOFTWARE/OS VERSIONS
Operating System: Manjaro Linux 
KDE Plasma Version: 6.6.80
KDE Frameworks Version: 6.24.0
Qt Version: 6.10.1

ADDITIONAL INFORMATION
I have a test fix I'm going to submit in a matter of minutes.

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

Reply via email to