"Online Accounts" icon and UI appears in g-c-c when gnome-online-accounts package is not installed, ignoring user's registration input.

Bug #869341 reported by Till Kamppeter
40
This bug affects 9 people
Affects Status Importance Assigned to Milestone
gnome-control-center (Ubuntu)
Confirmed
Low
Unassigned
gnome-online-accounts (Ubuntu)
Invalid
Low
Unassigned

Bug Description

On all my Oneiric boxes I have registered my Google account via the GNOME Control Center (from the command line), via the "Online Accounts" panel. I selected this panel, clicked the "+" under the empty account list, chose "Google" (the only choice) for the account and the Google login screen appeared in the dialog. I entered my e-mail address and password, left "Stay signed in" marked and clicked "Sign in". After that I clicked on the button to grant access and the dialog disappeared without the account getting added. Instead, in the terminal I get this output:

----------
till@eee-pc:~$ gnome-control-center &
[1] 15744
till@eee-pc:~$ Gtk-Message: Failed to load module "gnomesegvhandler"

(gnome-control-center:15744): GLib-GIO-CRITICAL **: g_dbus_proxy_call_internal: assertion `G_IS_DBUS_PROXY (proxy)' failed

Changed in gnome-control-center (Ubuntu):
importance: Undecided → High
milestone: none → ubuntu-11.10
Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. Please try to obtain a backtrace following the instructions at http://wiki.ubuntu.com/DebuggingProgramCrash and upload the backtrace (as an attachment) to the bug report. This will greatly help us in tracking down your problem.

Changed in gnome-control-center (Ubuntu):
milestone: ubuntu-11.10 → none
status: New → Incomplete
Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

seb128, the program is not crashing, it seems to keep on running. First, no Apport crash pop-up appears and second, there are no crash/segfault events in /var/log/syslog.

Is gnome-control-center the only executable here? Or is the online accounts screen and/or the dialog for signing into the Google account a separate executable? To which packages do they belong?

Changed in gnome-control-center (Ubuntu):
status: Incomplete → New
Revision history for this message
Sebastien Bacher (seb128) wrote :

could you get a stacktrace of the warning?

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

Found the cause of the problem:

While installing debug symbols for gnome-control-center I ran

dpkg -p gnome-control-center

and saw that it recommends gnome-online-accounts. Then I checked on all my three Oneiric boxes whether gnome-online-accounts is installed. On the machines where I succeeded to register my Google account gnome-online-accounts is installed on the machine where I did not succeed it is not installed. So I did

sudo apt-get install gnome-online-accounts

and after completing the installation I could register my Google account.

So the bug is now the following:

gnome-control-center offers a user interface to register a Google account, even if the backend to do the actual registration is not installed.

It should get fixed by one of the following three possibilities:

1. gnome-control-center should depend on gnome-online-accounts and not only recommend it.

2. gnome-control-center should not show the "Online Accounts" icon if gnome-online-accounts is not installed (perhaps one could move this module completely into the gnome-online-accounts package).

3. gnome-control-center should ask the user to install gnome-online-accounts when clicking the "Online Accounts" icon if the package is not installed yet. If the user accepts installing it, the "Online Accounts" UI will be shown so that the user can register his account(s). If he declines installing it gnome-control-center should return to its main (icon) screen.

It is really not a good usability to show a UI whose backend is not present and simply ignore the user's login input without showing any message. I appreciate a fix very much at least as a zero-day SRU.

Changed in gnome-control-center (Ubuntu):
status: New → Confirmed
milestone: none → oneiric-updates
Changed in gnome-online-accounts (Ubuntu):
status: New → Confirmed
importance: Undecided → High
milestone: none → oneiric-updates
summary: - On Asus eeePC 900 I cannot register my Google account
+ "Online Accounts" icon and UI appears when gnome-online-accounts package
+ is not installed, ignoring user's registration input.
summary: - "Online Accounts" icon and UI appears when gnome-online-accounts package
- is not installed, ignoring user's registration input.
+ "Online Accounts" icon and UI appears in g-c-c when gnome-online-
+ accounts package is not installed, ignoring user's registration input.
Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

Solution (1) is a tiny patch on debian/control, so it could be even done as direct upload into Oneiric, incontrary to solution (2) and (3) which require modifying/writing code and/or moving files between packages. So I suggest fixing via (1) only in Oneiric and via (2) or (3) in Precise.

Revision history for this message
Sebastien Bacher (seb128) wrote :

Thanks Till, setting to Low since gnome-online-account is installed by default so most users will not run into the issue

Changed in gnome-online-accounts (Ubuntu):
assignee: nobody → Rodrigo Moya (rodrigo-moya)
assignee: Rodrigo Moya (rodrigo-moya) → nobody
importance: High → Low
status: Confirmed → Invalid
Changed in gnome-control-center (Ubuntu):
assignee: nobody → Rodrigo Moya (rodrigo-moya)
importance: High → Low
Changed in gnome-control-center (Ubuntu):
assignee: Rodrigo Moya (rodrigo-moya) → nobody
Revision history for this message
David Gräff (david-graeff) wrote :

I'm on Ubuntu 13.10 and the problem mentioned still exists.

Revision history for this message
Wil Wade (willmwade) wrote :

Still exists in Ubuntu 14.04 and 14.10

Revision history for this message
maz pandji (maz-pandji) wrote :

i got the problem too in my 15.04, no fixing ?

Revision history for this message
Rocko (rockorequin) wrote :

It's still an issue in Ubuntu 18.04 and 18.10. g-c-c should really prompt the user to install gnome-online-accounts if it is not installed instead of pretending to work and then failing.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.