Open Bug 1764756 Opened 4 years ago Updated 2 months ago

Edit mode is still open after "Remove All Logins" on another tab

Categories

(Firefox :: about:logins, defect, P3)

Firefox 99
defect

Tracking

()

People

(Reporter: exploratory666, Unassigned, NeedInfo)

Details

(Keywords: good-first-bug, Whiteboard: [lang=js])

Attachments

(1 file, 3 external files, 2 obsolete files)

[Affected versions]:

99.0.1 (64-bit)
101.0a1 (64-bit)

[Affected Platforms]:

macOS 10.15.7 (19H524)

[Prerequisites]:

Have a valid FxA account that contains at least one login saved.

[Steps to reproduce]:

  1. Open the latest Nightly browser with the profile from prerequisites.
  2. Navigate to about:logins page.
  3. click one of the saved logins.
  4. Click on the Edit button.
  5. edit the username.
  6. edit password.
  7. Go to the about:preferences#sync page using a new tab.
  8. Click on the “Sign Out...” button.
  9. check the “Delete data from this device (passwords, history, bookmarks, etc.)” checkbox from the pop-up.
  10. Click on the “Sign Out” button from the pop-up.
  11. switch back to the about:logins tab.

[Expected Results]:
All logins are successfully removed.

[Actual Results]:
The Edit mode is still there and the "Save Changes" button has no response.

[Notes]:

  • The "Remove" button on the "Remove this login?" pop-up has no response, too.
  • Can still reveal the password.

:exploratory666 thanks for reporting this bug and attaching video, good catch!

Severity: -- → S3
Priority: -- → P3
Summary: Edit mode is still open after signing out → Edit mode is still open after removing login on another tab
Summary: Edit mode is still open after removing login on another tab → Edit mode is still open after "Remove All Logins" on another tab
Mentor: sgalich
Keywords: good-first-bug

Can I get assigned? Thanks.

Assignee: nobody → glavina.nikola5
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true

This good-first-bug hasn't had any activity for 2 months, it is automatically unassigned.
For more information, please visit auto_nag documentation.

Assignee: glavina.nikola5 → nobody
Status: ASSIGNED → NEW
Whiteboard: [lang=js]

I would like to work on this, can I have this assigned to me please?
I would also greatly appreciate mentors, as this is my first time contributing to a Mozilla (or any for that matter) project.

Is this issue still open? I saw that that someone already had a review posted, but has since not followed up. As it turns out our code was pretty similar.

Flags: needinfo?(sgalich)

Sourab yes, it's still open and seems like there are only tests missing for this patch to be good to land. Feel free to pick it up and bring across the finish line! See Tim's comments here https://phabricator.services.mozilla.com/D144526#4725073

Flags: needinfo?(sgalich) → needinfo?(sourvad)

The editing attribute remains as true for the login-item element when all logins are removed in a new tab.
This causes the login-item to remain on the UI and be unresponsive.

Assignee: nobody → sourvad
Status: NEW → ASSIGNED

Similar to the original bug report, the same problem happens when the create new login mode is active. This is now fixed.
Added tests for both scenarios, i.e. edit mode resetting, and create mode resetting.

Depends on D163168

Attachment #9305452 - Attachment is obsolete: true

Hey Serg, I think I have completely nuked my repo trying to rebase it, as instructed by Tim here https://phabricator.services.mozilla.com/D163169/new/#5362035. Mercurial is confusing and when I try to rebase, it keeps saying "abort: source and destination form a cycle". I think my branch is changeset is already on central, since hg pull central saying nothing to change, and diff and status show nothing.

I backup the files for my changes just in case.

Could you point in as to what is the correct thing to do? Since I only changed 2 files, I don't mind somehow resetting everything and just plugging those files in.

Flags: needinfo?(sourvad) → needinfo?(sgalich)

Fixed a test where it did not remove the login it added, resulting in any subsequent test adding the same login to throw an errer.
Introduced functions to remove all logins, and to close the remove all window.

Depends on D163169

This good-first-bug hasn't had any activity for 2 months, it is automatically unassigned.
For more information, please visit auto_nag documentation.

Assignee: sourvad → nobody
Status: ASSIGNED → NEW

Hi, If there's no one assigned to this bug can I get assigned.

Hi does this issue still need working on ?

Yes, there were attempts to solve it before, but it didn't get to the end of the review process. So it's up for grabs.

Mentor: sgalich
Flags: needinfo?(sgalich)

Hey Sergey, I would like to work on this issue and I believe I would be able to fix it. If this will be assigned to me, I'll be really happy to work on this issue.

Attachment #9384169 - Attachment is obsolete: true

Hi, is this issue still available to be fixed? if yes, may I give a try?

Assignee: nobody → sourvad
Status: NEW → ASSIGNED

This good-first-bug hasn't had any activity for 2 months, it is automatically unassigned.
For more information, please visit BugBot documentation.

Assignee: sourvad → nobody
Status: ASSIGNED → NEW
Assignee: nobody → glavina.nikola5
Status: NEW → ASSIGNED

This good-first-bug hasn't had any activity for 2 months, it is automatically unassigned.
For more information, please visit BugBot documentation.

Assignee: glavina.nikola5 → nobody
Status: ASSIGNED → NEW

Hii, if this is still open can I pick it up?

Hi, can this be assigned to me?

Flags: needinfo?(kcochrane)

:mtigley is checking to see if someone on their team would be available to help mentor this

Flags: needinfo?(kcochrane) → needinfo?(mtigley)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: