Closed Bug 1946718 Opened 7 months ago Closed 1 month ago

[contextual-password-manager] Add/Edit Password Forms are automatically dismissed after performing a search in Password sidebar

Categories

(Toolkit :: Password Manager, defect)

Firefox 137
Desktop
All
defect

Tracking

()

VERIFIED FIXED
142 Branch
Tracking Status
firefox137 --- disabled
firefox138 + wontfix
firefox142 --- verified

People

(Reporter: bhidecuti, Assigned: mtigley)

References

(Blocks 1 open bug, Regressed 1 open bug)

Details

(Whiteboard: [fxcm-cpm-milestones-3-4])

Attachments

(3 files)

Attached video video showing the issue

Found in

  • 137.0a1 (2025-02-07)

Affected versions

  • 137.0a1

Preconditions

  • Add the pref ‘browser.contextual-password-manager.enabled’ in about:config and set it to true
  • Have the Sidebar panel added to the browser toolbar and enabled
  • Have some saved logins

Tested platforms

  • Affected platforms: macOS 13, Windows 11, Ubuntu 22.04
  • Unaffected platforms: none

Steps to reproduce

  1. Click the "Add password" button or "Edit" button in the Password sidebar
  2. Fill in all the fields or edit the existing values (do not press the "Save" button)
  3. Enter some text in the Search box
  4. Observe the behavior

Expected result

  • Confirmation notification should be displayed
  • The "Add/Edit password" form should remain open and not be automatically dismissed

Actual result

  • Confirmation notification is not displayed
  • The "Add/Edit password" form is automatically dismissed

Regression range

  • Not a regression, as this is a new feature

Additional notes

  • See the attached video
  • Also reproducing when Edit password form is open and Add password button is clicked
  • Also reproducing when switching between sidebar options
Type: task → defect

patch ready to land - high priority

Severity: -- → S2

is this still a priority for 138?

Flags: needinfo?(rtriki)

This patch is still a high priority. The remaining work is to fix the existing tests and we will be ready to land.

Flags: needinfo?(rtriki)
Assignee: nobody → mtigley
Status: NEW → ASSIGNED
Regressions: 1978281
Status: ASSIGNED → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 142 Branch
QA Whiteboard: [qa-triage-done-c143/b142][qa-ver-needed-c143/b142]
Flags: qe-verify+
Regressions: 1974508
Regressions: 1979592

Verified using Firefox 142.0b3 on Ubuntu 22.04, macOS 13 and Windows 11. CPM toolbar is no longer displayed when the Add or Edit forms are opened, so the issue is no longer reproducible.
However, the issue still reproduces when switching between sidebar options (as mentioned in the Additional notes section).
@Micah, should we reopen this or track the issue in a different bug? Thanks!

Flags: needinfo?(mtigley)
QA Contact: bhidecuti

Hi Bianca! Thank you for re-testing. Let's create a follow-up issue for the problem still persisting when switching sidebars. The fix for this would be a little more complicated.

Flags: needinfo?(mtigley)

Logged bug 1980147 for the issue when switching sidebars. Based on Comment 7, I'm marking this verified as fixed.

Status: RESOLVED → VERIFIED
QA Whiteboard: [qa-triage-done-c143/b142][qa-ver-needed-c143/b142] → [qa-triage-done-c143/b142][qa-ver-done-c143/b142]
Flags: qe-verify+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: