Bug 372835 - Korganizer and Digital Clock/Calendar widget keep forgetting of selected Caldav resources
Summary: Korganizer and Digital Clock/Calendar widget keep forgetting of selected Cald...
Status: REPORTED
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: DAV Resource (show other bugs)
Version: unspecified
Platform: Arch Linux Linux
: NOR major
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-11-23 14:12 UTC by Martin Ottmar
Modified: 2024-03-17 10:49 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Ottmar 2016-11-23 14:12:43 UTC
Our company CalDav calendar resource contains two calendars called "Personal Callendar" and "Staff".
I'm not using the personal calendar, so I have it permanently disabled.
But, when I enable the "Staff" calendar, by checking a certain CheckBox in Korganizer calendar viewer, or in the panel->Digital Clock Settings->PIM Events Plugin, akonadi (usually) forgets this setting after next plasma session login. Setting this resource as default in the korganizer doesn't have any effect.

This behaviour has been confirmed on (archlinux) machine of my colleague.
This behaviour (in korganizer) is there since KDE-3.5 or before.
This behaviour is new in KF5 for the new style Digital Clock/Calendar plasma widget.

Best regards.
Comment 1 Hufschmidt 2017-02-13 09:09:39 UTC
I'm having a very similar error (at least I think so):

I put the KDE Digital Clock widget on my desktop, enabled the PIM Events plugin, selected a few calendars from the PIM Events Plugin tab and all is fine, eg.
my akonadi/PIM events are listed in the widgets calendar leftclick-popup.

Upon restart though, the popup does not show any events, although all widgets options are still correct.
After I disable and enable the PIM Events Plugin once, everything is back to normal.

My guess is, either there is a bug in the Digital Clock widget which causes plugins to not actually be loaded upon restart or there is a race-condition between the PIM Event Plugin and akonadi/PIM maybe pushing events before the Digital Clock Widget or its PIM Events Plugin is ready.
(I'lll test something...)
Comment 2 Hufschmidt 2017-02-13 09:20:30 UTC
More details:

* I can confirm, this is happening after logout -> login as with Martin Ottmar
* Adding an event in KOrganizer while the PIM Events Plugin is not working does not fix it, so it does not seem like a race-condition between Widget/Plugin and akonadi/PIM.
* OS is Manjaro/archlinux, KDE Plasma 5.8.5, KDE Frameworks 5.30, Kernel 4.9.6
Comment 3 Knut Hildebrandt 2019-02-18 18:53:29 UTC
This did not occur on my installation for a while and thus I thought it had been fixed. But after the latest update I experience this behavior again. The two CalDAV calendars selected in Korganizer are unselected and Birthday/Anniversaries is selected instead.

In the moment this is installed on my machine:

Plasma: 5.15.0
Framworks: 5.55.0
Applications: 18.12.2
QT: 5.12.0
Comment 4 Christian Wolf 2019-04-16 10:02:04 UTC
I think I might be affected by the original bug as well. All my calendars are invisible upon restart of the machine.

I found that restarting akonadi (using `akoandictl restart`) from a terminal while keeping korganizer open triggers the problem as well. At least in my case this disabled all calendars. Maybe you can confirm this triggers the bug as well on your installation.
Comment 5 Celeste Liu 2024-01-17 09:14:46 UTC
I meet this problem on KDE 6.0rc1 (and beta1 beta2). With Digital Clock applet.
Comment 6 Celeste Liu 2024-01-17 10:37:43 UTC
If I delete PIMEventsPlugin section in plasmashellrc, there will be no this section after I click apply. So there must be bad code in save config code.
Comment 7 Celeste Liu 2024-01-17 10:44:22 UTC
Oops. It saves config when plasmashell stops.
Comment 8 Celeste Liu 2024-01-17 10:53:57 UTC
Finally, I found it's a pure UI bug. Event was loaded, but the setting ui display the source as unselected.