Bug 442100 - Plasma's Calendar's PIM Event Plugin does not list any events on the current day the first time the Calendar widget is clicked/displayed
Summary: Plasma's Calendar's PIM Event Plugin does not list any events on the current ...
Status: CONFIRMED
Alias: None
Product: libplasma
Classification: Frameworks and Libraries
Component: components (show other bugs)
Version: 5.85.0
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: Marco Martin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-09-07 00:04 UTC by Michael
Modified: 2023-02-28 17:21 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Plasma calendar showing no events even though there are four (86.43 KB, image/png)
2021-09-07 00:04 UTC, Michael
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michael 2021-09-07 00:04:16 UTC
Created attachment 141345 [details]
Plasma calendar showing no events even though there are four

SUMMARY

The first time in a session that I click on Plasma's digital clock widget, and the "PIM Event Plugin" is enabled, and there is an event(s) on the current day, the calendar widget slides out, but on the left-hand side of the slide-out panel under where it says "Events", there are no events listed when there should be. Manually clicking on the next day then the current day "wakes up" the functionality and the events become listed on subsequent views of the calendar.


STEPS TO REPRODUCE

0. Have a clean start of the Plasma shell where you haven't interacted with the clock widget yet.
1. Have KOrganizer configured with a calendar, like a Gmail calendar. 
2. Create a test event for today. We are done with KOrganizer at this point.
3. Right-click on the Plasma clock widget and choose "Configure Digital Clock"
4. In the Calendar tab under available plugins, enable "PIM Events Plugin" and click Apply.
5. In the new PIM Events Plugin tab, enable the calendar that has an event for today. Click OK.
6. Left-click on the Plasma clock widget to make the calendar slide out.


OBSERVED RESULT

(see attached image)

7. Under where it says "Events" on the left-hand side of the slide out panel, it will say "No events for today". (If you don't see this, to get a clean, just-started Plasma shell, terminate the "plasmashell" process and re-run it from the shell by typing plasmashell &)
8. Click on tomorrow's date, then click on today's date.
9. You will see under "Events" it will display the today's test event we created in step #2. This should've been visible in step #7.
10. Press the Esc key to close the slide out panel.
11. Click on the Plasma clock widget again. 
12. This time under "Events" it will automatically show today's test event, as it should've done the first time we looked at the calendar.


EXPECTED RESULT

The first time you click on the Plasma clock widget to see the calendar, if there is an event for today, it should be listed under the "Events" section. Not just subsequent times.


SOFTWARE/OS VERSIONS

Operating System: KDE neon 5.22
KDE Plasma Version: 5.22.5
KDE Frameworks Version: 5.85.0
Qt Version: 5.15.3
Kernel Version: 5.11.0-27-generic (64-bit)
Graphics Platform: X11
Comment 1 tusooa 2022-02-14 15:49:48 UTC
Can confirm this on Plasma 5.24.0 , kdepim-addons 21.12.2 .
Comment 2 fake.name 2023-02-28 17:21:39 UTC
I have this bug too, in 5.27.2., on Arch, with kernel 6.2.  Manually clicking on a different day is the only thing I've found to induce correct behavior subsequently (I.E, just closing and reopening the calendar does nothing).