Closed Bug 1478339 Opened 6 years ago Closed 5 years ago

unexpected scrollbar on vk.com

Categories

(Core :: Graphics: WebRender, defect, P3)

Unspecified
All
defect

Tracking

()

RESOLVED FIXED
Tracking Status
firefox-esr52 --- unaffected
firefox-esr60 --- unaffected
firefox61 --- unaffected
firefox62 --- disabled
firefox63 --- disabled
firefox64 --- disabled
firefox65 --- fixed

People

(Reporter: she357, Assigned: kvark)

References

(Blocks 1 open bug, )

Details

(Keywords: nightly-community, regression)

Attachments

(2 files)

Attached image firebug.jpg
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:63.0) Gecko/20100101 Firefox/63.0
Build ID: 20180724223402

Steps to reproduce:

Having webrender enabled, go to any vk.com. Open the overflow music player and play a song.


Actual results:

There will appear Windows' scrollbar next to the music player box.


Expected results:

It isn't supposed to be there and won't appear if webrender is disabled.
Component: Untriaged → Graphics: WebRender
Product: Firefox → Core
Thank you!

STR:
1. Open https://vk.com/audios-13623631?section=playlists&z=audio_playlist-13623631_7871567
2. Click on "Play all".
3. Click on the top-left VK logo.
4. Click on the music player on the top and scroll its content a bit down.

Doesn't happen without WebRender. Ask me if you want to get account data.
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Unspecified → All
Version: 63 Branch → Trunk
mozregression --good 2018-04-15 --bad 2018-07-25 --pref gfx.webrender.all:true -a https://bit.ly/2AjjQ4X
> 10:35.65 INFO: Last good revision: d08944831e26fc9ec613e1fa2dc35d00332586ac
> 10:35.65 INFO: First bad revision: 5b15326286d466b5cf4889160cc09b59bdde08fd
> 10:35.65 INFO: Pushlog:
> https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=d08944831e26fc9ec613e1fa2dc35d00332586ac&tochange=5b15326286d466b5cf4889160cc09b59bdde08fd

> 5b15326286d4	Martin Robinson — Bug 1465058 - Update for API change in WR PR 2756. r=kats
> ccda83410bf4	Kartikaya Gupta — Bug 1465058 - Update reftest annotations for WR PR 2784. r=Gankro
> a3f7b4a6d494	Kartikaya Gupta — Bug 1465058 - Update webrender to commit 8e697f8cb1f1aab2e5f6b9b903eb7191340b10c5. r=Gankro

https://github.com/servo/webrender/compare/3829687ffbe8d55885d71a3d5e5e79216251548f...8e697f8cb1f1aab2e5f6b9b903eb7191340b10c5
Has Regression Range: --- → yes
Has STR: --- → yes
Keywords: regression
Summary: Windows' scrollbar in a place it shouldn't. Webrender, 63.0a1 (2018-07-24) (64-bit) Nightly → unexpected scrollbar on vk.com
Flags: needinfo?(mrobinson)
I'm not sure I'm going to have cycles to look at this, but I'm almost certain that scrollbars in Firefox are handled outside of WebRender (unless you are seeing a WebRender scrollbar).
Flags: needinfo?(mrobinson)
I reproduced this using Jan's login credentials on my mac. Some notes:

- There is a <div class="ui_scroll_outer"> that is the relevant scrolling div
- This div has a 50px right-margin, which pushes the "real" Gecko scrollbar out 50px, which is why it appears misplaced
- The scrollbar that *appears* to be the regular scrollbar is actually created in the content itself and adjusted based on scroll events

i.e. the page is doing that trick where it has a scrollable div, reimplements the scrollbar in content, and makes the div wider than it appears so that the real scrollbar is clipped out

- However, in this case the real scrollbar still gets rendered (this is the bug)
- Also, the scrollbar disappears once the displayport expires (adjustable by apz.displayport_expiry_ms).
Attached file Reduced testcase
Here's a reduced testcase. Mouse over the gradient box and scroll
Priority: -- → P2
Priority: P2 → P3
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Fixed by https://github.com/servo/webrender/pull/3315.
Assignee: nobody → dmalyshau
Depends on: 1507848
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: