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

Bug 328053

Summary: [Browser] After clicking certain links, mouse/key events are not sent anymore
Product: [Eclipse Project] Platform Reporter: Christopher Deckers <chrriis>
Component: SWTAssignee: Grant Gayed <grant_gayed>
Status: RESOLVED FIXED QA Contact:
Severity: major    
Priority: P3 CC: a.faenger, eclipse.felipe
Version: 3.6   
Target Milestone: 3.7 M4   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Attachments:
Description Flags
Simple test case
none
More links example
none
patch to apply post-3.7M3 none

Description Christopher Deckers CLA 2010-10-18 13:03:20 EDT
Build Identifier: SWT N20101017-2000

When adding input events to trigger certain actions, they stop working after a link calling a JS action is clicked.
This was tested with a recent nightly build and 3.6, both have the issue. I only tried with IE.

For some users, this can be very problematic.

Reproducible: Always

Steps to Reproduce:
1. Create a Browser with mouse/key listeners.
2. invoke a link in the form <a href="javascript:void(0)"> or <a href="javascript:alert('a text')">
3. Click/type in the browser: events are not sent anymore.
Comment 1 Christopher Deckers CLA 2010-10-18 13:04:19 EDT
Created attachment 181113 [details]
Simple test case
Comment 2 Christopher Deckers CLA 2010-10-26 02:49:04 EDT
Created attachment 181696 [details]
More links example

The bug is more serious: other kind of links cause the events to not be received anymore! Links that allow to download a file have this nasty effect too. This new attached test case adds 2 static links.
Comment 3 Grant Gayed CLA 2010-10-26 17:06:41 EDT
Created attachment 181782 [details]
patch to apply post-3.7M3
Comment 4 Grant Gayed CLA 2010-11-01 10:27:30 EDT
fixed > 20101101