https://bugs.kde.org/show_bug.cgi?id=524245

Gary <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |NOT A BUG
             Status|REPORTED                    |RESOLVED

--- Comment #1 from Gary <[email protected]> ---
Retracting this: I cannot reproduce it on 6.6.6.

Three variants, all against the active theme (kubuntu-light, shadowed into
~/.local/share under its own name), patching widgets/background.svgz in place
with an unmistakable colour, never clearing any cache:

1. Changed while plasmashell was running -- picked up within seconds, without a
   restart.
2. Changed while plasmashell was stopped, then started -- picked up.
3. Changed while stopped, with the file's mtime backdated to well before the
   cache file's, then started -- still picked up.

The caches do track this. SvgRectsCache records a per-file LastModified in
~/.cache/ksvg-elements and rejects a cached entry whose file mtime differs
(svg.cpp, loadImageFromCache and lastModifiedTimeFromCache). The comparison is
!=, so it catches timestamps moving backward as well as forward.

For anyone repeating this: the change has to be made while plasmashell is
stopped. My first attempt patched the file with the shell running, which
noticed
it live and refreshed the caches on its own, so the restart afterwards proved
nothing.

What I originally saw -- patching a theme asset and nothing changing -- was
real,
but the cause was not the cache. I was patching a file that was not on the
resolved path: KSvg resolves <theme>/<selector>/<image> ahead of
<theme>/<image>
when the "translucent" selector is set, and my active theme shadowed only the
plain asset. That is also what was wrong with bug 524246, which I have
retracted
as well.

Please close.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to