NEW 280883
[WPE][GTK] YouTube videos display a horizontal black line while the video controls are visible
https://bugs.webkit.org/show_bug.cgi?id=280883
Summary [WPE][GTK] YouTube videos display a horizontal black line while the video con...
Claudio Saavedra
Reported 2024-10-04 04:05:34 PDT
Reproducible as of 1da8673b301a9f2cf90b9d6109b2f05908c5f15a with minibrowser. Opening a video in youtube.com will render a black, 1px line, accross the video, while the controls are visible. Once the media controls are hidden, the line dissapears.
Attachments
Screenshot of MiniBrowser w/ inspector, and composition borders enabled (1.65 MB, image/png)
2024-10-04 04:27 PDT, Adrian Perez
no flags
Adrian Perez
Comment 1 2024-10-04 04:20:17 PDT
This can be reproduced as well in 2.46.0 and .1
Adrian Perez
Comment 2 2024-10-04 04:27:33 PDT
Created attachment 472803 [details] Screenshot of MiniBrowser w/ inspector, and composition borders enabled A quick trip to the inspector shows that the black line seems to be at the same location as the top border of the “div.ytp-gradient-bottom” element. It coincides with its composition top border as well, when enabling composition borders. See the attached image for a screenshot.
Adrian Perez
Comment 3 2024-10-04 04:33:08 PDT
This can also be reproduced in a build with Cairo (-DUSE_SKIA=OFF).
Adrian Perez
Comment 4 2024-10-04 04:39:33 PDT
Also reproducible in WPE. Does not reproduce with device scaling factor 1x... One needs to manually set e.g. a 2x scaling factor by hand or have the compositor report a scale factor other than 1x. My guess at the moment is that this is caused by some issue in the compositor/texmap. Maybe some math rounding problem?
Note You need to log in before you can comment on or make changes to this bug.