Hi All,

restarting from 
http://groups.google.com/group/mozilla.dev.embedding/browse_thread/thread/3365ae6b01066bc3#
, I am trying to embed Gecko 2, i.e. Firefox 4 Beta 1. I am on Fedora
12. But I am having a little trouble:

I am synthesizing mouse clicks, and I am using a code like this:

windowUtils->SendMouseEvent(NS_LITERAL_STRING("mousemove"), cp.x,
cp.y, 0, 0, 0, true);
windowUtils->SendMouseEvent(NS_LITERAL_STRING("mousedown"), cp.x,
cp.y, 0, 1, 0, true);
windowUtils->SendMouseEvent(NS_LITERAL_STRING("mouseup"), cp.x, cp.y,
0, 1, 0, true);

it works like a charm with Gecko 1.9, up to the XulRunner runtime
built from Firefox 3.6.8 sources. But when using Gecko 2, when I
synthesize a click on a link, it does not work - I mean, no
OnLocationChange etc. Strange, because I can see that something
happens - for example, the clicked object gets the focus, gets some
activation behavior, but - even on a very simple <A> node - the
navigation is not fired.

Am I missing something? Just a bug that will be fixed and I just have
to sit back and relax? Or something changed in Gecko 2?

Thanks,
Aaron

_______________________________________________
dev-embedding mailing list
dev-embedding@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-embedding

Reply via email to