Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 367271 - Traverse listener can prevent linkebreak in Multiline Text
Summary: Traverse listener can prevent linkebreak in Multiline Text
Status: RESOLVED FIXED
Alias: None
Product: RAP
Classification: RT
Component: RWT (show other bugs)
Version: 1.5   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 1.5 M5   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-21 03:38 EST by Tim Buschtoens CLA
Modified: 2012-01-18 05:17 EST (History)
1 user (show)

See Also:


Attachments

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