zhangqd / chromiumembedded

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

Browser created as a minimized window doesn't display content. #1229

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create a windows-shortcut to cefsimple.exe.
2. On shortcut's properties select Run: Minimized.
3. Launch cefsimple double-clicking over the shortcut, and then restore the 
window.

What is the expected output? What do you see instead?
I expect to see the Google home page, that cefsimple loads on startup. I see 
nothing instead. However, the page is loaded, because the cursor changes when I 
move over where links are supposed to be, and the view source popup command 
displays the source of the page that is loaded.

What version of the product are you using? On what operating system?
I've noticed this with: "Windows 32bit 2014-03-07 CEF 3.1846.1630 (51MB) - 
Chromium 34.0.1846.0 r251746".

Please provide any additional information below.
I think the above behavior is true for branch 1750 of the same period, and it 
has started to manifest itself at least one revision earlier.

I discovered this because in my app, which is a multi-tabbed browser, I create 
the inactive tabs in a minimized-hidden window, and they started to not work. I 
do this because this is the only way I found after many experiments that makes 
the inactive tabs that use 'requestAnimationFrame' to not consume CPU cycles. 
This is a hack, so I'm using the opportunity to ask the question:
 "Is there a better way to do this?"

Original issue reported on code.google.com by elenabaj...@gmail.com on 13 Mar 2014 at 4:27

GoogleCodeExporter commented 9 years ago

Original comment by magreenb...@gmail.com on 2 Jul 2014 at 11:06

GoogleCodeExporter commented 9 years ago
This appears to already be fixed in the 2062 branch.

Original comment by magreenb...@gmail.com on 20 Aug 2014 at 1:01