After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 687871 - Pick up my avatar for the system from Online accounts
Pick up my avatar for the system from Online accounts
Status: RESOLVED OBSOLETE
Product: gnome-settings-daemon
Classification: Core
Component: general
unspecified
Other All
: Normal enhancement
: ---
Assigned To: gnome-settings-daemon-maint
gnome-settings-daemon-maint
Depends on:
Blocks:
 
 
Reported: 2012-11-07 18:13 UTC by Andreas Nilsson
Modified: 2019-03-20 11:05 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Andreas Nilsson 2012-11-07 18:13:44 UTC
Probably wrong product, but not sure where to file.
After I've set up, say a Google account, it would be nice if the photo for my local GNOME account (in the user menu and such) would be set to that automatically (provided I don't have one set already).
Comment 1 Debarshi Ray 2012-12-05 19:29:39 UTC
Should be implemented as a gnome-settings-daemon plugin. Reassigning accordingly after talking to Bastien.
Comment 2 Bastien Nocera 2012-12-05 19:36:59 UTC
Needs more details on how exactly it should be implemented. I use different avatars for Facebook, Google+ and Twitter for example.
Comment 3 Bastien Nocera 2012-12-05 19:39:15 UTC
And some people have asked for Gravatar support too (bug 525027, bug 570124).
Comment 4 Andreas Nilsson 2012-12-06 12:43:34 UTC
Chatted briefly with aday about this in #gnome-design

<andreasn> aday, so to begin with it would be nice for the User Accounts dialog was able to pick up your faces from Facebook, Google etc
<andreasn> what it should do by default, I'm not sure yet
<aday> it would be nice to be able to go with most recently updated
<andreasn> act on the first one? Since that seems to be most important to you?
<aday> if not, perhaps the order in which the accounts were added?
<aday> andreasn, right :)
Comment 5 Allan Day 2012-12-07 10:27:46 UTC
I'd really like to see this bug get fixed. We might want to think about pulling avatars from IM accounts too.

If there is more than one account with an avatar, my suggestion would be to use the most recently updated avatar. If that isn't possible, use the avatar from the account that was added first.

For this to work, there will also need to be a way to manually choose between the avatars that have been pulled from your online accounts. To this end, I've created some mockups for a generic GNOME avatar selection dialog:

https://raw.github.com/gnome-design-team/gnome-mockups/master/avatar-chooser/avatar-chooser.png

An initial implementation of this dialog wouldn't have to include all the functionality described in the mockups.
Comment 6 Bastien Nocera 2012-12-13 14:11:22 UTC
So you'd choose your avatar just as you've chosen your avatar all along, just with a few extra possibilities on offer?

I don't think your mockups add much compared to how we offer it now (with a drop-down menu).

Finally, I'm pretty certain that getting people's avatars isn't easily doable if we don't enable Chat.
Comment 7 Debarshi Ray 2012-12-13 19:18:28 UTC
(In reply to comment #6)
> Finally, I'm pretty certain that getting people's avatars isn't easily doable
> if we don't enable Chat.

I have not investigated all the web APIs out there, but you can get the Google profile picture of the current user without dealing with GTalk or anything else: https://developers.google.com/accounts/docs/OAuth2Login#userinfocall

This is very similar to the way we currently fetch the user's email address once he/she clicks "allow".
Comment 8 Allan Day 2012-12-14 16:19:41 UTC
(In reply to comment #6)
> So you'd choose your avatar just as you've chosen your avatar all along, just
> with a few extra possibilities on offer?

We would automatically select an avatar from an online account. The dialog would then allow you to select an alternative if you prefer, including images from different online accounts.

> I don't think your mockups add much compared to how we offer it now (with a
> drop-down menu).
...

I think it's better than the drop down menu. The main thing it lets us do is show different groups of images from different sources (ie. we can have one section for avatars from online accounts and one section for stock images).

There's also a bunch of other benefits: a modal dialog seems more in line with contemporary design; you also get bigger thumbnails and can do webcam shooting in place. The dialog could also let us include extra features, like a Pictures view similar to what we do for background selection.

By all means get a second opinion from Jon or Jakub though.
Comment 9 Jakub Steiner 2013-03-13 11:23:44 UTC
Allan, I like the idea of autoselecting the online avatar if one has online accounts set up. I even like the lookup order. 'Last changed' would be nice to have for when you never really needed to customiize your avatar with the GNOME UI, but simply changing your avatar _where_ever_ would update your avatar on your GNOME device. 

But even having the system pick the avatar from the first online account set up or even 'any that we can actually figure out' is ok (which might include 'I can get an email address, let's see if I can look up gravatar for that' as a last resort).

I consider all the options above better than mandating to go into a specific avatar selection UI and customizing it manually to get one (but we still need that).
Comment 10 GNOME Infrastructure Team 2019-03-20 11:05:28 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gnome-settings-daemon/issues/195.