Bug 470771 - Kalendar shows empty UI then crashes unless KOrganizer is opened
Summary: Kalendar shows empty UI then crashes unless KOrganizer is opened
Status: REPORTED
Alias: None
Product: Merkuro
Classification: Applications
Component: general (other bugs)
Version First Reported In: 23.04.1
Platform: Neon Linux
: NOR crash
Target Milestone: ---
Assignee: Claudio Cambra
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-06-08 08:33 UTC by Riccardo Robecchi
Modified: 2023-06-13 09:24 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Riccardo Robecchi 2023-06-08 08:33:06 UTC
SUMMARY
It has happened to me several times that starting up Kalendar would show an empty UI - no calendars, no events, nothing. Closing Kalendar and then opening it again would result in a crash. I noticed that opening KOrganizer appears to fix things: KOrganizer starts with no events shown, but in a couple of seconds everything is back to normal; at this point it is safe to open Kalendar, which stops crashing but shows no events as all the calendars are deselected and have to be manually selected again.
I also noticed that, alternatively to opening KOrganizer, one can run "akonadictl restart" for Kalendar to start working again. These two facts together appear to indicate that there is something going on in Akonadi which is not managed correctly in Kalendar and which therefore leads to it crashing. It has to be noted that Kalendar is the only software to suffer from these crashes, as all other applications and widgets that make use of Akonadi show no issues.
It is also far from clear what the conditions are to reproduce this, as it happens seemingly at random times.

STEPS TO REPRODUCE
1. ?

OBSERVED RESULT
Kalendar shows an empty UI and then crashes.

EXPECTED RESULT
Kalendar works normally.

SOFTWARE/OS VERSIONS
Linux: KDE neon
KDE Plasma Version: 5.27.5
KDE Frameworks Version: 5.105.0
Qt Version: 5.15.9

ADDITIONAL INFORMATION
Comment 1 Riccardo Robecchi 2023-06-13 09:24:39 UTC
Just a small update to the report: this is now reproducible every single time that I try to open Kalendar. In fact, it seems like Kalendar won't be able to start at all unless I manually restart Akonadi beforehand every time.