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

Bug 297930

Summary: Focused control is not restored after switching/closing shells
Product: [RT] RAP Reporter: Ivan Furnadjiev <ivan>
Component: RWTAssignee: Project Inbox <rap-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: 1.3 M5   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
Proposed patch none

Description Ivan Furnadjiev CLA 2009-12-16 03:08:05 EST
Steps to reproduce:
1. Open the Controls Demo -> Dialogs Tab
2. Click on the "Info Messages" button - to focus goes to this button and dialog is opened.
3. Close the dialog - focus is not restored to the "Info Messages" button.
In SWT the previous focused control is restored when the shell is activated.
Comment 1 Ivan Furnadjiev CLA 2009-12-17 03:48:14 EST
Created attachment 154639 [details]
Proposed patch
Comment 2 Ivan Furnadjiev CLA 2009-12-17 04:48:24 EST
The proposed patch solves only the described use case - open/close of modal dialog. The use case with floating shells is under investigation.
Comment 3 Ivan Furnadjiev CLA 2009-12-21 10:03:16 EST
Applied patch to CVS HEAD. I will close it as fixed, because the described use case is fixed.