Closed Bug 1684524 Opened 5 years ago Closed 5 years ago

Searching for download items, pressing Ctrl-A, and selecting "Remove from History" will remove all download items instead of just filtered ones

Categories

(Firefox :: Downloads Panel, defect, P1)

Firefox 86
Desktop
All
defect
Points:
3

Tracking

()

VERIFIED FIXED
86 Branch
Iteration:
86.3 - Jan 11 - Jan 24
Tracking Status
firefox-esr78 --- wontfix
firefox84 --- wontfix
firefox85 --- wontfix
firefox86 --- verified
firefox87 --- verified

People

(Reporter: kjoonlee, Assigned: mak)

Details

(Keywords: dataloss)

Attachments

(1 file)

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:84.0) Gecko/20100101 Firefox/84.0

Steps to reproduce:

  1. Fill Downloads list with downloads
  2. Open Downloads list
  3. Search for a download using the search box, to filter downloads
  4. Click on a download then press Ctrl-A (or Cmd-A on Mac) to select all filtered downloads
  5. Right-click and click on "Remove from History"

Actual results:

All downloads (even ones which were not visible) are deleted.

Expected results:

Only the visible downloads should be deleted.

It's as if Ctrl-A selects all downloads, not just the visible ones.

Component: Untriaged → Downloads Panel

(In reply to Kyungjoon Lee from comment #1)

It's as if Ctrl-A selects all downloads, not just the visible ones.

Indeed, this appears to be what happens. :-(

Severity: -- → S3
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Unspecified → All
Hardware: Unspecified → Desktop
Summary: Searching for download items, pressing Ctrl-A, and selecting "Remove from History" will remove all download items → Searching for download items, pressing Ctrl-A, and selecting "Remove from History" will remove all download items instead of just visible/selected ones
Assignee: nobody → mak
Severity: S3 → S2
Keywords: dataloss
Priority: -- → P1
Summary: Searching for download items, pressing Ctrl-A, and selecting "Remove from History" will remove all download items instead of just visible/selected ones → Searching for download items, pressing Ctrl-A, and selecting "Remove from History" will remove all download items instead of just filtered ones
Iteration: --- → 86.3 - Jan 11 - Jan 24
Points: --- → 3
Pushed by mak77@bonardo.net: https://hg.mozilla.org/integration/autoland/rev/ac653d664162 Selecting all downloads after a search should not select excluded downloads. r=Gijs
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → 86 Branch

I have reproduced this issue in Release v85.0 on Windows 10. The Mac OS and Ubuntu OS do not actually reproduce the original issue because (before the fix) there wasn't an option to select more than one downloaded files and remove them from history, however, it is now possible due to this bug fix so the behavior is identical between the three operating systems in the fixed builds.

Status: RESOLVED → VERIFIED

(In reply to Bodea Daniel [:danibodea] from comment #7)

[...] The Mac OS and Ubuntu OS do not actually reproduce the original issue [...]

JFYI I could reproduce the original issue on macOS before reporting it, using Cmd-A.

(In reply to Bodea Daniel [:danibodea] from comment #7)

[...] (before the fix) there wasn't an option to select more than one downloaded files and remove them from history [...]

JFYI I could filter, select the first item, then scroll to bottom, then shift-click the last item, to select and remove all visible items after filtering. Selecting multiple items was also possible through Ctrl-Click, etc.

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: