https://bugs.kde.org/show_bug.cgi?id=445516
Marco Martin <notm...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|                            |https://invent.kde.org/fram
                   |                            |eworks/plasma-framework/com
                   |                            |mit/fe9e118ff2212d48a0ea5fc
                   |                            |c0346d6312978f3ed
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #13 from Marco Martin <notm...@gmail.com> ---
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

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

Reply via email to