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

            Bug ID: 514516
           Summary: Plasma Wayland: Digital Clock calendar shows “No
                    events for today” on first open after login
    Classification: Plasma
           Product: plasmashell
      Version First 5.27.1
       Reported In:
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Calendar widget
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: 1.0

SUMMARY

In a Plasma Wayland session, the Digital Clock calendar popup incorrectly shows
“No events for today” the first time it is opened after login, even when events
exist. Interacting with the calendar immediately causes today’s events to
appear.

This occurs consistently on first open after login.


STEPS TO REPRODUCE
1. Click the Digital Clock in the Plasma panel
2. Click on calendar date

OBSERVED RESULT
The calendar displays "No events for today."  


EXPECTED RESULT
The calendar should display today's events. 


SOFTWARE/OS VERSIONS

Linux/KDE Plasma: 
KDE Plasma Version: 6,5,4
KDE Frameworks Version: 6.22.0
Qt Version:  6.10.1

ADDITIONAL INFORMATION
If I click another date, the calendar shows the events for that day,. If I then
click back on the current date the calendar shows the day's events correctly. 
The calendar should show the day's events the first time the date is clicked
without first requiring the user to click on a different date. 

According to chatgpt this issue arises because: 

"The calendar widget relies on Akonadi to supply events. On first invocation
after login, the widget UI is shown before Akonadi reports readiness. The
widget queries for "today’s events” too early.
Result: it renders “No event for today”. Any interaction (clicking another day)
triggers a refresh, and by then Akonadi is ready — so events suddenly appear.
This is a race condition, not a logic error."

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

Reply via email to