Closed Bug 601447 Opened 15 years ago Closed 1 year ago

"Remove All Shown" deletes all logins (passwords) when filtered without results.

Categories

(Thunderbird :: Preferences, defect, P3)

defect

Tracking

(thunderbird_esr115 wontfix, thunderbird_esr128? fixed)

RESOLVED FIXED
132 Branch
Tracking Status
thunderbird_esr115 --- wontfix
thunderbird_esr128 ? fixed

People

(Reporter: lists, Assigned: welpy-cw)

References

(Regression)

Details

(Keywords: dataloss, regression)

Attachments

(1 file)

User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.10) Gecko/20100915 Ubuntu/10.04 (lucid) Firefox/3.6.10 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.10) Gecko/20100915 Ubuntu/10.04 (lucid) Firefox/3.6.10 I had multiple passwords for Facebook, some of which were not correct. I opened the Saved Passwords screen and filtered to show "facebook" passwords. I then clicked "Remove All". It removed all of my saved passwords instead of just those listed. Reproducible: Always Steps to Reproduce: 1. Open "Saved Passwords". 2. Filter by something. 3. Click "Remove All". 4. Confirm. Actual Results: All passwords are deleted. Expected Results: That Firefox would only delete those passwords shown. I do realise that the confirm box warns that all passwords will be deleted, but it caught me and I consider myself quite an experienced user.
Severity: normal → enhancement
Component: Security → Preferences
QA Contact: firefox → preferences
Component: Preferences → Password Manager
Product: Firefox → Toolkit
QA Contact: preferences → password.manager
Severity: enhancement → normal
Status: UNCONFIRMED → NEW
Ever confirmed: true
Summary: "Remove All" passwords when a filter is applied should only remove those shown → "Remove All" passwords when a filter is applied should only remove those shown, or be disabled.
Only the visible passwords are deleted but the dialog thinks they were all deleted. If you re-open the dialog, the logins that didn't match the filter will still be there.
Summary: "Remove All" passwords when a filter is applied should only remove those shown, or be disabled. → "Remove All" passwords when a filter is applied makes it seem like all passwords were deleted
See Also: → 654812
Build ID 20160126030244 User Agent Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:47.0) Gecko/20100101 Firefox/47.0 Hi, I have investigated this issue and I have found 2 scenarios: #1 Steps to reproduce: 1. Have multiple saved logins. 2. Go to about:config#security and click on "Saved Logins...". 3. Enter a search term that returns 2 or 3 items(in my case I searched for google and had 3 different Google accounts listed). 4. Without selecting anything click "Remove All" and confirm the removal. 5. Clear the Search field. Actual results: 4. The filtered logins are removed. 5. All logins are displayed, except the ones removed at step 4. #2 Steps to reproduce: 1. Have multiple saved logins. 2. Go to about:config#security and click on "Saved Logins...". 3. Enter a search term that returns no items, for example a symbol. 4. Click the "Remove All" button and confirm the removal. 5. Clear the Search field. Actual results: 3. After the search is performed, there are no entries displayed. 4. "Remove All" button is active. After clicking on it, the remove all dialog is displayed. 5. No entries are displayed because they were removed at step 4. Based on the 2 scenarios presented above what should be the expected result? * Should the "Remove All" button remove all Saved Logins regardless of searched terms? * Should the "Remove All" button only remove the searched entries? Thanks, Cipri
Flags: needinfo?(vseerror)
Flags: needinfo?(MattN+bmo)
(In reply to Ciprian Muresan [:cmuresan] from comment #4) > Based on the 2 scenarios presented above what should be the expected result? > * Should the "Remove All" button remove all Saved Logins regardless of > searched terms? > * Should the "Remove All" button only remove the searched entries? > > Thanks, > Cipri Possibly neither. It seems to me, to avoid confusion: 1. "remove" should be changed to "remove selected" 2. "remove all" should be disabled if any items are selected
Flags: needinfo?(vseerror)
Whiteboard: [passwords:management]
Flags: needinfo?(MattN+bmo)
Priority: -- → P3
Component: Password Manager → Preferences
Product: Toolkit → Thunderbird
Whiteboard: [passwords:management]
Severity: normal → S3
Duplicate of this bug: 1870456
No longer duplicate of this bug: 1870456
See Also: → 1870456
See Also: → 1874646

(In reply to Ciprian Muresan [:cmuresan], Ecosystem QA from comment #4)

I have investigated this issue and I have found 2 scenarios:

#1
Steps to reproduce:

  1. Have multiple saved logins.
  2. Go to about:config#security and click on "Saved Logins...".
  3. Enter a search term that returns 2 or 3 items(in my case I searched for
    google and had 3 different Google accounts listed).
  4. Without selecting anything click "Remove All" and confirm the removal.

This has since been renamed to "Remove All Shown" in this case.

  1. Clear the Search field.

Actual results:
4. The filtered logins are removed.
5. All logins are displayed, except the ones removed at step 4.

So I think scenario #1 is okay.

#2
Steps to reproduce:

  1. Have multiple saved logins.
  2. Go to about:config#security and click on "Saved Logins...".
  3. Enter a search term that returns no items, for example a symbol.
  4. Click the "Remove All" button and confirm the removal.

Since this is being displayed as "Remove All Shown" in this case as well …

  1. Clear the Search field.

Actual results:
3. After the search is performed, there are no entries displayed.
4. "Remove All" button is active. After clicking on it, the remove all
dialog is displayed.
5. No entries are displayed because they were removed at step 4.

… this is an unexpected outcome, to say the least. The "Remove All Shown" button should definitely be disabled if there aren't any entries shown.

Keywords: dataloss, regression
Regressed by: 1338036
Summary: "Remove All" passwords when a filter is applied makes it seem like all passwords were deleted → "Remove All Shown" passwords deletes all passwords if the filter returns no results
Assignee: nobody → h.w.forms
Status: NEW → ASSIGNED
Summary: "Remove All Shown" passwords deletes all passwords if the filter returns no results → "Remove All Shown" deletes all logins (passwords) when filtered without results.
Target Milestone: --- → 132 Branch

Pushed by toby@thunderbird.net:
https://hg.mozilla.org/comm-central/rev/3546109a8cde
Disable "Remove All Shown" logins when filtered without results. r=mkmelin

Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED

Comment on attachment 9427049 [details]
Bug 601447 - Disable "Remove All Shown" logins when filtered without results. r=mkmelin

[Approval Request Comment]
Regression caused by (bug #): bug 1338036
User impact if declined: loss of all saved passwords
Testing completed (on c-c, etc.): c-c and beta
Risk to taking this patch (and alternatives if risky): none

Attachment #9427049 - Flags: approval-comm-esr128?

Comment on attachment 9427049 [details]
Bug 601447 - Disable "Remove All Shown" logins when filtered without results. r=mkmelin

[Triage Comment]
Richard, are both patches needed to fix this?

Attachment #9427049 - Flags: approval-comm-esr128? → approval-comm-esr128+
Flags: needinfo?(richard.marti)
Attachment #9427049 - Flags: approval-comm-esr128+

Are you asking in the wrong bug? I had nothing done in this bug.

Flags: needinfo?(richard.marti)
Attachment #9427049 - Flags: approval-comm-esr128?

(In reply to Richard Marti (:Paenglab) from comment #12)

Are you asking in the wrong bug? I had nothing done in this bug.

Must be! Sorry..

Comment on attachment 9427049 [details]
Bug 601447 - Disable "Remove All Shown" logins when filtered without results. r=mkmelin

[Triage Comment]
Approved for esr128

Attachment #9427049 - Flags: approval-comm-esr128? → approval-comm-esr128+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: