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

Bug 367271

Summary: Traverse listener can prevent linkebreak in Multiline Text
Product: [RT] RAP Reporter: Tim Buschtoens <tbuschto>
Component: RWTAssignee: Project Inbox <rap-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: tbuschto
Version: 1.5   
Target Milestone: 1.5 M5   
Hardware: All   
OS: All   
Whiteboard:

Description Tim Buschtoens CLA 2011-12-21 03:38:58 EST
- Create a Text with Style SWT.MULTI
- add a traverse listener that always sets doit to false
- start application, focus Text and hit Enter
- nothing happens

In SWT the Enter key is processed event if the traverse event is canceled.
Comment 1 Tim Buschtoens CLA 2011-12-21 03:39:29 EST
Related: Bug 345653 - RAP and SWT traversal behaviors differ for Text component with style SWT.MULTI
Comment 2 Tim Buschtoens CLA 2012-01-18 05:17:51 EST
Fixed since support for doit flag in keyEvents (and by extension, traverse events) has been removed in Bug 367871.