Bug 422928

Summary: Creating new online account for Google results in double authentication and errors
Product: [Applications] systemsettings Reporter: Bernie Innocenti <bernie>
Component: kcm_kaccountsAssignee: Telepathy Bugs <kde-telepathy-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal CC: katyaberezyaka, nate
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Bernie Innocenti 2020-06-13 17:43:35 UTC
Creating a new Google account from systemsettings / Online Accounts opens another authentication window just after the account is created.

Found this output in the systemsettings stderr:

QQmlEngine::setContextForObject(): Object already has a QQmlContext
QQmlEngine::setContextForObject(): Object already has a QQmlContext
Qt WebEngine seems to be initialized from a plugin. Please set Qt::AA_ShareOpenGLContexts using QCoreApplication::setAttribute before constructing QGuiApplication.
Unexpected topLevelWindows found: 4 please report a bug
Unexpected topLevelWindows found: 4 please report a bug
QQmlEngine::setContextForObject(): Object already has a QQmlContext
Error:
         "Access grant not present"
file:///usr/lib64/qt5/qml/org/kde/kirigami.2/styles/org.kde.desktop.plasma/Units.qml:94: TypeError: Cannot read property 'longDuration' of null
file:///usr/lib64/qt5/qml/org/kde/kirigami.2/styles/org.kde.desktop.plasma/Units.qml:100: TypeError: Cannot read property 'shortDuration' of null
file:///usr/lib64/qt5/qml/org/kde/kirigami.2/styles/org.kde.desktop.plasma/Units.qml:106: TypeError: Cannot read property 'veryLongDuration' of null


SOFTWARE/OS VERSIONS
KDE Plasma Version: 5.18.5
KDE Frameworks Version: 5.70.1
Qt Version: 5.14.2
kaccounts-integration-20.04.1-1.fc32.x86_64
kaccounts-providers-20.04.1-1.fc32.x86_64


ADDITIONAL INFORMATION

Note: my Google account has 2FA. Using the yubikey from the login window was not working, so I switched to the OTP method.

Note 2: The Google login window came up in Japanese because my IP is located in Japan. Is the browser view setting the HTTP language negotiation headers?
Comment 1 Nate Graham 2023-08-02 16:58:03 UTC

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