|Re: SWT Browser Widget, no mouse events while loading [message #526079 is a reply to message #525597]
||Thu, 08 April 2010 15:49
| Grant Gayed
Registered: July 2009
I've just fixed this in the eclipse 3.6 stream, the associated bug report is
In the meantime, you should be able to add your DOM listeners when you
receive a ProgressEvent.changed() callback, as this is the point at which
the Browser is now adding its listeners in the eclipse 3.6 stream.
"Demus" <email@example.com> wrote in message
> I'm trying to capture user clicks on a webpage in de SWT Browser widget.
However, the mouse handler is only called when the page has finished
loading. Since we're surfing on some pretty slow sites with lots of images,
users will almost never wait for the whole page to finish loading before
clicking on a link.
user clicks, but that doesn't seem possible either when the page hasn't
finished loading: how will I know the DOM is ready when all I get is a
> Does any of you know a way to capture user clicks while the page is still
loading or how to find out if the DOM of the page has finished loading?
> I'm using the Mac OS X swt with the Safari browser.
> Kind regards,
Powered by FUDForum
. Page generated in 0.02416 seconds