Re: Focus problem with mozembed

Glen Gray <[email protected]> Mon, 5 Nov 2012 13:13:27 +0000
Newsgroups gmane.comp.mozilla.devel.embedding
Message-ID <[email protected]>
This thread might be of help, it's old but may still be relevant.

https://bugzilla.mozilla.org/show_bug.cgi?id=3D533245

On 2 Nov 2012, at 14:29, Zoltan Boszormenyi <[email protected]> wrote:

> Hi,
> =

> by running the gtk/tests/test.cpp code, I have noticed that the embedded =
Gecko engine cannot get the focus. The GtkEntry for the URL and the GtkNote=
book page headers are highlighted when tabbing through them but the noteboo=
k "leaf", the page content cannot. E.g. the entry for the Google search box=
 doesn't get keyboard events, although all other events seem to get through=
. E.g. clicking on the keyboard icon in the right side of the search entry =
box shows the on-screen keyboard and it accepts clicks which make the lette=
rs appear in the search box. So, everything seems to work except the keyboa=
rd focus.
> =

> I am using 64-bit Fedora 17, xulrunner-16.0.2 and mozembed tip (29ac0fe51=
754) with the previously posted patch.
> =

> I also noticed that gtk/x11/moz-web-view.cpp and gtk/win32/moz-web-view.c=
pp are very different. Why? The keyboard focus problem may be solved by uni=
fying them, no? Can someone help me?
> =

> Thanks in advance,
> Zolt=E1n B=F6sz=F6rm=E9nyi
> _______________________________________________
> dev-embedding mailing list
> [email protected]
> https://lists.mozilla.org/listinfo/dev-embedding

-- =

Glen Gray
<[email protected]>