Note that there are some explanatory texts on larger screens.

plurals
  1. POFirefox/Gecko control interfering with Windows Forms key presses
    primarykey
    data
    text
    <p><em>Edit</em>: In addition to the bounty, we're willing to pay $250 to have this bug fixed in the Firefox/Gecko codebase. <a href="http://judahhimango.com/GeckoKeyHookErrorRepro.zip" rel="nofollow noreferrer">Here is a simple test project</a> (Visual Studio 2008 C#) that reproduces the problem.</p> <p><em>Edit #2</em> we're willing to pay $600 to have this bug fixed. See above for sample project that reproduces the problem.</p> <p>We have a Firefox (Gecko) ActiveX control on our C# Windows Form to display HTML.</p> <p>When this Firefox ActiveX control is on our form, about 2-3% of our key presses don't make it through. Or rather, a different Windows message is sent:</p> <p>We hold down the TAB key to tab through 3 regular WinForms text boxes. It will behave correctly 97% of the time. Spy++ tells us WM_KEYDOWN message is sent properly:</p> <p><a href="http://judahhimango.com/images/normaltab.jpg" rel="nofollow noreferrer">normal behavior http://judahhimango.com/images/normaltab.jpg</a></p> <p>But randomly, maybe 2-3% of the time, the tab key (or other key) isn't processed right. Spy++ tells us WM_CHAR is being sent instead:</p> <p><a href="http://judahhimango.com/images/screwytab.png" rel="nofollow noreferrer">odd behavior http://judahhimango.com/images/screwytab.png</a></p> <p>When the odd behavior occurs, either the key is not processed at all, or is processed incorrectly (such as inserting a '\t' character into a textbox that doesn't support tab characters.</p> <p>This only occurs if the Firefox ActiveX control is on our form.</p> <p><strong>Our question is</strong>: does Firefox/Gecko engine install some kind of keyboard hook that might cause these side effects? Or better yet, how do we fix this problem?</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload