[Mono-bugs] [Bug 427866] New: Some WebBrowser fields are initially unresponsive

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Fri Sep 19 13:41:47 EDT 2008


           Summary: Some WebBrowser fields are initially unresponsive
           Product: Mono: Class Libraries
           Version: unspecified
          Platform: Other
        OS/Version: openSUSE 11.0
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Windows.Forms
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: saarmstrong at novell.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---

0. Use mono r113475, mcs r113476, gluezilla r112638
1. Launch a form containing a WebBrowser with google.com loaded.
2. Click in the search field.
3. Attempt to type.

Expected results:

The characters you type appear in the search field.

Actual results:

Nothing appears in the search field, and you might think it's hanging or
something, until you click on the background of the web page and then try
typing in the search field again, at which point it works fine.

Talked to Andreia in IRC about it briefly, seems to be focus problem in
gluezilla that has been difficult to track down.

I also noticed that if you have a11y enabled in your desktop (without mono-a11y
stuff installed), the web browser will appear as an anonymous process in
Accerciser, but only *after* clicking on the background of the web page.  No
idea if that is helpful.

Here is my simple test case:

using System;
using System.Windows.Forms;

namespace WebBrowserTest
        class MainClass
                public static void Main(string[] args)
                        Application.Run (new MyWebBrowser ());

        class MyWebBrowser : Form
                private WebBrowser browser;

                public MyWebBrowser ()
                        Text = "Web Browser Test";
                        Width = 1024;
                        Height = 800;

                        browser = new WebBrowser ();
                        browser.Dock = DockStyle.Fill;

                        Controls.Add (browser);
                        this.Shown += OnShown;

                private void OnShown (object sender, EventArgs e)
                        browser.Navigate ("http://www.google.com");


Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.

More information about the mono-bugs mailing list