GNOME Bugzilla – Bug 525027
Use Gravatar if available
Last modified: 2021-06-09 16:02:02 UTC
I think it would be quite good if the about-me capplet could get someone's Gravatar[1] given their e-mail address, and use it as their face picture. That way, someone's face/avatar could be effortlessly set up on new systems and used throughout the desktop just by entering their e-mail address. [1]: http://gravatar.com/
Created attachment 127352 [details] [review] Add Gravatar support to about-me capplet This adds optional Gravatar support to the about-me capplet, adding a "Use Gravatar" button to the face chooser dialogue. It depends on libsoup-2.4, and doesn't get built if it's not present. It uses async HTTP requests, so shouldn't block, but there's no UI feedback of how long the download is taking --- downloading (up to) four images will not take long though, even on a slow connection. There's currently no code to regularly update the cached face image from gravatar.com. Would this go in gnome-settings-daemon?
What happens if a Gravatar exists for several of the addresses given? Do we need a way to choose the correct one? + _("Use Gravatar"), 1, + } else if (response == 1) { Please use symbolic names instead if numbers. > There's currently no code to regularly update the cached face image from > gravatar.com. Would this go in gnome-settings-daemon? Probably, yes.
(In reply to comment #2) > What happens if a Gravatar exists for several of the addresses given? Do we > need a way to choose the correct one? At the moment, it'll just use the first Gravatar it finds, which I think will be fine in 90% of cases. Ideally, though, there would be a way to choose from multiple Gravatars. However, I think it would only be worth adding if we were also adding other Gravatar-specific UI, such as a progress dialogue for the HTTP operations. > + _("Use Gravatar"), 1, > > + } else if (response == 1) { > > Please use symbolic names instead if numbers. I'll change it in the next patch iteration. :-) > > There's currently no code to regularly update the cached face image from > > gravatar.com. Would this go in gnome-settings-daemon? > > Probably, yes. Filed as bug #570124. Before that's possible, a GConf key needs to be added to indicate the face image should be updated from gravatar.com. I'll put that into the patch once the UI question is answered.
(In reply to comment #3) > At the moment, it'll just use the first Gravatar it finds, which I think will > be fine in 90% of cases. > > Ideally, though, there would be a way to choose from multiple Gravatars. > However, I think it would only be worth adding if we were also adding other > Gravatar-specific UI, such as a progress dialogue for the HTTP operations. I agree we'll probably be fine without it. Just wanted to have raised the question...
Created attachment 127864 [details] [review] Add Gravatar support to about-me capplet (updated) Updated version adds the GConf stuff, fixes a few ref problems and fixes the issue with not using symbolic names.
Ping?
Sorry. We haven't branched yet, and I'd like to keep it that way until .1 at least. I promise I'll try to look at this again shortly aterwards.
Are you planning on branching g-c-c soon, since you've branched g-s-d?
"http%%3A%%2F%%2Fexample.com"? Don't really like the "Use gravatar" in the file chooser buttons, it should at least be disabled if no email addresses were entered.
(In reply to comment #9) > "http%%3A%%2F%%2Fexample.com"? The "d" parameter of the Gravatar API request accepts a URI-encoded redirect URI. We then have to double up the percent signs because it's in a printf. > Don't really like the "Use gravatar" in the file chooser buttons, it should at > least be disabled if no email addresses were entered. I chose it to fit in with the pre-existing "No Image" button there. Better suggestions are welcome. :-)
Moving open accountsdialog tickets from the deprecated and closed "accountsdialog" product to gnome-control-center/User Accounts. Reporter: Retesting the reported problem against GNOME 3.2 or 3.4 and adding a comment here is highly welcome.
*** Bug 662470 has been marked as a duplicate of this bug. ***
Review of attachment 127864 [details] [review]: The patch is outdated. Code have to be ported into gnome-control-center and accountsservice...
Given the work on the avatar chooser (for empathy, user accounts, etc.), we should be adding support Gravatar support in the same way we have G+, Facebook, whatever avatars.
*** Bug 703719 has been marked as a duplicate of this bug. ***
GNOME is going to shut down bugzilla.gnome.org in favor of gitlab.gnome.org. As part of that, we are mass-closing older open tickets in bugzilla.gnome.org which have not seen updates for a longer time (resources are unfortunately quite limited so not every ticket can get handled). If you can still reproduce the situation described in this ticket in a recent and supported software version, then please follow https://wiki.gnome.org/GettingInTouch/BugReportingGuidelines and create a new enhancement request ticket at https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/ Thank you for your understanding and your help.