Bug 503305 - Some Plasma Style paddings don't update on Style change until plasmashell is restarted
Summary: Some Plasma Style paddings don't update on Style change until plasmashell is ...
Status: CONFIRMED
Alias: None
Product: plasmashell
Classification: Plasma
Component: general (other bugs)
Version First Reported In: 6.3.4
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-04-24 18:49 UTC by tramonti.luca18
Modified: 2025-12-16 21:40 UTC (History)
5 users (show)

See Also:
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 (164.69 KB, image/png)
2025-04-24 18:49 UTC, tramonti.luca18
Details

Note You need to log in before you can comment on or make changes to this 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. ***