RESOLVED FIXED262078
[mac] WebDriver sometimes taking screenshots with transparent grey line at the top and no rounded corners
https://bugs.webkit.org/show_bug.cgi?id=262078
Summary [mac] WebDriver sometimes taking screenshots with transparent grey line at th...
Sam Sneddon [:gsnedders]
Reported 2023-09-25 16:00:20 PDT
see, e.g., https://wpt.fyi/results/css/css-contain?q=%28label%3Ainterop-2022-contain%20or%20label%3Ainterop-2023-contain%29%20is%3Adifferent&run_id=5179945829007360&run_id=5129256222326784&run_id=5105446492307456 e.g. https://wpt.fyi/analyzer?screenshot=sha1%3Aa8193aa1d36a2e7c269c79da3fdfef70d986dd6d&screenshot=sha1%3A1bc22df9e9199ea9890c7d35fbf48b11b87cf11b or https://wpt.fyi/analyzer?screenshot=sha1%3A8d5e20aecf8b5cc808f48b90c8ee7e09f88d3c38&screenshot=sha1%3Abc778655cc0444e393609feb97a0948c43475817 We seem to end up with a transparent grey overlay at the top (the shadow from the tab bar?), one pixel high. What's more odd given that is we also are lacking the rounded corners we'd expect from the window, which extends for more than a single pixel—so we aren't just cropping the screenshot of the window off-by-one-pixel, we have some larger difference here.
Attachments
Bad screenshot from the first example (16.80 KB, image/png)
2023-11-02 10:06 PDT, Sam Sneddon [:gsnedders]
no flags
Good screenshot from the first example (16.63 KB, image/png)
2023-11-02 10:07 PDT, Sam Sneddon [:gsnedders]
no flags
Radar WebKit Bug Importer
Comment 1 2023-09-25 16:00:29 PDT
Sam Sneddon [:gsnedders]
Comment 2 2023-11-02 10:06:56 PDT
Created attachment 468459 [details] Bad screenshot from the first example
Sam Sneddon [:gsnedders]
Comment 3 2023-11-02 10:07:08 PDT
Created attachment 468460 [details] Good screenshot from the first example
EWS
Comment 4 2024-08-06 04:23:11 PDT
Committed 281887@main (bdd0eaf1d28f): <https://commits.webkit.org/281887@main> Reviewed commits have been landed. Closing PR #31013 and removing active labels.
Qianlang Chen
Comment 5 2024-09-03 10:45:51 PDT
Reopened Bugzilla. [WebDriver] Remove the unused ForceSoftwareCapturingViewportSnapshot option, tracking revert in https://bugs.webkit.org/show_bug.cgi?id=279075.
Qianlang Chen
Comment 6 2024-09-16 10:43:59 PDT
This bug was reopened automatically by mistake. The described WebDriver screenshot has been fixed.
Note You need to log in before you can comment on or make changes to this bug.