unable to write in textbox/text area

2010-06-24 Thread dansch
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,

Re: unable to write in textbox/text area

2009-12-20 Thread testols ols
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

Re: unable to write in textbox/text area

2009-12-16 Thread testols ols
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

Re: unable to write in textbox/text area

2009-12-15 Thread testols ols
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

Re: unable to write in textbox/text area

2009-12-14 Thread testols ols
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

Re: unable to write in textbox/text area

2009-12-14 Thread steve lu
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

Re: unable to write in textbox/text area

2009-12-13 Thread Xianzhu Wang
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

unable to write in textbox/text area

2009-12-11 Thread testols ols
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.