Bug 450243 - SVG Cache causes visual glitches when switching from a theme with different metrics
Summary: SVG Cache causes visual glitches when switching from a theme with different m...
Status: RESOLVED DUPLICATE of bug 448750
Alias: None
Product: libplasma
Classification: Frameworks and Libraries
Component: libplasma (show other bugs)
Version: 5.90.0
Platform: Neon Linux
: HI normal
Target Milestone: ---
Assignee: Marco Martin
URL:
Keywords:
: 458505 459002 465161 465455 473893 (view as bug list)
Depends on:
Blocks:
 
Reported: 2022-02-14 18:18 UTC by Riccardo Robecchi
Modified: 2023-12-13 10:07 UTC (History)
9 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Screenshot of the issue (47.05 KB, image/png)
2022-02-14 18:18 UTC, Riccardo Robecchi
Details
Plama SVG cache, maybe will help reproduce the issue (279.99 KB, text/plain)
2022-11-11 19:23 UTC, ratijas
Details
giant SVGs (50.37 KB, image/png)
2022-11-11 19:27 UTC, ratijas
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Riccardo Robecchi 2022-02-14 18:18:21 UTC
Created attachment 146725 [details]
Screenshot of the issue

SUMMARY
The battery plasmoid shows a large grey rectangle in its header, whichever theme is used. Removing the cache with "rm -r ~/.cache/*plasma*" fixes the issue (the leading * is necessary, otherwise the bug is still there), so this appears to be an issue with caching.

STEPS TO REPRODUCE
1. Click on the battery plasmoid

OBSERVED RESULT
There is a large grey rectangle.

EXPECTED RESULT
There is no large grey rectangle.

SOFTWARE/OS VERSIONS
Linux: KDE neon
KDE Plasma Version: 5.24.0
KDE Frameworks Version: 5.90.0
Qt Version: 5.15.3

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2022-02-14 18:20:41 UTC
This appears to be a corner case where the files didn't change on disk (which cas fixed in Bug 445516), but metrics are inherited from another theme incorrectly. We may want to invalidate the entire cache every time the Plasma theme is changed as well.
Comment 2 Nate Graham 2022-08-31 13:05:27 UTC
*** Bug 458505 has been marked as a duplicate of this bug. ***
Comment 3 Nate Graham 2022-09-20 19:41:49 UTC
*** Bug 459002 has been marked as a duplicate of this bug. ***
Comment 4 ratijas 2022-11-11 19:23:31 UTC
Created attachment 153680 [details]
Plama SVG cache, maybe will help reproduce the issue

I'm getting giant slider knobs, giant radio buttons and slightly think separator lines.
Comment 5 ratijas 2022-11-11 19:27:17 UTC
Created attachment 153681 [details]
giant SVGs

oh, and also giant (+) badge on stacked apps in task manager.

slider knob (handle) is exactly 40x40 px.
Comment 6 Nate Graham 2023-02-12 16:44:27 UTC
*** Bug 465455 has been marked as a duplicate of this bug. ***
Comment 7 Nate Graham 2023-02-21 20:21:13 UTC
*** Bug 465161 has been marked as a duplicate of this bug. ***
Comment 8 Nate Graham 2023-09-11 16:53:04 UTC
*** Bug 473893 has been marked as a duplicate of this bug. ***
Comment 9 Marco Martin 2023-12-13 10:07:51 UTC

*** This bug has been marked as a duplicate of bug 448750 ***