Autoscroll anchor is incorrectly rendered with non-compositing window manager
Categories
(Core :: Graphics: WebRender, defect)
Tracking
()
Tracking | Status | |
---|---|---|
firefox-esr68 | --- | unaffected |
firefox75 | --- | disabled |
firefox76 | --- | disabled |
firefox77 | --- | disabled |
People
(Reporter: botond, Unassigned)
References
(Blocks 1 open bug, Regression)
Details
(Keywords: regression)
Attachments
(2 files)
STR
- Run today's Firefox nightly on Linux
- Enable "Use autoscrolling" in Preferences
- Load a scrollable page (such as planet.mozilla.org)
- Position the mouse in the right side of the page
- Click the middle mouse button to activate the autoscroll anchor
Expected results
The autoscroll anchor is rendered.
Actual results
Only a white circle is rendered in place of the autoscroll anchor.
Reporter | ||
Comment 1•5 years ago
|
||
Seems to be WebRender related: setting gfx.webrender.forced-disabled=true
makes the bug go away.
Comment 2•5 years ago
|
||
Nightly 20200427094322 + latest mc, KDE, X11, Debian Testing, Intel Iris 6100 (Broadwell GT3)
I can't reproduce this bug.
latest m-c: mozregression --launch 2b0e2483e2eaaef7ac49866a98e8e857520bdd5c --pref gfx.webrender.all:true general.autoScroll:true -a https://planet.mozilla.org
bug 1625720 comment 12 fixed bug 1632004 (it was just a grey box for me). Now it is a slightly transparent autoscroll icon.
Reporter | ||
Comment 3•5 years ago
|
||
Regression window with gfx.webrender.all:true
points to bug 1549965.
Reporter | ||
Comment 4•5 years ago
|
||
(Regression window without gfx.webrender.all:true
is the same on my hardware, as WR has been enabled by default since before then.)
Comment 5•5 years ago
|
||
non-compositing KDE: Slightly "transparent" autoscroll icon has a round screenshot of the place it was first drawn as background.
on my hardware
Which graphics card, desktop environment and distribution do you have?
Reporter | ||
Comment 6•5 years ago
|
||
(In reply to Jan Andre Ikenmeyer [:darkspirit] from comment #5)
non-compositing KDE: Slightly "transparent" autoscroll icon has a round screenshot of the place it was first drawn as background.
Yes, that's consistent with what I'm seeing. (When I initially wrote "white circle", it was because I was middle-clicking on a white area of the page.)
on my hardware
Which graphics card, desktop environment and distribution do you have?
Intel HD Graphics 620, KDE, Debian 10.
Reporter | ||
Comment 7•5 years ago
|
||
One more regression range, with layers.gpu-process.force-enabled:true
: https://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=dd386b5b9fa7f5cd6dc4bbbfa0503b3eb2969af5&tochange=02c8644c45b1f143263d30d769d86c2d1058812e. (There are no more granular builds in that range.) Note, the first autoscroll gesture still exhibits the bug even before that range, but subsequent ones are fine.
Comment 8•5 years ago
•
|
||
Activated autoscroll and scrolled a bit down.
It's most likely the same "shaped Basic in GPU process" bug as bug 1567791, but won't be fixed by bug 1574746. Basic should not be used in GPU process.
bug 1574746 will fix bug 1567791 by upgrading main menu, identity panel and page actions menu from Basic to OpenGL. (That introduces a black background behind the main menu like webextension panels already have. That's the same behavior the OpenGL compositor always had.)
With bug 1622633 (WebRender for context menu, autoscroll, tooltips), the autoscroll icon would get a black rectangle as background as well.
bug 1479135 might fix these black backgrounds of shaped widgets on non-compositing window managers by "including shaped window support in the accelerated path".
I have confirmed that https://www.ssec.wisc.edu/~billh/bp/shape.c achieves a shaped OpenGL context. It looks similar to what has been done for Basic: https://hg.mozilla.org/mozilla-central/rev/6af61c29b5497d864fd7c1ceac0084590b097218 ("XShapeCombineMask")
Comment 9•5 years ago
|
||
(In reply to Botond Ballo [:botond] from comment #7)
One more regression range, with
layers.gpu-process.force-enabled:true
: https://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=dd386b5b9fa7f5cd6dc4bbbfa0503b3eb2969af5&tochange=02c8644c45b1f143263d30d769d86c2d1058812e. (There are no more granular builds in that range.) Note, the first autoscroll gesture still exhibits the bug even before that range, but subsequent ones are fine.
Yep, that's the same as bug 1567791 comment 23.
Updated•5 years ago
|
Reporter | ||
Comment 10•5 years ago
|
||
(In reply to Botond Ballo [:botond] from comment #6)
(In reply to Jan Andre Ikenmeyer [:darkspirit] from comment #5)
non-compositing KDE: Slightly "transparent" autoscroll icon has a round screenshot of the place it was first drawn as background.
Yes, that's consistent with what I'm seeing. (When I initially wrote "white circle", it was because I was middle-clicking on a white area of the page.)
I should clarify further: I just see the "round screenshot of the place it was first drawn", and no autoscroll icon over that background.
Comment 11•5 years ago
|
||
Sometimes (like a few minutes ago) I don't see an autoscroll icon at all. Just nothing. My impression is that this occures only with non-compositing KDE.
Reporter | ||
Comment 12•5 years ago
|
||
This is what it looks like to me -- that small round fragment fo displaced background is where the autoscroll indicator should be.
Comment 13•5 years ago
|
||
This strongly reminds me of bug 588403.
Comment 14•5 years ago
|
||
Playing around with nsViewManager::InvalidateWidgetArea could confirm or deny it being related to that bug.
Comment 15•5 years ago
•
|
||
In comment 8 I had totally missed that bug 1574746 will also upgrade the autoscroll icon from Basic to WebRender.
mozregression --repo try --launch a16df35d2f9e9902ec9f484a15f9a3637f7a2b4d --pref gfx.webrender.all:true general.autoScroll:true
Do you see the autoscroll icon, but with a black background, in this try build?
If yes, we can close this as duplicate of bug 1574746. bug 1479135 is about the remaining problem.
Reporter | ||
Comment 16•5 years ago
|
||
(In reply to Jan Andre Ikenmeyer [:darkspirit] from comment #15)
mozregression --repo try --launch a16df35d2f9e9902ec9f484a15f9a3637f7a2b4d --pref gfx.webrender.all:true general.autoScroll:true
Do you see the autoscroll icon, but with a black background, in this try build?
Yes, I do!
Comment 17•5 years ago
|
||
Great! :)
Description
•