Bug 458518 - Some Google Calendar events are not displayed in KOrganizer or Kalendar; Events confirmed to exist in Akonadi Console
Summary: Some Google Calendar events are not displayed in KOrganizer or Kalendar; Even...
Status: REPORTED
Alias: None
Product: kontact
Classification: Applications
Component: general (show other bugs)
Version: 5.21.0
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-08-30 17:52 UTC by Dave Connett
Modified: 2022-08-31 23:07 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Raw Calendar Event Data from Akonodi Console of working event (1.53 KB, text/plain)
2022-08-31 04:15 UTC, Dave Connett
Details
Raw Calendar Event Data from Akonadi Console of event not appearing (1.56 KB, text/plain)
2022-08-31 04:15 UTC, Dave Connett
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dave Connett 2022-08-30 17:52:19 UTC
SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***


STEPS TO REPRODUCE
1. Share Google Calendar From Account B to Account A
2. Add Calendar via Google Groupware to Kontact
3. Try to view Calendar Entries

OBSERVED RESULT
Some Calendar entries are missing

EXPECTED RESULT
All Calendar events should be visible

Operating System: Arch Linux
KDE Plasma Version: 5.25.4
KDE Frameworks Version: 5.97.0
Qt Version: 5.15.5
Kernel Version: 5.19.4-arch1-1 (64-bit)
Graphics Platform: X11
Processors: 32 × AMD Ryzen 9 5950X 16-Core Processor
Memory: 125.0 GiB of RAM
Graphics Processor: AMD Radeon RX 6900 XT
Manufacturer: Micro-Star International Co., Ltd.
Product Name: MS-7C34
System Version: 1.0

Log Snippets:
...
Aug 30 13:36:33 aeonik kontact[2895017]: org.kde.pim.calendarview: AgendaView::calendarIncidenceChanged() Invalid agendaItem for incidence  "4qa35nvs4eilk1mnhnlnnrjmmi@google.com"
Aug 30 13:36:33 aeonik kontact[2895017]: org.kde.pim.calendarview: AgendaView::calendarIncidenceChanged() Invalid 
Aug 30 13:36:33 aeonik kontact[2895017]: org.kde.pim.calendarview: AgendaView::calendarIncidenceChanged() Invalid agendaItem for incidence  "a547or2ad1f5p3smjvo9qom844_R20220608T161500@google.com"
Aug 30 13:36:33 aeonik kontact[2895017]: org.kde.pim.calendarview: invalid incidence or item not found. QSharedPointer(0x55a7d3f7b0e0)
Aug 30 13:36:33 aeonik kontact[2895017]: org.kde.pim.calendarview: invalid incidence or item not found. QSharedPointer(0x55a7d3f7b0e0)
Aug 30 13:36:33 aeonik kontact[2895017]: org.kde.pim.calendarview: invalid incidence or item not found. QSharedPointer(0x55a7d3f7b0e0)
Aug 30 13:36:33 aeonik kontact[2895017]: org.kde.pim.calendarview: AgendaView::calendarIncidenceChanged() Invalid agendaItem for incidence  "6lm9ot4hssc3hv8cflt4kkq3ht@google.com"
Aug 30 13:36:33 aeonik kontact[2895017]: org.kde.pim.calendarview: AgendaView::calendarIncidenceChanged() Invalid agendaItem for incidence  "6lm9ot4hssc3hv8cflt4kkq3ht@google.com"
...

I'd be happy to help Debug further, but I am not sure where to go for extra information. Akonadi Console shows the events have been downloaded properly.
Comment 1 gjditchfield 2022-08-30 19:08:23 UTC
Please use akonadiconsole to look at the undisplayed events. Are you listed as an ATTENDEE?  If so, this could be bug 436812.
Comment 2 Dave Connett 2022-08-31 04:15:01 UTC
Created attachment 151722 [details]
Raw Calendar Event Data from Akonodi Console of working event
Comment 3 Dave Connett 2022-08-31 04:15:40 UTC
Created attachment 151723 [details]
Raw Calendar Event Data from Akonadi Console of event not appearing
Comment 4 Dave Connett 2022-08-31 04:22:27 UTC
(In reply to gjditchfield from comment #1)
> Please use akonadiconsole to look at the undisplayed events. Are you listed
> as an ATTENDEE?  If so, this could be bug 436812.

Based on a few tests, I don't think they are the same bug.

Tests ran:
   1. I created an event with only myself, not recurring -> It displayed
   2. I had a friend create an event and send it to me, not recurring -> It displayed
   3. I created an event with only myself, recurring every week -> Did not display
   4. I changed RSVP to "Maybe" (previously a "Yes") to one of the recurring (daily) events already on my calendar that was previously not appearing -> The single event displayed
   5. I replied as a "Maybe" to the recurring event referenced in test #4, but for the previous day -> Event #4 disappeared and this event displayed
   6. I changed test #4 RSVP from "Maybe" back to "Yes" -> event referenced in test #5 disappeared, and event #4 displayed
   7. I changed RSVP to all recurring events referenced in tests 4, 5, and 6 -> No change: event from test #4 is still the only one that displays in this series

I have attached two files containing raw data from my Akonadi Console for two events: one that is displaying as expected, and one that is not.


Here is the diff between to the two files: 
6,7c6,7
< DTSTAMP:20220829T160523Z
< X-KDE-LIBKGAPI-EventId:m79fsiqpfv5n18h6ikdpo737hr_20220829T160000Z
---
> DTSTAMP:20220830T133254Z
> X-KDE-LIBKGAPI-EventId:1pqtfomf40achkvc4s831kdk8r
9,10c9,10
< UID:m79fsiqpfv5n18h6ikdpo737hr_R20220606T160000@google.com
< LAST-MODIFIED:20220829T160523Z
---
> UID:1pqtfomf40achkvc4s831kdk8r@google.com
> LAST-MODIFIED:20220830T133254Z
12,13c12,13
< DTSTART;TZID=America/Detroit:20220829T120000
< DTEND;TZID=America/Detroit:20220829T122500
---
> DTSTART;TZID=America/Detroit:20220829T110000
> DTEND;TZID=America/Detroit:20220829T121500

It looks like it's something potentially related to event recurrence, though there are many other parameters I didn't control for.