Bug 395956

Summary: [Wayland] Calendar events are not shown at first
Product: [Plasma] plasmashell Reporter: tromzy
Component: CalendarAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: gisk+kdebugs, latlon, notuxius, popov895, sabayon11
Priority: NOR    
Version: 5.18.5   
Target Milestone: 1.0   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In: 5.19.0

Description tromzy 2018-06-28 09:46:16 UTC
In a Wayland Plasma session, I noticed that on the first time I bring up the calendar by clicking the clock on my Plasma panel, it always shows "No event for today". If I click another day on the calendar, it shows the events of the day, and if I click back on today, it shows today's events fine. It should display it correctly the first time.
Comment 1 Alexander Mentyu 2018-06-30 06:53:07 UTC
Can reproduce - PIM Events - Personal Calendar

Plasma: 5.13.1
Apps: 18.04.2
Frameworks: 5.47.0
Qt: 5.11.1
Kernel: 4.18.0-1-MANJARO
OS: Netrunner Rolling
Video: Intel 4400
Driver: xf86-video-intel 1:2.99.917+831+ge7bfc906-1
Mesa 3D: 18.1.2
Screen: 1600x900
Xorg: 1.20
Wayland: 1.15.0-1
Wayland Protocols: 1.14-1
Comment 2 apache 2019-06-23 15:03:59 UTC
I have this in normal Plasma (not Wayland):
Operating System: Manjaro Linux 
KDE Plasma Version: 5.15.5
KDE Frameworks Version: 5.59.0
Qt Version: 5.12.3
Kernel Version: 5.0.21-1-MANJARO
OS Type: 64-bit

As you can see, first I click on clock on panel 
https://imgur.com/XMScWZJ
and no information about holiday (for 23rd of June - today) is displayed on the left panel, although it is marked in calendar by blue dot.

When I click on any other date and back on 23rd it shows Father's day correctly:
https://imgur.com/Z9DxLMR
Comment 3 tromzy 2019-11-12 11:42:35 UTC
This bug is still occurring on Plasma 5.17.2.
Comment 4 popov895 2020-03-24 18:39:31 UTC
Same on Plasma 5.18.3 (KDE Neon 5.18, Frameworks 5.68.0, Qt 5.14.1, KWin)
Comment 5 popov895 2020-03-27 16:50:51 UTC
Submitted a patch: https://phabricator.kde.org/D28354
Comment 6 Nate Graham 2020-03-30 14:09:58 UTC
Git commit a05dc73cf7fb41a7a5956f309a884acc6be0ac21 by Nate Graham, on behalf of Eugene Popov.
Committed on 30/03/2020 at 14:09.
Pushed by ngraham into branch 'master'.

[applets/digital-clock] Fix calendar events not being shown at first

Summary:
I noticed that on the first time I bring up the calendar by clicking the clock on my Plasma panel, it always shows "No event for today". If I click another day on the calendar and then click back on today, it shows today's events fine. It should display it correctly the first time.

To fix this bug, we need to compare the date without time.
FIXED-IN: 5.19.0

Reviewers: ngraham, #plasma, vkrause

Reviewed By: ngraham

Subscribers: plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D28354

M  +19   -4    applets/digital-clock/package/contents/ui/CalendarView.qml

https://commits.kde.org/plasma-workspace/a05dc73cf7fb41a7a5956f309a884acc6be0ac21
Comment 7 popov895 2020-06-12 15:51:37 UTC
Can be reproduced on Plasma 5.18.5 LTS
Comment 8 popov895 2021-07-26 21:02:53 UTC
Closed due to the end of LTS Edition.
Comment 9 popov895 2021-08-01 12:39:03 UTC
*** Bug 414023 has been marked as a duplicate of this bug. ***
Comment 10 popov895 2021-08-01 12:39:50 UTC
*** Bug 407730 has been marked as a duplicate of this bug. ***