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

Bug 436494

Summary: [Link] SelectionEvent are not always fired since 2.3
Product: [RT] RAP Reporter: Arnaud MERGEY <a_mergey>
Component: RWTAssignee: Project Inbox <rap-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P2 CC: lothar, mknauer
Version: 2.3   
Target Milestone: 2.3   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
Updated workbench demo none

Description Arnaud MERGEY CLA 2014-06-03 13:27:59 EDT
Created attachment 243900 [details]
Updated workbench demo

This issue seems to be related to something wrong between Link widget and editor since RAP 2.3 (it worked fine before)

Link SelectionEvent are fired correctly until an editor is displayed, then it seems to broke Link widget and selection event are not fired anymore.

I have update workbench demo to show the issue 

Launch it, then click on new editor action. Inside the editor click on the click me link, it should open another editor, close it, then all other click on the link does not fire selection event so the editor does not open again.

you will find updated code of demo workbench, I have juste added the snippet.editor.LinkEditor with the link inside.
Comment 1 Ivan Furnadjiev CLA 2014-06-03 13:37:28 EDT
I can reproduce it with the attached modified Workbench demo.
Comment 2 Ivan Furnadjiev CLA 2014-06-03 15:49:06 EDT
Pending change https://git.eclipse.org/r/27874.
Comment 3 Ivan Furnadjiev CLA 2014-06-04 04:49:43 EDT
Fixed in master with https://git.eclipse.org/r/27874. Pending change for backporting to streams/2.3-maintenance branch https://git.eclipse.org/r/27906.