Bug 448750 - SVGs are sometimes corrupted on upgrade until SVG cache is cleared
Summary: SVGs are sometimes corrupted on upgrade until SVG cache is cleared
Status: CONFIRMED
Alias: None
Product: frameworks-ksvg
Classification: Frameworks and Libraries
Component: General (show other bugs)
Version: 5.246.0
Platform: Gentoo Packages Linux
: HI normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
: 397981 450243 458253 458750 468117 468764 475394 475952 476172 477170 (view as bug list)
Depends on:
Blocks:
 
Reported: 2022-01-19 00:59 UTC by rnddim
Modified: 2023-12-13 21:51 UTC (History)
13 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Screenshot demonstrating the line over an element in the task manager. (6.11 KB, image/png)
2022-01-19 00:59 UTC, rnddim
Details

Note You need to log in before you can comment on or make changes to this bug.
Description rnddim 2022-01-19 00:59:32 UTC
Created attachment 145637 [details]
Screenshot demonstrating the line over an element in the task manager.

SUMMARY

After updating to 5.23.5, I can now see an extra line above the actual edge of the panel. Experimenting a bit, I see it show up above a bottom panel and under a top panel, but no line appears beyond the edge of panels on the left or right sides of the screen. I've tried looking for an option to remove this, and tried modifying the panel's size and position to see if the panel would redraw without it, but nothing works.

I've attached an image showing the line far above the edge. I seem to recall that line being present but much lower in the past (as recently as 5.23.3), so I wonder if some recent change just made this line draw a bit higher than it's supposed to.

Also of note is that, when I hit "edit mode" on the panel, the extra bar that pops up with options like "screen edge" and "panel height" also has its own separate line issue.

I would really appreciate a way to fix this, including any temporary workarounds, since this line appears over all windows that go near that panel (e.g. all maximized windows) and is a visual nuisance. At the very least, it doesn't seem to interfere with interacting with any of a window's widgets that happen to end up between the line and the panel.
Comment 1 Nate Graham 2022-01-21 01:56:23 UTC
1. What Plasma theme are you using? If it's not Breeze, does it go away if you use Breeze?
2. What frameworks version are you using? Does it go away if you clear the plasma SVG cache with `rm -r ~/.cache/*plasma*` and then restart plasmashell with `kquitapp5 plasmashell ; kstart5 plasmashell`?
Comment 2 rnddim 2022-01-21 02:12:34 UTC
I am using breeze, and frameworks 5.90.0. Your suggestion to delete the cache did fix the issue; my quick look into seeing what might be the culprit earlier showed that an svg used for finding margins on the panel had changed, so I wondered if that could be the issue. I suspect it was deleting a theme- or SVG-related cache file that did it.

So the issue is fixed, though now I have to deal with my taskbar being out of order (not too big an issue, just that my firefox windows love getting out of order at the slightest provocation of said taskbar). I wonder if there's still a bug in the cache not clearing when it should automatically, or using old data that seemed to be tied to specific older versions of the frameworks.
Comment 3 Nate Graham 2022-01-21 16:36:59 UTC
Yep, it seems like there's still a cache invalidation bug somewhere. I had thought this was fully fixed with Frameworks 5.89, but apparently not. :(
Comment 4 Nate Graham 2022-06-25 19:07:14 UTC
*** Bug 397981 has been marked as a duplicate of this bug. ***
Comment 5 Nate Graham 2022-08-26 09:09:33 UTC
*** Bug 458253 has been marked as a duplicate of this bug. ***
Comment 6 Nate Graham 2022-09-09 13:31:14 UTC
*** Bug 458750 has been marked as a duplicate of this bug. ***
Comment 7 Nate Graham 2023-04-04 13:48:45 UTC
*** Bug 468117 has been marked as a duplicate of this bug. ***
Comment 8 Nate Graham 2023-04-21 19:54:50 UTC
*** Bug 468764 has been marked as a duplicate of this bug. ***
Comment 9 Bug Janitor Service 2023-04-23 22:54:59 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/kscreenlocker/-/merge_requests/141
Comment 10 Harald Sitter 2023-04-25 11:46:55 UTC
I'd be interested in someone uploading a set of broken cache files. It's exceptionally hard to guess what the problem might be without them.
Comment 11 Nate Graham 2023-10-12 21:30:55 UTC
*** Bug 475394 has been marked as a duplicate of this bug. ***
Comment 12 Nate Graham 2023-10-23 21:05:55 UTC
*** Bug 475952 has been marked as a duplicate of this bug. ***
Comment 13 Nate Graham 2023-10-30 19:19:17 UTC
*** Bug 476172 has been marked as a duplicate of this bug. ***
Comment 14 Paul Worrall 2023-11-18 09:57:38 UTC
*** Bug 477170 has been marked as a duplicate of this bug. ***
Comment 15 Marco Martin 2023-12-13 10:06:05 UTC
does this still happens with plasma6 ?
Comment 16 Marco Martin 2023-12-13 10:07:51 UTC
*** Bug 450243 has been marked as a duplicate of this bug. ***
Comment 17 Nate Graham 2023-12-13 21:51:31 UTC
I'm not sure we can know since it typically happens randomly after distro packages are updated on disk.