Bug 503305

Summary: Some Plasma Style paddings don't update on Style change until plasmashell is restarted
Product: [Plasma] plasmashell Reporter: tramonti.luca18
Component: generalAssignee: Plasma Bugs List <plasma-bugs-null>
Status: CONFIRMED ---    
Severity: normal CC: kaja2003, kde, nate, notmart, uhhadd
Priority: NOR    
Version First Reported In: 6.3.4   
Target Milestone: 1.0   
Platform: Fedora RPMs   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=513138
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: The default KDE Application Launcher looking completely broken (wrong outline widths, overlapping elements, broken paddings) as it is affected by the bug

Description tramonti.luca18 2025-04-24 18:49:54 UTC
Created attachment 180621 [details]
The default KDE Application Launcher looking completely broken (wrong outline widths, overlapping elements, broken paddings) as it is affected by the bug

SUMMARY
Various paddings, and even 9-slicing appear completely broken after switching back and forth from some themes, Breeze is affected too.

STEPS TO REPRODUCE
1. Change Plasma Style to a non-default theme (Utterly Round from Get New... makes it very noticeable),
2. Observe how various widgets have been slightly affected by the bug,
3. Log out
4. Log back in and it'll look as intended
5. Switch back to the Breeze Plasma Style
6. Things look even more broken since the padding differences are much more stark

OBSERVED RESULT
The entire plasma style breaks with wrong paddings or broken 9-slicing of the svgs

EXPECTED RESULT
The plasma style updates the elements correctly

SOFTWARE/OS VERSIONS
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma: Fedora Linux 42 Kinoite
KDE Plasma Version: 6.3.4
KDE Frameworks Version: 6.13.0
Qt Version: 6.9.0

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2025-04-25 11:15:58 UTC
Can reproduce the issue.
Comment 2 Nate Graham 2025-08-11 14:11:56 UTC
This is much improved with today's git master (perhaps due to https://invent.kde.org/frameworks/ksvg/-/merge_requests/68) but not fully fixed yet. I still see some things looking being wrong when switching to a theme with different metrics like Utterly Round or Qogir Dark. Scrollbars and list items are noticeably affected.

To reproduce it, you may need to clear the ~/.cache/*.kcache files, or even the whole cache folder.
Comment 3 Nate Graham 2025-12-12 20:08:44 UTC
*** Bug 513138 has been marked as a duplicate of this bug. ***