Skip to content
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.

Saved address doesn't show under about:autofill but shows suggestion on forms #4349

Closed
srirambv opened this issue Sep 28, 2016 · 7 comments · Fixed by #4659
Closed

Saved address doesn't show under about:autofill but shows suggestion on forms #4349

srirambv opened this issue Sep 28, 2016 · 7 comments · Fixed by #4659

Comments

@srirambv
Copy link
Collaborator

srirambv commented Sep 28, 2016

Did you search for similar issues before submitting this one?
Yes

Describe the issue you encountered:
Saved address doesn't show under about:autofill but shows suggestion on forms

Expected behavior:
Should show the saved address under about:autofill

  • Platform (Win7, 8, 10? macOS? Linux distro?):
    Windows 10 x64
  • Brave Version:
    0.12.3dev-RC1 (Clean install)
  • Steps to reproduce:
    1. Add new address in about:autofill
    2. Click on save. Nothing happens
    3. Go to http://www.roboform.com/filling-test-all-fields, Double click on first name, autofill suggestion come. When clicked autofills all saved information
    4. Open about:autofill doesnt show the saved address
    5. Repeat steps 1-3 with new details, new details also shown in autofill suggestion
    6. Close all other tabs and open about:about, click on about:autofill
    7. Click on add address, Edit address modal doesn't show up when the page is opened from about:about. Only works when you do it from preferences page or manually open about:autofill (See screeshot gif)

Logged #4350 for the autofill modal issue

cc: @darkdh

@bbondy
Copy link
Member

bbondy commented Sep 28, 2016

For me in step ii) when I click on save. Nothing happens. @darkdh has the same result as me. Can you guys think of any reason difference? If you move away your whole brave profile directory does it still reproduce?

@luixxiul
Copy link
Contributor

I got a tricky combination:

clipboard01

if I put just s{2,4} in Name, the entry cannot be saved. otherwise the entry can be saved as above.

@darkdh
Copy link
Member

darkdh commented Sep 28, 2016

This is mine on 0.12.3 RC1 windows 10
screen shot 2016-09-28 at 20 54 03

@srirambv
Copy link
Collaborator Author

For me anything I type gets saved but just doesn't show under saved address. But lists all of them as suggestions in form (Reproduced by moving %appdata%brave folder and created a new profile)

image

@luixxiul
Copy link
Contributor

why does the autofill pulldown appear there by the way?

@srirambv
Copy link
Collaborator Author

srirambv commented Sep 28, 2016

Its showing in the roboform page but I just kept the mouse cursor on Autofill page to show saved address doesn't list. Ideally it shouldn't show in tab preview isn't it!!?

@bridiver
Copy link
Collaborator

bridiver commented Oct 7, 2016

there are actually two race conditions issues here

  1. After saving the state, the autofill page immediately updates and can potentially try to read an address from the autofill db that hasn't persisted yet (OnPersonalDataChanged has not fired). Without listening for that callback there is no way to know when the ui should actually update
  2. The race condition in Basic tab structure #1 triggers a appActions.removeAutofillAddress(addressDetail) because the profile data is empty. That call removes the data from the appState, but doesn't necessarily remove it from the autofill db because it hasn't been persisted there yet

@darkdh darkdh self-assigned this Oct 7, 2016
@darkdh darkdh added this to the 0.12.6dev milestone Oct 10, 2016
darkdh added a commit that referenced this issue Oct 11, 2016
fix #4349
requires brave/muon#70

Auditors: @bridiver

Test Plan:
1. Prepare a fresh install brave (version > 0.12.3)
2. Lauch brave
3. open about:autofill
4. Add an address
5. The address entry should show on the page
6. Add a credit card
7. The credit card entry should show on the page
8. Verify address and credit card on http://www.roboform.com/filling-test-all-fields
@darkdh darkdh modified the milestones: 0.12.5dev, 0.12.6dev Oct 11, 2016
darkdh added a commit that referenced this issue Oct 11, 2016
fix #4349
requires brave/muon#70

Auditors: @bridiver

Test Plan:
1. Prepare a fresh install brave (version > 0.12.3)
2. Lauch brave
3. open about:autofill
4. Add an address
5. The address entry should show on the page
6. Add a credit card
7. The credit card entry should show on the page
8. Verify address and credit card on http://www.roboform.com/filling-test-all-fields
darkdh added a commit that referenced this issue Oct 11, 2016
fix #4349
requires brave/muon#70

Auditors: @bridiver

Test Plan:
1. Prepare a fresh install brave (version > 0.12.3)
2. Lauch brave
3. open about:autofill
4. Add an address
5. The address entry should show on the page
6. Add a credit card
7. The credit card entry should show on the page
8. Verify address and credit card on http://www.roboform.com/filling-test-all-fields
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants