From: Matthew T. <ran...@gm...> - 2010-05-26 22:09:29
|
On Wed, May 26, 2010 at 2:58 PM, Karl Kleinpaste <ka...@kl...> wrote: > > Data point on a very brief experiment: > > When I add a sync_windows() call just before GoToAnchor in Yelper.cpp, > the window no longer flickers out to the anchor point at all. Now and > again, clearly as a mere timing issue of GTK threading, it might do so, > but in general it does not. > > Adding a (putatively redundant) duplicated call to GoToAnchor > accomplishes nothing, with or without intervening sync_windows() between > them. I'm not sure that sync_windows will really help. According to my experience with xulrunner in another context, it is doing the drawing and the layout in another thread, so it is completely out of the gtk loop. That's why I suggested "sleep" and then a call to GoToAnchor. However, I'm really more confident in the javascript solution. I may try it tonight if I get a chance. Matthew |