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

Bug 473751

Summary: Programmatic change of selection also gives focus to comboviewer
Product: [RT] RAP Reporter: Jens Borrmann <jens.borrmann>
Component: RWTAssignee: Project Inbox <rap-inbox>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: P3    
Version: 2.3   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Attachments:
Description Flags
Reproduce bug with controls demo none

Description Jens Borrmann CLA 2015-07-28 08:56:59 EDT
Created attachment 255480 [details]
Reproduce bug with controls demo

When setting new input and selection programmatically to a ComboViewer this control also gains focus.

Both factors mentioned above seem to be relevant for this behaviour. Only when the changes both for "items" and "selectionIndex" are sent to the client this focus change occurs.

I attached a small change to RAP Controls Demo (Version 2.3) where I added a button ("Refill list and change selection") to the combo tab that triggers the observed behaviour. When pressing this button it immediately looses focus.
Comment 1 Ivan Furnadjiev CLA 2015-07-29 03:54:07 EDT
I can't reproduce it with RAP 3.0 and I believe this is a duplicate of bug 464757, which has been fixed in 3.0M7.

*** This bug has been marked as a duplicate of bug 464757 ***