Bug 477280 - Include PIM Module by default
Summary: Include PIM Module by default
Status: RESOLVED INTENTIONAL
Alias: None
Product: plasmashell
Classification: Plasma
Component: Digital Clock widget (show other bugs)
Version: 5.27.9
Platform: Arch Linux Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-11-20 12:39 UTC by matthias.schrumpf
Modified: 2023-11-29 23:10 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description matthias.schrumpf 2023-11-20 12:39:37 UTC
SUMMARY
The PIM module should be included in the Digital Clock applet by default. It contains very basic and useful functionality for the applet. 
Alternatively, if the PIM module isn't available, there should be some indication in the settings of Digital Clock telling the user why it isn't and what steps the user can take to enable it. 

STEPS TO REPRODUCE
0. If you have KDE PIM addons installed, uninstall the package. 
1. Click on Digital Clock widget
2. Click the settings symbol in the top right
3. Click the "Calendar" tab

OBSERVED RESULT
In the "Avaliable modules" section, there are exactly three entries with checkboxes you can enable: alternative calendars, astronomic events and holidays. 

EXPECTED RESULT
There should be another checkbox here for enabling the PIM module so that calendar events show up in the calendar view you get when clicking the Digital Clock applet. 
If this module isn't available due to an unmet prerequisite, then there should be a note here telling me what the problem is. 

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 5.27.9
KDE Frameworks Version: 5.112.0
Qt Version: 5.15.11
Kernel Version: 6.6.1-arch1-1 (64-bit)
Graphics Platform: X11

ADDITIONAL INFORMATION
On Arch and Arch-based distros, the option for the PIM module can be made available by installing the package kdepim-addons.
Comment 1 Nate Graham 2023-11-29 23:10:19 UTC
The PIM module is in a separate package (kdepim-addons) because installing it pulls in a bunch of Akonadi stuff, which some users have a reflexive distaste for. If we made it a mandatory component, that would amount to making Akonadi mandatory for Plasma and we'd never hear the end to it. Bad press for years, unfortunately.

Notifying the user about it being missing might seem like an alternative, but what if the user doesn't use the KDE PIM apps? In that case they just see a pointless message/button all the time, taunting them for not using KDE PIM apps.

We could in theory only show the message if KDE PIM apps are installed but the kdepim-addons repo isn't installed... but really this is a packaging issue in the distro. Installing one should install or at least recommend the other. And if the PIM apps are pre-installed, then kdepim-addons should certainly be pre-installed as well. We explicitly recommend this at https://community.kde.org/Distributions/Packaging_Recommendations, in fact.

So I don't think we have any freedom of movement to change anything here, sorry.