Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Browser calls "completed(Event e)" of ProgressAdapter more than once
Browser calls "completed(Event e)" of ProgressAdapter more than once [message #539393] Thu, 10 June 2010 11:29 Go to next message
Sadet Alcic is currently offline Sadet Alcic
Messages: 2
Registered: June 2010
Junior Member
Hello,

I have instantiated a Browser widget with the url "http://spiegel.de" and then I have assigned a ProgressListener (ProgressAdapter) to the Browser, which should do something when the Browser has completed loading the page. Principally this works, but I expected that the "completed" function will be called just once. To my surprise it is called sometimes twice and sometimes even three times. Any idea how I can fix this?

Thanks!
Re: Browser calls "completed(Event e)" of ProgressAdapter more than once [message #539609 is a reply to message #539393] Fri, 11 June 2010 09:38 Go to previous message
Grant Gayed is currently offline Grant Gayed
Messages: 2148
Registered: July 2009
Senior Member
It looks like a bug in the Browser's Mozilla implementation, so I've logged
https://bugs.eclipse.org/bugs/show_bug.cgi?id=316606 . Unfortunately I
don't see a way to work around it.

Grant


"Sadet Alcic" <sadet.alcic@uni-duesseldorf.de> wrote in message
news:hur0dg$gtg$1@build.eclipse.org...
> Hello,
>
> I have instantiated a Browser widget with the url "http://spiegel.de" and
then I have assigned a ProgressListener (ProgressAdapter) to the Browser,
which should do something when the Browser has completed loading the page.
Principally this works, but I expected that the "completed" function will be
called just once. To my surprise it is called sometimes twice and sometimes
even three times. Any idea how I can fix this?
>
> Thanks!
Previous Topic:Drawing images on right side of TableItem
Next Topic:New to SWT programming
Goto Forum:
  


Current Time: Wed Jul 30 21:34:25 EDT 2014

Powered by FUDForum. Page generated in 0.01812 seconds