pressing the spacebar on the Downloads panel is both page-down and toggle-pause
Categories
(Firefox :: Downloads Panel, defect, P3)
Tracking
()
People
(Reporter: tomprogers, Assigned: tanner.drake)
Details
(Keywords: good-first-bug)
Attachments
(1 file, 1 obsolete file)
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.111 Safari/537.36
Steps to reproduce:
- have several completed downloads in the Downloads Panel
- start a new long-running download (2-min or more)
- use pointer to select the in-progress download in the the Downloads Panel
- press keyboard spacebar
Actual results:
download pauses AND list of downloads scrolls down one viewport-length
Expected results:
either the download should be pause OR the list should scroll, but not both
![]() |
||
Updated•5 years ago
|
These large test files can be used to attempt to reproduce the issue.
Couldn't reproduce it with Ubuntu 18.04 and current Nightly.
Comment 2•5 years ago
•
|
||
I can with 84.0a1 (2020-10-23) (64-bit) on macOS.
Comment 3•5 years ago
|
||
This is apparently handled here, we should probably preventDefault() or stopPropagation() on the event, or the richlistbox will also try to handle it
https://searchfox.org/mozilla-central/rev/d866b96d74ec2a63f09ee418f048d23f4fd379a2/browser/components/downloads/content/downloads.js#859-861
the most complex part of the fix may actually to write a test, there's not many downloads tests, but some can be found under https://searchfox.org/mozilla-central/source/browser/components/downloads/test/browser
Assignee | ||
Comment 4•5 years ago
|
||
I can work on this.
Assignee | ||
Comment 5•5 years ago
|
||
Updated•5 years ago
|
Assignee | ||
Comment 6•5 years ago
|
||
Assignee | ||
Comment 7•5 years ago
|
||
ah I didn't mean to create a new revision. Is it possible to delete the old one? or delete the new one and I can patch the old one?
Comment 8•5 years ago
•
|
||
yes, you can amend changes to a changeset (using hg amend, I suggest using the evolve hg extension), merge changesets using hg rebase --collapse.
You can also mark an attachment as obsolete in Bugzilla and abandon a revision in Phabricator.
If you ran mach bootstrap, it should have also created an "hg wip" command that helps you seeing your changesets dependencies easily,
Updated•5 years ago
|
Comment 10•5 years ago
|
||
bugherder |
Updated•5 years ago
|
Comment 11•4 years ago
|
||
I managed to reproduce the issue using an oldere version on Nightly (2020-10-23) on Windows 10 x64.
I retested everything using Nightly 87.0a1 and Firefox 86.0b5 on Windows 10 x64, Ubuntu 18.04 x64 and macOS 10.13. The issue is not reproducing anymore.
Description
•