Bug 451998 - Akonadi Account Wizard unable to add gmail based account
Summary: Akonadi Account Wizard unable to add gmail based account
Status: RESOLVED DUPLICATE of bug 410872
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: Account Wizard (show other bugs)
Version: 5.19.3
Platform: Manjaro Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-03-28 14:53 UTC by Matthew de Detrich
Modified: 2022-11-30 19:01 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matthew de Detrich 2022-03-28 14:53:49 UTC
SUMMARY
So in summary I have a situation where there there is some state on my KDE installation with either Kmail or Akonadi whereby I am unable to add my gmail account and by add my gmail account I mean going through the gmail wizard which when detecting `IMAP` should bring up the Google account web popup to sign into your gmail account.

I know that this is due to my system specifically and not with my Gmail permissions/accounts due to the fact that I have another PC where I managed to successfully add the Gmail account without any problems.

I have also attempted as much as possible to completely wipe all configs and state with Akonadi and Kmail , i.e.

rm -r ~/.local/share/akonadi/
rm -r ~/.config/akonadi*
rm -r ~/.config/kmail2rc
rm -r ~/.config/kmailsearchindexingrc
rm -r ~/.local/share/akonadi_migration_agent/
rm -r ~/.local/share/kmail2/

But it has no effect

STEPS TO REPRODUCE
1. Open KMail
2. Go to Settings -> Add Account 
3.  Put in details for a Gmail account (should detect as IMAP)

OBSERVED RESULT
The "Find settings provider on internet" just instantly bugs out and no google login page is observed. If you ignore this and continue through the wizard when you try and refresh the account afterwards you get a

Resource Google Mail (mdedetrich) is broken.
Could not read the password: user rejected wallet access 

EXPECTED RESULT
"Find settings provider on internet" should not bug out instantly but instead take a few seconds (since this is meant to be doing something) and then at this point a Google login page should appear asking for your Gmail settings

SOFTWARE/OS VERSIONS
Operating System: Manjaro Linux
KDE Plasma Version: 5.24.3
KDE Frameworks Version: 5.91.0
Qt Version: 5.15.3
Kernel Version: 5.16.14-1-MANJARO (64-bit)
Graphics Platform: X11
Processors: 12 × Intel® Core™ i7-8700K CPU @ 3.70GHz
Memory: 31.3 GiB of RAM
Graphics Processor: NVIDIA GeForce GTX 1080 Ti/PCIe/SSE2

ADDITIONAL INFORMATION
Comment 1 Aitor 2022-11-30 18:52:30 UTC
For what is worth I can confirm this bug on my end:
Operating System: openSUSE Tumbleweed 20221128
KDE Plasma Version: 5.26.3
KDE Frameworks Version: 5.100.0
Qt Version: 5.15.7
Kernel Version: 6.0.8-1-default (64-bit)
Graphics Platform: Wayland
Comment 2 Aitor 2022-11-30 18:54:19 UTC
Seems like a duplicate of https://bugs.kde.org/show_bug.cgi?id=410872
Comment 3 Aitor 2022-11-30 19:01:15 UTC

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