Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sync Chain Code/QR Code disappearing when importing code fails #2812

Closed
kjozwiak opened this issue Jan 3, 2019 · 5 comments
Closed

Sync Chain Code/QR Code disappearing when importing code fails #2812

kjozwiak opened this issue Jan 3, 2019 · 5 comments
Assignees

Comments

@kjozwiak
Copy link
Member

kjozwiak commented Jan 3, 2019

Description

When you you fail a sync chain code import via Enter a sync chain code, the code and QR code under Start a new sync chain will won't be displayed as exampled below. Once you either refresh brave://sync or close/re-open, the code and QR code will re-appear.

Steps to Reproduce

  1. launch brave with sync enabled (0.59.14 Chromium: 72.0.3626.28 in this case)
  2. go into brave://sync
  3. click on Start a new sync chain and ensure that you have a code/QR code
  4. go back to the main sync screen and click on Enter a sync chain code
  5. click on Confirm Sync Code and press OK when you get the error
  6. go back into Start a new sync chain and you'll notice that the sync codes/QR are not being displayed

Actual result:

synccode

Expected result:

screen shot 2019-01-03 at 4 42 19 pm

screen shot 2019-01-03 at 4 42 25 pm

Reproduces how often:

100% reproducible when using the above STR.

Brave version (brave://version info)

Brave 0.59.14 Chromium: 72.0.3626.28 (Official Build) beta(64-bit)
Revision 997b1040b63bac324e815797ba52be0cd8f616ed-refs/branch-heads/3626@{#461}
OS Mac OS X

Reproducible on current release:

  • Does it reproduce on brave-browser dev/beta builds?

Not reproducible using 0.58.18 Chromium: 71.0.3578.98 which is the current release. Opened 0.58.18 Chromium: 71.0.3578.98 using --enable-brave-sync and couldn't reproduce the issue. Seems when you press OK on the failed message, the entire modal is closed. With 0.59.14 Chromium: 72.0.3626.28, pressing OK just closes the error message.

Additional Information

Possibly related to #2602 & #2604. CCing @cezaraugusto

@kjozwiak kjozwiak added bug feature/sync priority/P3 The next thing for us to work on. It'll ride the trains. QA/Yes labels Jan 3, 2019
@kjozwiak kjozwiak added this to the 1.x Backlog milestone Jan 3, 2019
@kjozwiak kjozwiak removed the priority/P3 The next thing for us to work on. It'll ride the trains. label Jan 3, 2019
@kjozwiak
Copy link
Member Author

kjozwiak commented Jan 3, 2019

Removed priority/P3 as refreshing brave://sync or closing/re-opening the tab recovers both codes.

@btlechowski
Copy link

Reproduced on

Brave 0.59.14 Chromium: 72.0.3626.28 (Official Build) beta(64-bit)
Revision 997b1040b63bac324e815797ba52be0cd8f616ed-refs/branch-heads/3626@{#461}
OS Windows 7

image

@srirambv
Copy link
Contributor

srirambv commented Jan 4, 2019

This is also reproduced when you reset sync and try to enable sync again as mentioned in scenario 2 in #2801

@GeetaSarvadnya
Copy link

Reproducible on

Brave 0.59.14 Chromium: 72.0.3626.28 (Official Build) beta (64-bit)
Revision 997b1040b63bac324e815797ba52be0cd8f616ed-refs/branch-heads/3626@{#461}
OS Windows 10

@cezaraugusto cezaraugusto self-assigned this Jan 4, 2019
@srirambv srirambv added the priority/P4 Planned work. We expect to get to it "soon". label Jan 15, 2019
@rebron rebron removed this from the 1.x Backlog milestone Feb 7, 2019
@AlexeyBarabash
Copy link
Contributor

Can reproduce it.
I will take this issue, it looks the issue goes from brave_sync_service_impl.cc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

9 participants