I'm also facing this problem with an embedded browser window driven by
xulrunner-bin, started from a Mac OSX Cocoa application (with [NSTask
*task launch]), I'm unable to write to text fields. According to the
last post in this thread a patch in the xulrunner source code should
fix this problem,
Sorry for replying late. Finally problem is fixed as of now :)
While loading any URL through webnavigator, i am now explicitly
activating the browser and giving focus to it.
nsCOMPtrnsIWebBrowserFocus focus(do_GetInterface(myWebBrowser));
focus-Activate();
This allowed me to
One major finding :)
Native application is not forwarding key events to browser window. I
simply dont know the reason as i dont have control over it :(.
Is there any way to push window messages to Mozilla browser directly.
In this way i will ask the application to directly forward all the key
Still facing the issue :(.
Few findings.
1. If i drag the label text or any other text present in webpage and
drop it into input textbox, the textfield fills properly with the
selected and dragged text.
2. I tried with event handling using following function.
NS_IMETHODIMP
On Dec 11, 4:23 pm, testols ols testing...@gmail.com wrote:
I have embedded Xulrunner into my native application. The webpage
opens up in xulrunner browser and renders the html page correctly.
However the browser is not letting me to enter text into the text
fields or text area. Is there
Did you do this?
nsCOMPtr nsIWebBrowserFocus focus( do_GetInterface( mWebBrowser ) );
focus-Activate();
Steve
testols ols wrote:
On Dec 11, 4:23 pm, testols ols testing...@gmail.com wrote:
I have embedded Xulrunner into my native application. The webpage
opens up in xulrunner browser
Which version of xulrunner are you using?
If 1.9.2, it seems this bug: https://bugzilla.mozilla.org/show_bug.cgi?id=533245
2009/12/11 testols ols testing...@gmail.com:
I have embedded Xulrunner into my native application. The webpage
opens up in xulrunner browser and renders the html page
I have embedded Xulrunner into my native application. The webpage
opens up in xulrunner browser and renders the html page correctly.
However the browser is not letting me to enter text into the text
fields or text area. Is there anything specific required for letting
the user enter text.