New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 785094 link

Starred by 1 user

Issue metadata

Status: Duplicate
Merged: issue 273150
Owner: ----
Closed: Mar 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 1
Type: Bug



Sign in to add a comment

User avatar captured through camera is not synced across devices

Project Member Reported by sdantul...@chromium.org, Nov 15 2017

Issue description

Google Chrome	64.0.3265.0 (Official Build) dev (64-bit)
Revision	0
Platform	10128.0.0 (Official Build) dev-channel 

What steps will reproduce the problem?
(1) Login to user account and open Settings -> People -> Change Picture
(2) Click on the camera icon and capture photo
(3) Observe that user profile is updated with this photo
(4) On another chromebook, try to add the same user account

What is the expected result?
'Set profile picture' screen should not be displayed while adding user account. The captured camera image above should sync automatically.

What happens instead?
Profile picture is not synced. 'Set profile picture' screen is displayed.
 
Cc: r...@chromium.org alemate@chromium.org reve...@chromium.org xiy...@chromium.org
Components: UI>Shell>OOBE
Labels: OS-Chrome
FWIW, I occasionally see this behavior with my existing photo, i.e. sometimes when I log in to a newly imaged device I get the "choose photo" page and sometimes I do not. So this is probably unrelated to the recent 'change picture' UI changes.

Comment 2 by xiy...@chromium.org, Nov 15 2017

Does camera image sync ever worked?

It seems to me that captured camera image is of type USER_IMAGE_EXTERNAL [1]. The type is synced. But only the index from the default avatars or user profile image would be applied [2][3]. And I don't see where we sync the actual bytes of the camera image.

[1] https://cs.chromium.org/chromium/src/chrome/browser/chromeos/login/screens/user_image_screen.cc?rcl=b29e18bd4a3e16084b090e661b284f737d71d4fb&l=121
[2] https://cs.chromium.org/chromium/src/chrome/browser/chromeos/login/users/avatar/user_image_sync_observer.cc?rcl=b29e18bd4a3e16084b090e661b284f737d71d4fb&l=33
[3] https://cs.chromium.org/chromium/src/chrome/browser/chromeos/login/users/avatar/user_image_sync_observer.cc?rcl=b29e18bd4a3e16084b090e661b284f737d71d4fb&l=103
We do. It's complicated. I forget the details. I think we store the image as an encoded URL. Eventually my profile image (which at one point was captured by a camera on a device) syncs. Sometimes right away, but sometimes not.

Mergedinto: 273150
Status: Duplicate (was: Untriaged)

Sign in to add a comment