dquangsinh / geckofx

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

Scrolling not active after losing initial focus #24

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Moving this issue from the forums to here - 
http://geckofx.org/viewtopic.php?id=854

[Original Forum Thread]
With XULRunner 1.9.2, the GeckoWebBrowser control stops letting you scroll 
webpages if its parent form/window loses focus. Like, you can load a URL with 
GWB and scroll the page just fine. But if you click another window and then 
return focus to your GWB window, scrolling is seemingly disabled; mousewheel, 
page up/down, spacebar - none of them work anymore.

But with XULRunner 1.9.1.7, scrolling works fine. 

Tested with Windows 7 x64, GeckoFX 1.9.1.0, and Visual C# 2010 Express with a 
Windows Form Application.

[New Notes]
I can repro this in 1.9.1.7 as well.  Tested with Windows 7  x64, GeckoFX 
1.9.1.0, and VS Pro 2010 with a WPF container.

What steps will reproduce the problem?
1. Move Focus to a different window handle and move back
2. Attempt to programmatically regain focus.  Even .Focus() returns true.
3. Scrolling does not work until you click inside the control.

Original issue reported on code.google.com by dsqu...@gmail.com on 30 Oct 2010 at 3:58