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 792243 - Update the faces
Update the faces
Status: RESOLVED OBSOLETE
Product: gnome-control-center
Classification: Core
Component: User Accounts
3.26.x
Other Linux
: Normal normal
: ---
Assigned To: Control-Center Maintainers
Control-Center Maintainers
triaged
Depends on:
Blocks: 766670
 
 
Reported: 2018-01-05 14:34 UTC by Allan Day
Modified: 2021-06-09 16:27 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
user-accounts: Update face images (1.68 MB, patch)
2018-01-05 15:21 UTC, Felipe Borges
none Details | Review
user-accounts: Make face images bigger (1.12 KB, patch)
2018-01-05 15:21 UTC, Felipe Borges
none Details | Review
Screenshot: before (left) after (right) (246.09 KB, image/png)
2018-01-05 15:23 UTC, Felipe Borges
  Details
user-accounts: Update face images (1.06 MB, patch)
2018-01-31 13:59 UTC, Felipe Borges
committed Details | Review
user-accounts: Make face images bigger (1.16 KB, patch)
2018-01-31 13:59 UTC, Felipe Borges
committed Details | Review
user-accounts: Allow bigger custom avatars (2.50 KB, patch)
2018-02-07 15:06 UTC, Ondrej Holy
none Details | Review
user-accounts: Remove custom file size limit for avatars (3.30 KB, patch)
2018-02-07 15:06 UTC, Ondrej Holy
none Details | Review

Description Allan Day 2018-01-05 14:34:47 UTC
The faces that are included in the users panel are really old - the style is outdated and they are too small for modern designs as well as hidpi screens.

As a part of redesigning the avatar picker UI [1], I recently curated a new set of images [2] using CC0 licensed images from pexel.com.

The images are 512x512 in size, although the originals of all the images are much bigger.

It would be great if the new images could replace the old ones in the UI. Now might also be a good time to think about making them available at a range of sizes, like we do for icons.

[1] https://wiki.gnome.org/Design/OS/AvatarChooser
[2] https://cloud.gnome.org/index.php/s/0IhoR750nJuUTaA
Comment 1 Felipe Borges 2018-01-05 15:21:43 UTC
Created attachment 366385 [details] [review]
user-accounts: Update face images

The faces that are included in the users panel are really old,
the style is outdated and they are too small for modern designs
as well as hidpi screens.
Comment 2 Felipe Borges 2018-01-05 15:21:52 UTC
Created attachment 366386 [details] [review]
user-accounts: Make face images bigger

Now we present 72x72 faces in a 4x4 grid.
Comment 3 Felipe Borges 2018-01-05 15:23:45 UTC
Created attachment 366387 [details]
Screenshot: before (left) after (right)

Preview
Comment 4 Jeremy Bicha 2018-01-05 16:26:29 UTC
See also bug 704141, but I had a lot of trouble finding the Chrome OS faces again the last time I looked.
Comment 5 Allan Day 2018-01-08 11:19:10 UTC
(In reply to Felipe Borges from comment #3)
> Created attachment 366387 [details]
> Screenshot: before (left) after (right)
> 
> Preview

The 4x4 grid looks better out of those two screenshots. Some other changes to the UI might be nice - making it a popover like in the mockup, and changing to round images. Maybe that's a separate bug though.
Comment 6 Felipe Borges 2018-01-08 11:55:17 UTC
(In reply to Allan Day from comment #5)
> (In reply to Felipe Borges from comment #3)
> > Created attachment 366387 [details]
> > Screenshot: before (left) after (right)
> > 
> > Preview
> 
> The 4x4 grid looks better out of those two screenshots. Some other changes
> to the UI might be nice - making it a popover like in the mockup, and
> changing to round images. Maybe that's a separate bug though.

Yes, the new popover is a WIP. I will post it to another bug soon.
Comment 7 Ondrej Holy 2018-01-31 12:08:34 UTC
Review of attachment 366385 [details] [review]:

This is not applicable on master due to the autotools removal.

I am not sure why, but it seems that only coffee, flower, gamepad, guitar, headphones, hummingbird, mountain and plain can be set as avatars and instead of others I always see the default avatar...
Comment 8 Ondrej Holy 2018-01-31 12:09:07 UTC
Review of attachment 366386 [details] [review]:

Makes sense, thanks.

::: panels/user-accounts/um-photo-dialog.c
@@ +362,3 @@
         g_object_unref (file);
         image = gtk_image_new_from_gicon (icon, GTK_ICON_SIZE_DIALOG);
+        gtk_image_set_pixel_size (GTK_IMAGE (image), 72);

Maybe would be nice to introduce some macro for the icon size.
Comment 9 Felipe Borges 2018-01-31 13:59:49 UTC
Created attachment 367701 [details] [review]
user-accounts: Update face images

The faces that are included in the users panel are really old,
the style is outdated and they are too small for modern designs
as well as hidpi screens.
Comment 10 Felipe Borges 2018-01-31 13:59:54 UTC
Created attachment 367702 [details] [review]
user-accounts: Make face images bigger

Now we present 72x72 faces in a 4x4 grid.
Comment 11 Felipe Borges 2018-01-31 14:03:10 UTC
(In reply to Ondrej Holy from comment #7)
> Review of attachment 366385 [details] [review] [review]:
> 
> I am not sure why, but it seems that only coffee, flower, gamepad, guitar,
> headphones, hummingbird, mountain and plain can be set as avatars and
> instead of others I always see the default avatar...

right. I verified that the issue here is the file sizes being to big for the avatar.

This way I degraded the images just enough for them to be functional. I used gimp quality level in the export jpg tool and most of them didn't require degradation under 85 (which is produces excellent results, according to the gimp documentation https://docs.gimp.org/2.4/en/gimp-images-out.html)

Thanks for your reviews!
Comment 12 Ondrej Holy 2018-01-31 18:35:46 UTC
Review of attachment 367701 [details] [review]:

Looks ok, thanks.
Comment 13 Ondrej Holy 2018-01-31 18:35:48 UTC
Review of attachment 367702 [details] [review]:

Looks ok, thanks.
Comment 14 Ondrej Holy 2018-01-31 18:36:12 UTC
We should also increase the size of manually specified images and images from a webcam. Currently, those images are scaled down to 96x96. But then we can probably also reach the 1MB file limit. It would be nice to reduce the size somehow automatically... though not sure there is something useful in GDK for it.
Comment 15 Felipe Borges 2018-02-05 15:20:45 UTC
Attachment 367701 [details] pushed as ffe5aac - user-accounts: Update face images
Attachment 367702 [details] pushed as 0f893b7 - user-accounts: Make face images bigger
Comment 16 Ondrej Holy 2018-02-05 15:46:08 UTC
Reopening, see Comment 14.
Comment 17 Ondrej Holy 2018-02-07 15:06:23 UTC
Created attachment 368073 [details] [review]
user-accounts: Allow bigger custom avatars

Default set of avatars uses 512x512 currently. However, custom avatars
from file, or webcam are always scaled down to 96x96. Let's increase this
also to 512x512. This change should be safe, because theoretical maximal
file size is 1 MB, which is equal to accountsservice limit.
Comment 18 Ondrej Holy 2018-02-07 15:06:29 UTC
Created attachment 368074 [details] [review]
user-accounts: Remove custom file size limit for avatars

accountsservice has 1 MB limit for avatars, however, users panels
refuses to show avatars bigger than 64 KB for some historical reasons.
But you can still successfully set avatars up to the accountsservice
limit. Let's remove this custom limit and rely just on accountsservice
limits.
Comment 19 André Klapper 2021-06-09 16:27:40 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 bug report at
  https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/

Thank you for your understanding and your help.