<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>422928</bug_id>
          
          <creation_ts>2020-06-13 17:43:35 +0000</creation_ts>
          <short_desc>Creating new online account for Google results in double authentication and errors</short_desc>
          <delta_ts>2023-08-02 16:58:03 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>systemsettings</product>
          <component>kcm_kaccounts</component>
          <version>unspecified</version>
          <rep_platform>Other</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>420280</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Bernie Innocenti">bernie</reporter>
          <assigned_to name="Telepathy Bugs">kde-telepathy-bugs-null</assigned_to>
          <cc>nate</cc>
    
    <cc>null</cc>
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1936790</commentid>
    <comment_count>0</comment_count>
    <who name="Bernie Innocenti">bernie</who>
    <bug_when>2020-06-13 17:43:35 +0000</bug_when>
    <thetext>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:
         &quot;Access grant not present&quot;
file:///usr/lib64/qt5/qml/org/kde/kirigami.2/styles/org.kde.desktop.plasma/Units.qml:94: TypeError: Cannot read property &apos;longDuration&apos; of null
file:///usr/lib64/qt5/qml/org/kde/kirigami.2/styles/org.kde.desktop.plasma/Units.qml:100: TypeError: Cannot read property &apos;shortDuration&apos; of null
file:///usr/lib64/qt5/qml/org/kde/kirigami.2/styles/org.kde.desktop.plasma/Units.qml:106: TypeError: Cannot read property &apos;veryLongDuration&apos; 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?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2244096</commentid>
    <comment_count>1</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2023-08-02 16:58:03 +0000</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 420280 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>