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

Bug 410061

Summary: [Text] Click on the search/cancel icons does not fire default selection event if default button is set
Product: [RT] RAP Reporter: Artem Golovnya <artjomka.mail>
Component: RWTAssignee: Project Inbox <rap-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: tbuschto
Version: 2.0Flags: tbuschto: review+
Target Milestone: 2.2 M1   
Hardware: PC   
OS: Windows 7   
Whiteboard: sr211
Attachments:
Description Flags
example none

Description Artem Golovnya CLA 2013-06-06 08:03:44 EDT
Created attachment 232036 [details]
example

Hello everybody,

Text with SWT.SEARCH | SWT.ICON_SEARCH | SWT.ICON_CANCEL do not work if focus is set to button.

Please, check attachment.
Comment 1 Ivan Furnadjiev CLA 2013-06-06 08:28:05 EDT
Reproducible with Controls Demo -> Text tab. The default button prevents the selection/default selection event to be send - see Text.js#hasSelectionListener.
Comment 2 Ivan Furnadjiev CLA 2013-06-07 04:08:26 EDT
Fixed in master with commit b72030bd473f8ba90b740110a20e50a8af12ec42.
Comment 3 Tim Buschtoens CLA 2013-08-12 07:14:22 EDT
Changes look save 
+1 for SR211
Comment 4 Ivan Furnadjiev CLA 2013-08-13 04:02:58 EDT
Backport to 2.1-maintenance branch with commit 70c7cc209538c193789da96e943d735155fec871.