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

Bug 378657

Summary: [Shell] Default button not reset after changing the focus control
Product: [RT] RAP Reporter: Ivan Furnadjiev <ivan>
Component: RWTAssignee: Project Inbox <rap-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 1.5   
Target Milestone: 1.5 M7   
Hardware: All   
OS: All   
Whiteboard:

Description Ivan Furnadjiev CLA 2012-05-07 08:03:13 EDT
Like in SWT, the currently focused push button is set temporary as a shell default button. When focused control is changed from the client to another control, the default button should be reset.
Comment 1 Ivan Furnadjiev CLA 2012-05-07 08:09:55 EDT
The default button is updated in Display#setFocusControl. When the focus control is set from the client-side, the shell default button is preserved (ShellLCA#preserveValues) after updating it in (DisplayLCA#readFocusControl). As a result, new value is not rendered to the client. Fixed in Shell#updateDefaultButton by executing the code in a ProcessActionRunner.