Bug 396791 - Theme cache doesn't invalidate on output scale changes
Summary: Theme cache doesn't invalidate on output scale changes
Status: RESOLVED DUPLICATE of bug 424615
Alias: None
Product: plasmashell
Classification: Plasma
Component: general (show other bugs)
Version: master
Platform: Other Linux
: HI normal
Target Milestone: 1.0
Assignee: David Edmundson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-07-23 10:24 UTC by Eike Hein
Modified: 2022-09-08 13:38 UTC (History)
9 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:
hein: Wayland+


Attachments

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