Mouse-wheel scroll stopped working in browserAction popup with WebRender
Categories
(WebExtensions :: General, defect, P2)
Tracking
(firefox-esr78 unaffected, firefox84 unaffected, firefox85 unaffected, firefox86 fixed)
Tracking | Status | |
---|---|---|
firefox-esr78 | --- | unaffected |
firefox84 | --- | unaffected |
firefox85 | --- | unaffected |
firefox86 | --- | fixed |
People
(Reporter: erosman, Assigned: hiro)
References
(Regression)
Details
(Keywords: regression)
Attachments
(2 files)
Since the last 2-3 upgrade (AFAIK), the mouse-wheel scroll stopped working in the browser Action popup on windows.
Additionally, installed and tested with "Multi-Account Containers" to verify the issue is not limited to a particular WebExtension.
After checking with #nightly:mozilla.org
it seems there is no problem on Linux.
I am not able to use mozregression as it doesn't work on win7.
Note: mouse-wheel scroll works fine in bookmarks popup.
Updated•5 years ago
|
Comment 1•5 years ago
|
||
(In reply to erosman from comment #0)
Since the last 2-3 upgrade (AFAIK), the mouse-wheel scroll stopped working in the browser Action popup on windows.
By 2-3 upgrades, is this nightly or something else?
Waiting for regression test from QA
![]() |
||
Comment 2•5 years ago
|
||
Steps:
- install https://addons.mozilla.org/en-US/firefox/addon/multi-account-containers/
- Click on toolbutton of the addon
- Click "Manage Containers" at bottom of arrow panel
- Create several containers so that scroll bar will appear
- Try scroll the list with mouse Wheel
Regression window:
https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=8c8bbc19e7f90f621bc92f805db1fddcdad605b4&tochange=d8bd960f9b82ca8d9ef340ae488673b6f0c0669e
Reporter | ||
Comment 3•5 years ago
•
|
||
By 2-3 upgrades, is this nightly or something else?
Nightly Indeed .... bug version is also set to Firefox 86
Updated•5 years ago
|
Assignee | ||
Comment 4•5 years ago
|
||
erosma, thanks for reporting this issue! We have a similar report (bug 1683612), but it's scrollable, the scrollbar doesn't appear, is your issue different? not scrollable?
Reporter | ||
Comment 5•5 years ago
|
||
Reporter | ||
Comment 6•5 years ago
•
|
||
the scrollbar doesn't appear, is your issue different? not scrollable?
In this case, the scrollbar appears but does not scroll with mouse-wheel on Windows 7.
Assignee | ||
Comment 7•5 years ago
|
||
Thanks! That's weird, it sounds an opposed behavior. :/
Assignee | ||
Comment 9•5 years ago
|
||
Thank you, Alice now I confirmed it on my Windows 10 laptop as well, but it looks like this is WebRender specific.
Comment 10•5 years ago
|
||
Set release status flags based on info from the regressing bug 1493208
Assignee | ||
Comment 11•5 years ago
|
||
I just realized that keyboard scrolling works fine.
Assignee | ||
Comment 12•5 years ago
|
||
ScrollMetadata.mLineScrollAmount
is (0, 0) on Windows for some reasons, thus mouse wheel delta is calculated (0, 0), which means user can't scroll by mouse wheel.
Though I am not 100% sure, it seems this SetScrollLineAmount isn't called.
Assignee | ||
Comment 13•5 years ago
|
||
While I was in a rabbit hole to try to find out where the (0, 0) line scroll amount comes from, kats told me on Matrix that using gfxVars::UseWebRender() might be causing this problem such as a check in APZCTreeManager::GetTargetAPZC. The part is actually the culprit of this issue.
We should (probably) fix other places where we use gfxVars::UseWebRender(), I will file bugs for them.
Assignee | ||
Comment 14•5 years ago
|
||
Assignee | ||
Comment 15•5 years ago
|
||
Probably I could add a test for the change, will try it later.
Comment 16•5 years ago
|
||
(In reply to erosman from comment #0)
After checking with
#nightly:mozilla.org
it seems there is no problem on Linux.
I can reproduce it on Linux with WebRender.
Assignee | ||
Comment 17•5 years ago
|
||
(In reply to Danny Colin [:sdk] from comment #16)
(In reply to erosman from comment #0)
After checking with
#nightly:mozilla.org
it seems there is no problem on Linux.I can reproduce it on Linux with WebRender.
Because of this restriction.
Updated•5 years ago
|
Updated•5 years ago
|
Assignee | ||
Comment 21•5 years ago
|
||
Given that there are a bunch of bug reports on this issue, I will land attachment #9194620 [details] even though unfortunately the test in the change doesn't work properly on Mac OS because nsIDOMWindowUtils.sendNativeMouseScrollEvent doesn't work properly for popup windows on Mac. I am going to skip the test on Mac and will file a follow up bug to enable the test on Mac.
Comment 22•5 years ago
|
||
Comment 24•5 years ago
|
||
bugherder |
Reporter | ||
Comment 25•5 years ago
|
||
I can confirm, on 86.0a1 (2021-01-06) (64-bit) Windows 7, Mouse-wheel scroll is working again.
Comment 26•5 years ago
|
||
(In reply to Hiroyuki Ikezoe (:hiro) from comment #21)
Given that there are a bunch of bug reports on this issue, I will land attachment #9194620 [details] even though unfortunately the test in the change doesn't work properly on Mac OS because nsIDOMWindowUtils.sendNativeMouseScrollEvent doesn't work properly for popup windows on Mac. I am going to skip the test on Mac and will file a follow up bug to enable the test on Mac.
Thanks Hiro!
Based on bug 1684445 I think you could add a click test (instead of scrolling) that should cover Mac as well.
Description
•