If the appropriate kholidays QML package isn't installed on my system, when I go to use the feature, instead of displaying something like, "The kholidays QML package isn't present on your system," it displays the error on the screenshot. Ideally the exception handling could be improved. Reproducible: Always Steps to Reproduce: 1. Right-click on the digital clock and select Digital Clock Settings. 2. Go to the Holidays tab. Actual Results: The error in the screenshot about the QML module not being installed. Expected Results: It displays an error like, "The kholidays QML module is not installed." I'm using the Kubuntu Team's Plasma and Apps PPAs.
Isn't kholidays a hard dependency of Plasma, Martin?
No; the system is a bit more complicated. Plasma-framework, which has the calendar backend and the events backend, depends on KF5::CalendarEvents, which is part of KDeclarative. Plasma-workspace then has a plugin based on KHolidays that is being loaded by that Plasma-framework code. The actual error from the screenshot comes from KHoliday I believe, which has declarative imports that the plugin in Plasma-workspace uses. I would advise to file a bug against Kubuntu packaging and at the same time add a required version of KHolidays in -workspace, which seems to be missing. On a side note, KHolidays is now in this strange limbo where it is a framework that is being released with applications, so the versioning might be a bit weird. Finally, Simon, for future reference, please always attach screenshots directly to bugzilla or at least include the text of the error here, so that we know what this is about in case the image is taken down from a 3rd party site.
> The actual error from the screenshot comes from KHoliday I believe, which has declarative imports that the plugin in Plasma-workspace uses. What I forgot to add in this sentence is that the installed KHolidays version is too old, that's the actual problem. I think.
Going through things, I think this was solved a while ago.