Summary: | Calender: PIM events no longer shown | ||
---|---|---|---|
Product: | [Plasma] plasmashell | Reporter: | Christian (Fuchs) <kde> |
Component: | Digital Clock | Assignee: | Plasma Bugs List <plasma-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | wulf.richartz |
Priority: | NOR | ||
Version: | 5.7.95 | ||
Target Milestone: | 1.0 | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/kdepim-addons/c921a14e0a30e13342e94cce74d4ad1bbb3a64c5 | Version Fixed In: | 5.3.3 |
Description
Christian (Fuchs)
2016-10-01 13:47:01 UTC
This is still present in plasma 5.8 final. Update: this seems to be a duplicate of https://bugs.kde.org/show_bug.cgi?id=368832 However, this is valid not only for CalDAV calendars, but also for integrated ones such as the Birthday / Events one. I can indeed reproduce that updating the calendar does fix the issue (emitting a signal to update, maybe?) but initially when loaded no events are shown. So whatever you do on an update, you probably should do that initially as well. Git commit c921a14e0a30e13342e94cce74d4ad1bbb3a64c5 by Daniel Vrátil. Committed on 14/10/2016 at 00:04. Pushed by dvratil into branch 'Applications/16.08'. PimEventsPlugin: switch from ETMCalendar to custom EventModel It is hard to tame the ETMCalendar to list only the right events and listen only to the right changes while not keeping everything loaded in the memory all the time. The EventModel is a lightweight bridge between Akonadi and the CalendarBase. It inserts and removes data from the CalendarBase based on currently enabled collections and handles updates. This solves various issues with populating the model initially, listening to the correct changes and it also reduces memory usage by not keeping events from disabled calendars in memory. Related: bug 368832 FIXED-IN: 5.3.3 M +1 -0 plugins/plasma/pimeventsplugin/CMakeLists.txt M +27 -34 plugins/plasma/pimeventsplugin/akonadipimdatasource.cpp M +2 -7 plugins/plasma/pimeventsplugin/akonadipimdatasource.h M +1 -1 plugins/plasma/pimeventsplugin/autotests/CMakeLists.txt A +178 -0 plugins/plasma/pimeventsplugin/eventmodel.cpp [License: GPL (v2+)] C +29 -20 plugins/plasma/pimeventsplugin/eventmodel.h [from: plugins/plasma/pimeventsplugin/akonadipimdatasource.h - 051% similarity] M +3 -3 plugins/plasma/pimeventsplugin/pimcalendarsmodel.cpp M +1 -1 plugins/plasma/pimeventsplugin/pimeventsplugin.h http://commits.kde.org/kdepim-addons/c921a14e0a30e13342e94cce74d4ad1bbb3a64c5 |