GNOME Bugzilla – Bug 761259
Don't use GOA on Unity
Last modified: 2017-04-17 18:20:40 UTC
Under Unity (where we ship gnome-calendar by default now, starting with 16.04 LTS), we add accounts using Ubuntu Online Accounts, not Gnome Online Accounts. It's the same idea but two different services and APIs. At the end of it (from gnome-calendar's POV), it's still EDS. So the direct integration with GOA in gnome-calendar doesn't really work for us. We would ideally provide an equivalent implemention for UOA, but that would be a fair chunk of work. The idea that I had is to instead simply disable and hide the direct integration under Unity and direct users to the control-center for this instead. What do you think about having these patches upstream?
Created attachment 319951 [details] [review] Hide GOA sources on Unity
Created attachment 319952 [details] [review] Spawn Ubuntu's credentials panel instead of the GOA online-accounts one on Unity Show the cog button to launch the control-center in the remaining GtkGrid in this case.
I'm not particularly in favor of having a downstream fix applied to the upstream tree. If we're going to support Ubuntu specificities, the only way to be fair is to support ~every~ distro's specificities - which can grow to be an exponential problem very quickly. But that's just my position. I'm NOT closing this bug for now, let's wait for Erick's input on this issue.
It's fair enough - I will note if it helps that UOA has upstream support in e-d-s and evolution, although I'm not actually adding support for it here of course. :) Hopefully it won't be a problem for you - a few other projects have this kind of thing, for example because we like menubars to be handled a bit differently - but I understand if you don't want it, we can carry this ourselves if necessary.
Here is an alternative proposal: how about implementing goa APIs in uoa ?
(In reply to Matthias Clasen from comment #5) > Here is an alternative proposal: how about implementing goa APIs in uoa ? Maybe that would be possible, I don't particularly know these APIs. That's definitely a bigger project though, and in the meantime it would be good to see this bug solved.
Created attachment 322902 [details] [review] updated version calling the right binary Unity uses unity-control-center, updating the second patch to reflect that (also display an error when the settings can't be started)
I think thats a fine patch to keep downstream. I'll start pushing back a bit against the notion that you can use gnome apps, but expect us to carry the cost of adapting them to your alternative backends.
(In reply to Matthias Clasen from comment #8) > I think thats a fine patch to keep downstream. > > I'll start pushing back a bit against the notion that you can use gnome > apps, but expect us to carry the cost of adapting them to your alternative > backends. Nice interpretation.