Glen Gray wrote:
> Made some further tests and yes it was the gtk processing in our 
> functions that was causing the problems.
> 
> 2 functions that displayed some graphical button widgets where calling
> 
>  while (gtk_events_pending()) {
>    gtk_main_iteration();
>  }
> 
> This was obviously draining the event queue and causing problems for the 
> javascript in GMail from working properly. I'm still none the wiser as 
> to what problem exactly draining the event queue is triggering in the 
> Javascript/gecko application, but I've at least isolated down to 
> something we where needlessly doing.

Yeah, you generally don't want to do anything recursive in gecko. 
Interesting things will happen.  (There's actually a couple of places 
where we do this - in the clipboard + drag and drop code, maybe?  Either 
way it's bad mojo.)

> 
> Thanks for all the feedback on this, much appreciated.

We didn't do much - it was all you, dude. :)

--Chris
_______________________________________________
dev-embedding mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-embedding

Reply via email to