Bug 498687

Summary: Wrong day is highlighted in week/agenda view after suspending device overnight
Product: [Applications] korganizer Reporter: Thomas Murach <asiasuppenesser>
Component: agendaview (weekview)Assignee: kdepim bugs <kdepim-bugs>
Status: REPORTED ---    
Severity: minor    
Priority: NOR    
Version First Reported In: 5.24.5   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Screenshot where both the wrong highlighted day and the red line representing the current time are visible

Description Thomas Murach 2025-01-15 10:40:19 UTC
Created attachment 177376 [details]
Screenshot where both the wrong highlighted day and the red line representing the current time are visible

SUMMARY
The KOrganizer week/agendaview has a feature that the current day is highlighted in bold. When suspending my laptop overnight and logging back in next day, the previous day remains highlighted. See attached screenshot.
Usually I power down my machines, so I don't notice very often. But it seems to be reproducible (tried twice, observed error twice). Just to clarify: the wrong day remains highlighted seemingly forever, not just a few seconds or so. As of writing this it's >two hours past login time, error is still present.

STEPS TO REPRODUCE
1. Start KOrganizer
2. Send device to power save / suspend mode
3. Log back in next day
4. Observe previous day being highlighed in bold in agendaview

OBSERVED RESULT
Previous day highlighted in bold letters

EXPECTED RESULT
Current day should be highlighted in bold letters

SOFTWARE/OS VERSIONS
Operating System: openSUSE Leap 15.6
KDE Plasma Version: 5.27.11
KDE Frameworks Version: 5.115.0
Qt Version: 5.15.12

ADDITIONAL INFORMATION
Comment 1 Thomas Murach 2025-01-15 16:58:18 UTC
For completeness: eventually, after some hours, the correct day gets highlighted. I cannot tell when exactly this happened, though.