Bug 372090

Summary: Plasma show events only after second enable of holidays
Product: [Plasma] plasmashell Reporter: opensuse.lietuviu.kalba
Component: Digital Clock widgetAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: aspotashev, kde, nate, notuxius, zrenfire
Priority: NOR    
Version First Reported In: 5.8.2   
Target Milestone: 1.0   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In: 5.22
Sentry Crash Report:
Attachments: video.webm

Description opensuse.lietuviu.kalba 2016-11-04 19:42:22 UTC
Created attachment 102038 [details]
video.webm

Strange, that when I select to show holidays event in calendar, it don't display events in calendar at first try. After dissable and re-enable - it shows. 

(However, few times plasma crashed after first enable (not always). )
Comment 1 Alexander Mentyu 2017-08-29 09:26:13 UTC
'Holidays' tab could be hidden/disabled if 'Holidays' checkbox isn't activated in 'Calendar' tab in Digital Clock settings.
Comment 2 Kai Uwe Broulik 2017-08-29 12:47:51 UTC
Do you have multiple digital clocks or screens perhaps? The plugin manager is a singleton type and thus is shared between all digital clocks as far as I can tell :/
Comment 3 Kai Uwe Broulik 2017-08-31 12:29:45 UTC
Git commit 11e416bea6cdfc0556522502852379a1d52483b4 by Kai Uwe Broulik.
Committed on 31/08/2017 at 12:29.
Pushed by broulik into branch 'master'.

[ConfigModel] Allow programmatically adding and removing ConfigCategory

The appendCategory(ConfigCategory*) allows to add a category created by e.g. an Instantiator
that can use bindings rather than fixed arguments.
The removeCategory methods allow to remove a category when e.g. the model in an Instantiator resets.

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

M  +42   -0    src/plasmaquick/configmodel.cpp
M  +5    -0    src/plasmaquick/configmodel.h

https://commits.kde.org/plasma-framework/11e416bea6cdfc0556522502852379a1d52483b4
Comment 4 Kai Uwe Broulik 2017-08-31 12:34:12 UTC
Git commit 03b37c94bd3bd615e43c88dfdb74928b2d06c396 by Kai Uwe Broulik.
Committed on 31/08/2017 at 12:33.
Pushed by broulik into branch 'master'.

[Digital Clock] Show event plugin configurations only if enabled

This replaces the loop with fixed values by an Instantiator creating bindings on the model.

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

M  +11   -13   applets/digital-clock/package/contents/config/config.qml

https://commits.kde.org/plasma-workspace/03b37c94bd3bd615e43c88dfdb74928b2d06c396
Comment 5 Alexander Mentyu 2017-12-06 11:44:56 UTC
Instead of holidays - 'Todo' list  is displayed, holydays aren't displayed when selected alone in settings or when selected both with 'PIM Events Plugin'

Distribution: KDE neon Developer Edition - Stable Branches
Plasma: 5.11.4
Frameworks: 5.41.0
Qt: 5.9.3
Kernel 4.10.0-40-generic
Type: 64-bit
Comment 6 Alexander Mentyu 2017-12-06 11:52:30 UTC
Noticed that holydays are displayed correctly only for selected date, related to https://bugs.kde.org/show_bug.cgi?id=383634
Comment 7 Nate Graham 2021-08-07 17:41:19 UTC
Should be fixed in the latest Plasma version.