Summary: | Cache-related visual glitches when Plasma theme SVGs or Plasma Components are updated | ||
---|---|---|---|
Product: | [Frameworks and Libraries] libplasma | Reporter: | Reiddragon <this.is.reid> |
Component: | libplasma | Assignee: | Marco Martin <notmart> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | alex.mitchenko, amitabh.piyush, bharadwaj.raju777, drikqlis, elman, eraygezer.94, fkrueger, kde, natalie_clarius, nate, noahadvs, nortexoid, oleg, pacbru123, plasma-bugs, postix, proletheus, swastiksayan2712 |
Priority: | VHI | ||
Version: | 5.87.0 | ||
Target Milestone: | --- | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
See Also: | https://bugs.kde.org/show_bug.cgi?id=450243 | ||
Latest Commit: | https://invent.kde.org/frameworks/plasma-framework/commit/fe9e118ff2212d48a0ea5fcc0346d6312978f3ed | Version Fixed In: | 5.89 |
Attachments: | slider nobs with the boxes |
Is this the plasma breeze theme? (In reply to David Redondo from comment #1) > Is this the plasma breeze theme? yes I have seen multiple reports of it. Clearing the Plasma SVG cache fixes it. Do this: `rm ~/.cache/*plasma* ; killall plasmashell && kstart5 plasmashell` In the meantime, we really need to get to the bottom of what's behind these caching issues when we update SVGs or Plasma Components code. It happens almost every time, and it provides a really negative impression for our users. :( This appears to be a widespread issue following the style update in Frameworks 5.88. See for example https://www.reddit.com/r/kde/comments/qwbnmv/various_ui_bugs_since_plasma_5233/. this is happening upgrading from the svgs of frameworks 5.87 to 5.88 In particular this commit seems to have triggered the issue a ton: https://invent.kde.org/frameworks/plasma-framework/-/commit/9c95fa56216222cb7dc0872bf2e77d94bfff27ac I am seeing tons of people reporting abnormally thick separator lines until they clear their caches manually. *** Bug 445762 has been marked as a duplicate of this bug. *** Would it be a good idea to have a script run on every update to just unconditionally wipe the Plasma cache? It's kind of a simplistic fix but it's guaranteed to work, and cache is always safe to remove. A possibly relevant merge request was started @ https://invent.kde.org/frameworks/plasma-framework/-/merge_requests/394 *** Bug 445895 has been marked as a duplicate of this bug. *** *** Bug 445660 has been marked as a duplicate of this bug. *** *** Bug 445750 has been marked as a duplicate of this bug. *** Git commit fe9e118ff2212d48a0ea5fcc0346d6312978f3ed by Marco Martin. Committed on 29/11/2021 at 14:40. Pushed by mart into branch 'master'. Reload shared renderers when a file changed on disk When we have to render a new pixmap, compare the file date with the date of the last time the file was cached. if the dates are different (not only older, in order to allow downgrades) then force the svg renderer to be reloaded from the new file, otherwise the renderer with the old file still loaded will save in cache old graphics with the id derived from the date of the new file, causing a wrong cache entry M +13 -2 src/plasma/private/svg_p.h M +73 -27 src/plasma/svg.cpp https://invent.kde.org/frameworks/plasma-framework/commit/fe9e118ff2212d48a0ea5fcc0346d6312978f3ed *** Bug 445601 has been marked as a duplicate of this bug. *** *** Bug 446283 has been marked as a duplicate of this bug. *** *** Bug 446372 has been marked as a duplicate of this bug. *** *** Bug 446364 has been marked as a duplicate of this bug. *** *** Bug 446462 has been marked as a duplicate of this bug. *** *** Bug 446774 has been marked as a duplicate of this bug. *** *** Bug 446914 has been marked as a duplicate of this bug. *** *** Bug 448241 has been marked as a duplicate of this bug. *** *** Bug 447696 has been marked as a duplicate of this bug. *** |
Created attachment 143565 [details] slider nobs with the boxes SUMMARY The sliders' nubs in the audio applet have a small box around them, visible around the corners STEPS TO REPRODUCE 1. 2. 3. OBSERVED RESULT see attachment EXPECTED RESULT shouldn't have the boxes SOFTWARE/OS VERSIONS KDE Plasma Version: 5.23.3 KDE Frameworks Version: 5.88.0 Qt Version: 5.15.2 Graphics Platform: Wayland ADDITIONAL INFORMATION *only* affects the audio applet, other