Bug 396791

Summary: Theme cache doesn't invalidate on output scale changes
Product: [Plasma] plasmashell Reporter: Eike Hein <hein>
Component: generalAssignee: David Edmundson <kde>
Status: RESOLVED DUPLICATE    
Severity: normal CC: alex765, dev+kde, katyaberezyaka, kde, m.j.lbach, nate, notmart, plasma-bugs, subdiff
Priority: HI Flags: hein: Wayland+
Version: master   
Target Milestone: 1.0   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Eike Hein 2018-07-23 10:24:44 UTC
I use Plasma/Wayland with 2x scaling.

At logon, plasmashell comes up with 1x scaling and doesn't update when KWin sets the output scale to 2x. So I restart plasmashell to fix the scaling.

After restarting plasmashell, I then experience lots of wrongly-sized and/or pixelated theme elements. Until I kill the shell, delete the theme cache from ~/.cache and restart the shell.
Comment 1 Nate Graham 2021-03-10 03:39:05 UTC
Confirmed; still an issue. I see this in Wayland all the time due to Bug 433460.
Comment 2 Marco Martin 2021-03-10 12:03:24 UTC
there are 2 parts to this bug: one is plasma getting notified the new correct scale, and i think this is what still fails.
then there is a caching issue of the old stuff, which lately with svg caching refactor should have gotten a bit better
Comment 3 Nate Graham 2021-03-20 02:50:45 UTC
Apparently we tried to fix this in Bug 424615 which I forgot about, but there are still some things that need fixing before it fully works.
Comment 4 Nate Graham 2021-05-11 20:51:17 UTC
*** Bug 436918 has been marked as a duplicate of this bug. ***
Comment 5 David Edmundson 2022-06-05 17:31:22 UTC
We shouldn't be flushing the cache on theme change. For the symptoms see 424615.

A comment some issues remain, but we have no content in any bug report that's actionable.
Comment 6 David Edmundson 2022-06-05 17:31:36 UTC
* A comment says
Comment 7 Nate Graham 2022-06-05 18:40:09 UTC

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