Open Bug 601447 Opened 14 years ago Updated 3 months ago

"Remove All" passwords when a filter is applied makes it seem like all passwords were deleted

Categories

(Thunderbird :: Preferences, defect, P3)

Tracking

(Not tracked)

People

(Reporter: lists, Unassigned)

References

Details

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
You need to log in before you can comment on or make changes to this bug.