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 525027 - Use Gravatar if available
Use Gravatar if available
Status: RESOLVED OBSOLETE
Product: gnome-control-center
Classification: Core
Component: User Accounts
unspecified
Other Linux
: Normal enhancement
: ---
Assigned To: Control-Center Maintainers
Control-Center Maintainers
: 662470 703719 (view as bug list)
Depends on:
Blocks: 570124
 
 
Reported: 2008-03-29 21:20 UTC by Philip Withnall
Modified: 2021-06-09 16:02 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Add Gravatar support to about-me capplet (6.05 KB, patch)
2009-01-27 19:34 UTC, Philip Withnall
needs-work Details | Review
Add Gravatar support to about-me capplet (updated) (9.78 KB, patch)
2009-02-03 18:16 UTC, Philip Withnall
rejected Details | Review

Description Philip Withnall 2008-03-29 21:20:43 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/
Comment 1 Philip Withnall 2009-01-27 19:34:44 UTC
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?
Comment 2 Jens Granseuer 2009-02-01 17:17:45 UTC
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.
Comment 3 Philip Withnall 2009-02-01 18:38:46 UTC
(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.
Comment 4 Jens Granseuer 2009-02-01 19:02:48 UTC
(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...
Comment 5 Philip Withnall 2009-02-03 18:16:02 UTC
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.
Comment 6 Philip Withnall 2009-03-30 18:36:43 UTC
Ping?
Comment 7 Jens Granseuer 2009-04-02 16:23:18 UTC
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.
Comment 8 Philip Withnall 2009-04-26 18:34:39 UTC
Are you planning on branching g-c-c soon, since you've branched g-s-d?
Comment 9 Bastien Nocera 2009-09-09 15:42:06 UTC
"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.
Comment 10 Philip Withnall 2009-09-12 16:57:37 UTC
(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. :-)
Comment 11 André Klapper 2012-03-16 12:06:58 UTC
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.
Comment 12 Bastien Nocera 2012-12-05 19:38:52 UTC
*** Bug 662470 has been marked as a duplicate of this bug. ***
Comment 13 Ondrej Holy 2013-08-05 14:27:46 UTC
Review of attachment 127864 [details] [review]:

The patch is outdated. Code have to be ported into gnome-control-center and accountsservice...
Comment 14 Ondrej Holy 2013-08-05 14:27:49 UTC
Review of attachment 127864 [details] [review]:

The patch is outdated. Code have to be ported into gnome-control-center and accountsservice...
Comment 15 Bastien Nocera 2013-08-06 10:03:10 UTC
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.
Comment 16 Debarshi Ray 2013-08-12 15:20:47 UTC
*** Bug 703719 has been marked as a duplicate of this bug. ***
Comment 17 André Klapper 2021-06-09 16:02:02 UTC
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.