Bug 476530

Summary: E-mail, calendar and groupware accounts should be configurable through the Online Accounts KCM in System Settings
Product: [Applications] kdepim Reporter: phrxmd <philipp.reichmuth>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: wishlist CC: admin, carl, nate, nicolas.fella
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: KAccounts asks for access to Google calendar, contacts and tasks, but does not set up a PIM account to actually access them.

Description phrxmd 2023-11-04 00:41:39 UTC
Created attachment 162853 [details]
KAccounts asks for access to Google calendar, contacts and tasks, but does not set up a PIM account to actually access them.

SUMMARY
The Online Accounts KCM is very limited in the kinds of accounts you can set up through it.

For example I can't set up Google or EWS PIM accounts through the Online Accounts KCM. This is in spite of the fact that when I set up a Google account, I am explicitly prompted to give KDE Online Accounts access to my Google calendar, contacts and tasks. (See screenshot.) This is very confusing for users; it is not obvious why a PIM account can't be set up in this way. To a user it may also seem suspicious; after all why is KDE Online Accounts asking me for access to my calendar, if then it's not going to give that access to me?

I should be able to use System Settings as a single place to manage all my Online Accounts, which includes PIM accounts.

STEPS TO REPRODUCE
1. Go to System Settings → Online Accounts
2. Click "Add new account", select Google account
3. Give KDE Online Accounts permission to access your files, calendar, contacts and tasks
4. Open KOrganizer or Merkuro and look for calendars from the Google account you just created

OBSERVED RESULT
The account you just added does not appear in KDE PIM apps. The only thing I can use it for is uploading videos to Youtube.

If I want to set up a Google or EWS groupware account, I cannot set this up using the Online Accounts KCM - I have to go through a separate UI in the KDE PIM apps.

EXPECTED RESULT
I should be able to add groupware accounts through System Settings - either through the Online Accounts KCM, or through some other KCM for setting up KDE PIM accounts. 

SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20231026
KDE Plasma Version: 5.27.9
KDE Frameworks Version: 5.111.0
Qt Version: 5.15.11
Kernel Version: 6.5.8-1-default (64-bit)
Graphics Platform: Wayland

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2023-11-09 21:00:42 UTC
Indeed, this would need to be integrated in the form of all the PIM apps pulling their data from KAccounts , rather than doing their own things.
Comment 2 Nicolas Fella 2023-11-09 21:01:57 UTC

*** This bug has been marked as a duplicate of bug 432022 ***