Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 328053 - [Browser] After clicking certain links, mouse/key events are not sent anymore
Summary: [Browser] After clicking certain links, mouse/key events are not sent anymore
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 3.6   Edit
Hardware: PC Windows 7
: P3 major with 1 vote (vote)
Target Milestone: 3.7 M4   Edit
Assignee: Grant Gayed CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-18 13:03 EDT by Christopher Deckers CLA
Modified: 2010-11-01 10:27 EDT (History)
2 users (show)

See Also:


Attachments
Simple test case (1.63 KB, text/java)
2010-10-18 13:04 EDT, Christopher Deckers CLA
no flags Details
More links example (1.96 KB, application/force-download)
2010-10-26 02:49 EDT, Christopher Deckers CLA
no flags Details
patch to apply post-3.7M3 (1.75 KB, patch)
2010-10-26 17:06 EDT, Grant Gayed CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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