Bug 508475 - The current day isn't highlighted in the clock's calendar widget anymore due to SVG/Plasma theme caching issue
Summary: The current day isn't highlighted in the clock's calendar widget anymore due ...
Status: REPORTED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Digital Clock widget (other bugs)
Version First Reported In: 6.4.1
Platform: Other Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-08-19 14:33 UTC by Tobias Leupold
Modified: 2025-08-21 13:18 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
The calendar widget not highlighting the current day anymore (32.96 KB, image/png)
2025-08-19 14:33 UTC, Tobias Leupold
Details
Requested SVG cache contents (3.84 MB, application/x-xz)
2025-08-20 19:25 UTC, Tobias Leupold
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tobias Leupold 2025-08-19 14:33:03 UTC
Created attachment 184262 [details]
The calendar widget not highlighting the current day anymore

Hi all,

when clicking on the default task bar's clock, one gets a calendar widget. IIRC, the current day was highlighted until recently, which isn't the case anymore. Would be nice if this was re-added.

I'll check if I can (re-)add this myself and create a MR. If not: Thanks in advance for fixing this :-)

Cheers, Tobias
Comment 1 Nate Graham 2025-08-19 19:07:48 UTC
Works for me; this wasn't an intentional change. It may be an SVG cache issue on your machine. Does it reproduce in a new clean user account?
Comment 2 Tobias Leupold 2025-08-19 20:45:48 UTC
I just checked it on another machine with a similar setup, there, the highlighting actually does work … so this really seems to be a local issue. Sorry for the noise … but what can cause this? How can I clear said SVG cache to see if this causes the problem?
Comment 3 Tobias Leupold 2025-08-20 07:27:46 UTC
Okay, I now checked on the machine I saw this yesterday, with a new user. Doesn't happen then. Deleting ~/.cache for the original user also made it disappear.

Question is if this is some bug anyway (how did it happen in the first place? Can we prevent it from happen?) or if this is actually some weird local corner-case …
Comment 4 Nate Graham 2025-08-20 17:10:41 UTC
It's definitely a bug that should be investigated. These cache invalidation bugs are just killing us.

By any chance did you keep around the old .cache folder? Or is it completely gone? If it's gone, then unfortunately the artifacts needed for debugging it are gone too. :( In that case I would say next time, move it aside rather than deleting it, and then we can take a look into it.
Comment 5 Tobias Leupold 2025-08-20 18:47:07 UTC
I still have it, I didn't delete it, just moved it to ~/.cache~. Just tell me what you need :-)
Comment 6 Nate Graham 2025-08-20 19:04:27 UTC
Excellent. The following will do nicely:
- ksvg-elements
- plasma_theme_default.kcache
- plasmashell/ (the whole folder)
Comment 7 Tobias Leupold 2025-08-20 19:25:36 UTC
Created attachment 184296 [details]
Requested SVG cache contents

Here you are!
Comment 8 Nate Graham 2025-08-21 13:18:44 UTC
Thanks a lot. Let me see if I can find someone familiar with the caching system here.