Bug 168231 - REGRESSION(r211967): [GTK] Glitch rendering backgrounds after hovering elements in HiDPI
Summary: REGRESSION(r211967): [GTK] Glitch rendering backgrounds after hovering elemen...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKitGTK (show other bugs)
Version: Other
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-02-13 05:32 PST by Adrian Perez
Modified: 2017-02-15 00:40 PST (History)
4 users (show)

See Also:


Attachments
Screen capture demoing the issue (GIF, ~4 MiB) (4.16 MB, image/gif)
2017-02-13 05:32 PST, Adrian Perez
no flags Details
Even more background glitches in AC mode (without needing to hover-unhover) (189.46 KB, image/png)
2017-02-13 05:41 PST, Adrian Perez
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Adrian Perez 2017-02-13 05:32:35 PST
Created attachment 301346 [details]
Screen capture demoing the issue (GIF, ~4 MiB)

In some websites, after hovering an element which changes the background, the original
background is not correctly restored when the element is not hovered anymore. Check the
attached GIF for a demo of how this looks when the issue is triggered by PhpReport
(https://github.com/Igalia/phpreport).

This happens both an AC and non-AC modes, but only in HiDPI: manually setting the
window scale factor to 1x in GNOME Tweak Tool makes the glitches go away.
Comment 1 Adrian Perez 2017-02-13 05:41:35 PST
Created attachment 301347 [details]
Even more background glitches in AC mode (without needing to hover-unhover)

Moreover, when AC is enabled, there are additional background rendering
glitches which show already as soon as the page loads, without needing
to hover/unhover elements. It looks like those glitches could be related.
Comment 2 Adrian Perez 2017-02-13 05:42:36 PST
These are happening at least since WebKitGTK+ 2.14.4, and they also happen
in the current Git “master” with MiniBrowser.
Comment 3 Adrian Perez 2017-02-13 06:15:25 PST
Carlos García suggested reverting r211967 (http://trac.webkit.org/changeset/211967).
Doing that makes all the glitches go away (both in AC and non-AC modes). Adding Miguel
Gómez (the author of r211967) in the loop as well, hoping that he can take a look at
this.
Comment 4 Miguel Gomez 2017-02-15 00:40:25 PST
We've decided to rollback r211967 and work a better solution for the scrolling problem. Due to that this is not reproducible anymore, so closing.