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

Bug 289398

Summary: [Combo] Highlighting misbehaviour while setting selection programmatically
Product: [RT] RAP Reporter: Benjamin Wolff <eclipse>
Component: RWTAssignee: Project Inbox <rap-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: 1.3 M2   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
Test snippet for testing RAP Combo focusing issue
none
Test snippet to demostrate correct Combo selection behaviour in RCP
none
Proposed patch
none
Proposed patch - new version none

Description Benjamin Wolff CLA 2009-09-14 17:29:09 EDT
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.1.3) Gecko/20090824 Firefox/3.5.3 (.NET CLR 3.5.30729)
Build Identifier: RAP 1.3 M2 CVS HEAD

When setting a Selection on a Combo(Viewer) programmatically, in RAP this Combo is highlighted. It looks like as if the Combo has the Focus (the Background turns blue) but in fact the Combo does not have the Focus.

Reproducible: Always

Steps to Reproduce:
1. Run the two attached example projects, one for RAP, one for RCP.
2. Browse through the first Combo Box, e.g. with the Up- and Down-Key
3. in RAP, it looks as if the second Combo gets the Focus, but it doesn't because it's still possible to browse through the first Combo using Up/Down-Key. In RCP the behaviour is different, the second Combo is not highligthed when a programmatic selection is set.
Comment 1 Benjamin Wolff CLA 2009-09-14 17:30:03 EDT
Created attachment 147143 [details]
Test snippet for testing RAP Combo focusing issue
Comment 2 Benjamin Wolff CLA 2009-09-14 17:31:01 EDT
Created attachment 147145 [details]
Test snippet to demostrate correct Combo selection behaviour in RCP
Comment 3 Asen Draganov CLA 2009-09-16 08:00:39 EDT
Created attachment 147300 [details]
Proposed patch
Comment 4 Asen Draganov CLA 2009-09-17 04:44:00 EDT
Created attachment 147411 [details]
Proposed patch - new version
Comment 5 RĂ¼diger Herrmann CLA 2009-09-18 05:06:42 EDT
Fixed in CVS HEAD