roadlabs / chromiumembedded

Automatically exported from code.google.com/p/chromiumembedded
0 stars 1 forks source link

Background flickering #1514

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Save this html page (replace test.jpg with any image):
<html><head>
  <style type="text/css">
     body {
        color:black;
        background-color:white;
        background-image:url(test.jpg);
    }
  </style></head>
<body></body></html>
2. Navigate to this page with cefclient
3. Reload the page or navigate a second time to the same page

What is the expected output? What do you see instead?
The background should remain at screen. Instead, a white flash is displayed.

What version of the product are you using? On what operating system?
With CEF 3.1650.1562 there is no issue.
With CEF 3.1916.1857 and 3.2171.1979 I have this flickering.

Please provide any additional information below.
Win7 on a 12-core CPU and 16GB of RAM (not a slow system)
I don't think that it is a duplication of issue 647 because I don't have any 
issue with dark background and I am not on a slow systems.

Original issue reported on code.google.com by arie.si...@gmail.com on 29 Jan 2015 at 5:10

GoogleCodeExporter commented 9 years ago
How does it behave in Google Chrome on the same system?

Original comment by magreenb...@gmail.com on 29 Jan 2015 at 5:48

GoogleCodeExporter commented 9 years ago
In Google Chrome I have the same behavior. But in previous version of CEF 
(3.1650.1562) I don't.

Original comment by arie.si...@gmail.com on 30 Jan 2015 at 8:13

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Note that non-local background image does not behave the same as local image:

When I navigate a second time to the page with non-local background image (or 
to a second page with the same background), I don't get this white flash.

In fact, there is a white flash when the background image is not loaded from 
cache (local image or with Cache-Control:no-cache). 

Original comment by arie.si...@gmail.com on 30 Jan 2015 at 1:28

GoogleCodeExporter commented 9 years ago
Since the problem reproduces with Google Chrome it is a Chromium or Blink bug 
and should be filed at http://crbug.com.

Consider using a custom scheme hander instead of the file:// scheme to load the 
image in CEF so that it will be cached by the browser.

Original comment by magreenb...@gmail.com on 30 Jan 2015 at 2:23