Skip to main content


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 15:29 Go to next message
Sadet Alcic is currently offline Sadet AlcicFriend
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 13:38 Go to previous message
Grant Gayed is currently offline Grant GayedFriend
Messages: 2150
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: Sat Apr 20 03:11:31 GMT 2024

Powered by FUDForum. Page generated in 0.02941 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top