Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 361271

Summary: [Browser] Doesn't support LocationListener properly
Product: [RT] RAP Reporter: Sebastian Bauer <mail>
Component: RWTAssignee: Project Inbox <rap-inbox>
Status: RESOLVED WONTFIX QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:
Attachments:
Description Flags
The example mentioned in my report. none

Description Sebastian Bauer CLA 2011-10-18 11:44:27 EDT
Build Identifier: 

I will attach a small example that uses a browser widget. It adds a LocationListener to this widget which simply logs the events. The browser is supposed to display a simple html text document that contains a link referring to an external location. If I click on the link, none of the methods is called (they are only called once due to the setText()). This is different to SWT where the methods called also when I click them.

Reproducible: Always
Comment 1 Sebastian Bauer CLA 2011-10-18 11:46:06 EDT
Created attachment 205434 [details]
The example mentioned in my report.
Comment 2 Ivan Furnadjiev CLA 2011-10-21 03:26:47 EDT
Sebastian, Browser widget is an iframe inside a real browser. Due to browser security policies, it's not possible to find if the URL of the Iframe is changed (by clicking on a link) or not. I think that there is no clean and 100% reliable way to do this in all supported by RAP browsers.
Comment 3 Ralf Sternberg CLA 2011-10-21 05:00:09 EDT
There is nothing we can do about this issue in the browser client. Therefore I have to close this bug as WONTFIX, sorry.
Comment 4 Sebastian Bauer CLA 2011-10-21 06:03:57 EDT
You could add a little note somewhere, because this behaviour is definitively different from the SWT library.
Comment 5 Ivan Furnadjiev CLA 2011-11-03 02:29:12 EDT
(In reply to comment #3)
> There is nothing we can do about this issue in the browser client. Therefore I
> have to close this bug as WONTFIX, sorry.
Closed as WONTFIX.