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

Issue 620133 link

Starred by 1 user

Issue metadata

Status: Archived
Owner:
Closed: Mar 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 2
Type: Bug



Sign in to add a comment

Sync error notification is displayed when advanced sync settings is opened.

Project Member Reported by jnaveen@chromium.org, Jun 14 2016

Issue description

ENVIRONMENT and STATS
Chrome version: 53.0.2764.0
Platform: 8452.0.0
OS: ChromeOS

REPRO STEPS
1. Sign in to sync on two different clients (desktop & Chromebook)
2. On desktop open advanced sync settings.
3. Change the encryption settings to "All data was encrypted...." option
4. On Chromebook observe that "Sync Error" notification is displayed at the bottom right corner
5. close the notification by pressing the [x] mark
6. Go to settings and click on "Advanced sync settings.." or "Please update your sync passphrase" link.

ACTUAL RESULTS
Advanced sync settings dialogue is opened and also "Sync Error" notification is displayed again.

EXPECTED RESULTS
Advanced sync settings dialogue is opened without the sync error notification being displayed.

ADDITIONAL INFO
This looks like a recent regression. This is not reproduced in the last week's build I have tested (53.0.2759.0)
 
Owner: maxbogue@chromium.org
Status: Assigned (was: Unconfirmed)
Project Member

Comment 2 by sheriffbot@chromium.org, Jul 5 2016

Labels: -M-53 M-54 MovedFrom-53
Moving this nonessential bug to the next milestone.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Labels: Hotlist-Polish
This is still reproduced when recently tested on M57 dev build.
Cc: maxbogue@chromium.org
Owner: pav...@chromium.org
I finally did a little digging on this; Pavel, could it be the result of http://crrev.com/2044003005?

Comment 6 by pav...@chromium.org, Mar 23 2017

Cc: ew...@chromium.org
Status: Started (was: Assigned)
The issue is not related to http://crrev.com/2044003005.

Displaying notification is triggered by SyncServiceObserver::OnStateChanged, the event that gets fired in a number of situations. The logic for displaying notification is in sync_error_notifier_ash.cc. Currently it shows notification if there is no active notification displayed (if previous notification was closed per repro steps). This means that if user dismissed notification and then opened sync settings they will get notification again.

I think we should only show notification once and only show next notification after next user login into chromeos account or if notification is related to different issue (user has entered passphrase and then changed it again from different client). Elias, do you think this behavior is better from UX perspective?

Comment 7 by ew...@chromium.org, Mar 23 2017

+1 to your suggestion. The notification should be showed once-per-login (unless it's a new error).
Project Member

Comment 8 by bugdroid1@chromium.org, Mar 27 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/2870786bb6d391f0ee19f87a84f4278c95154fb0

commit 2870786bb6d391f0ee19f87a84f4278c95154fb0
Author: pavely <pavely@chromium.org>
Date: Mon Mar 27 23:40:48 2017

[Sync] Don't display passphrase notification if user dismissed previous one

The scenario:
- User gets notification to enter passphrase on ChromeOS, then dismisses it
- When user opens sync settings this notification is displayed again even though
  user intention is likely to enter passphrase.

The solution is not to display passphrase notification if user has dismissed
previous one. Notification will be displayed after user signs in into profile
and for any new passphrase (user entered previous one and then changed it again
from remote device).

BUG= 620133 
R=skym@chromium.org

Review-Url: https://codereview.chromium.org/2772783004
Cr-Commit-Position: refs/heads/master@{#459937}

[modify] https://crrev.com/2870786bb6d391f0ee19f87a84f4278c95154fb0/chrome/browser/sync/sync_error_notifier_ash.cc
[modify] https://crrev.com/2870786bb6d391f0ee19f87a84f4278c95154fb0/chrome/browser/sync/sync_error_notifier_ash.h
[modify] https://crrev.com/2870786bb6d391f0ee19f87a84f4278c95154fb0/chrome/browser/sync/sync_error_notifier_ash_unittest.cc

Comment 9 by pav...@chromium.org, Mar 28 2017

Status: Fixed (was: Started)

Comment 10 by dchan@google.com, May 30 2017

Labels: VerifyIn-60
Labels: VerifyIn-61

Comment 12 by dchan@chromium.org, Jan 22 2018

Status: Archived (was: Fixed)

Sign in to add a comment