Bug 468298 - Clicking on list item for Google account does nothing
Summary: Clicking on list item for Google account does nothing
Status: RESOLVED FIXED
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_kaccounts (show other bugs)
Version: 5.27.2
Platform: Other Linux
: NOR major
Target Milestone: ---
Assignee: Dan Leinir Turthra Jensen
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-04-08 17:11 UTC by Nate Graham
Modified: 2023-04-18 23:38 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
working live session (183.95 KB, image/png)
2023-04-18 01:07 UTC, Harald Sitter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nate Graham 2023-04-08 17:11:24 UTC
STEPS TO REPRODUCE
1. systemsettings kcm_kaccounts
2. Click on Add New Account > Google

OBSERVED RESULT
Nothing happens. In the terminal window, I see:
QDBusError("org.freedesktop.DBus.Error.ServiceUnknown", "The name is not activatable")

EXPECTED RESULT
An account wizard or something opens.

ADDITIONAL INFORMATION
This is in a built-from-source Plasma 5 session on top of Fedora 37 packages. Have not tested with the distro-provided session yet. Will do so shortly.
Comment 1 Nate Graham 2023-04-08 17:22:44 UTC
Reproduces in the distro-provided session.
Comment 2 Natalie Clarius 2023-04-11 13:57:27 UTC
Do you have signond installed?

Do you have /usr/share/dbus-1/services/com.google.code.AccountsSSO.SingleSignOn.service?
Comment 3 Nate Graham 2023-04-11 14:03:11 UTC
(In reply to Natalie Clarius from comment #2)
> Do you have signond installed?
Yep:

$ which signond 
/usr/bin/signond

> Do you have
> /usr/share/dbus-1/services/com.google.code.AccountsSSO.SingleSignOn.service?
Yep:

$ ls -la /usr/share/dbus-1/services/com.google.code.AccountsSSO.SingleSignOn.service
-rw-r--r--. 1 root root 84 Jul 23  2022 /usr/share/dbus-1/services/com.google.code.AccountsSSO.SingleSignOn.service
Comment 4 Harald Sitter 2023-04-18 01:07:21 UTC
Created attachment 158181 [details]
working live session

I'm inclined to say this is a Nate vs. DBus problem more than a bug. It works just fine in the fedora live session
Comment 5 Nate Graham 2023-04-18 04:28:43 UTC
I reproduced the issue on a distro-provided session with no source-built packages being used, though. Regardless, lowering priority since no one else seems to be able to reproduce the issue, so it can't be *that* common.
Comment 6 Harald Sitter 2023-04-18 09:20:03 UTC
Well, our install-session script did/does mess with dbus configurations. I wouldn't entirely discount the possibility of that having something to do with this report. Getting ServiceUnknown while the service file clearly exists is suspicious at the very least
Comment 7 Nate Graham 2023-04-18 14:40:43 UTC
As usual, my response is that all I'm doing is following the instructions on the wiki to get built-from-source DBus stuff working, so if that documentation produces incorrect results, someone who understands how DBus works needs to revise it.
Comment 8 Harald Sitter 2023-04-18 17:30:23 UTC
Fair point. We may need a place to track mystery dbus problems though, having them on individual products when they require a particular set of skills to debug makes them difficult to connect the people with the skills to the bugs :)

Meanwhile I have a grand idea, I'll PM you.
Comment 9 Nate Graham 2023-04-18 17:32:29 UTC
Right, it's definitely not ideal to have that scattered in random bug reports that are really about setup issues. Perhaps it's a good topic for in-person debugging  during the upcoming Plasma sprint.

Either way, I'll happily close this bug report if we can trace it to a local setup issue.
Comment 10 Nate Graham 2023-04-18 18:48:52 UTC
Harald has helpfully been debugging this with me and it doesn't look like there is any issue in KDE code here. So far it's looking like it might be caused by a bug in dbus-broker itself. Either way, no KDE issue; closing.
Comment 11 Nate Graham 2023-04-18 23:38:51 UTC
Actually it was our bug after all. It's fixed with https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/2835.