Bug 476526 - Can't add Google account: after authenticating, the account in the list shows "Configured account does not exist" (have to set it up in KOrganizer, which has a Refresh button)
Summary: Can't add Google account: after authenticating, the account in the list shows...
Status: REPORTED
Alias: None
Product: Merkuro
Classification: Applications
Component: general (show other bugs)
Version: 23.08.2
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Claudio Cambra
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-11-03 23:24 UTC by phrxmd
Modified: 2023-11-28 09:52 UTC (History)
2 users (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 phrxmd 2023-11-03 23:24:44 UTC
SUMMARY
I can't set up a Google Groupware account through Merkuro Calendar. I run into bug 473897 where a newly-added account is shown in the list as "Configured account does not exist". However, unlike KOrganizer that allows me to manually refresh the list through a Reload button, Merkuro has no such button and I can't force it to refresh its account list. As a result, the account stays non-functional.

STEPS TO REPRODUCE
1. Go to "Settings" → "Configure Merkuro Calendar" → "Accounts", hit "Add Account"
2. Select "Google Groupware"
3. Hit "Setup"
4. Go to the browser window that appears, enter your Google account data, authenticate against Google, allow Akonadi to access your account
5. Go back to Merkuro. You now have an Akonadi window with the calendars and tasks from your Google account. Hit "OK"
6. The account list now shows your new Google account, but it says "Configured account does not exist". 

OBSERVED RESULT
The account list now shows your new Google account, but it says "Configured account does not exist". 
Probably Akonadi hasn't refreshed its account list yet, apparently it doesn't do that automatically. 

The workaround is to set up the account not in Merkuro, but in KOrganizer, where the account list has a "Reload" button that does a force-refresh. 

The underlying behaviour is bug 473897. However, in KOrganizer there is a workaround in the form of the Reload button. That way setting up Google accounts is awkward, but possible. In Merkuro it's impossible.

EXPECTED RESULT
The account list should show your new Google account and it should be populated and functional immediately.

This would probably require fixing bug 473987? If fixing the underlying bug is impossible, Merkuro should have a force-reload button like KOrganizer does.

SOFTWARE/OS VERSIONS
Merkuro Version: 23.08.2
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 Dmitrii Chermnykh 2023-11-28 09:52:07 UTC
After I've added a new google account I got the same issue. Then I've killed akonadi's processes and Merkuro. After restart the account is in "ready" state and works as expected