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

Bug 372699

Summary: Invisible shell become an active shell under some constellations
Product: [RT] RAP Reporter: Ivan Furnadjiev <ivan>
Component: RWTAssignee: Project Inbox <rap-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 1.4   
Target Milestone: 1.5 M6   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
Test case none

Description Ivan Furnadjiev CLA 2012-02-28 02:19:03 EST
It is hard to reproduce it with the current Controls Demo (CVS HEAD) due to bug 370139. But, it is reproducible with 1.4 as well:
1. Start Controls Demo -> Shell Tab
2. Select APPLICATION_MODAL and "Create Invisible" checkboxes
3. Press "Open Shell"
4. Deselect "Create Invisible" and press "Open Shell" again.
5. Close the shell
Observe that the Controls Demo main shell is not active anymore. The first invisible modal shell become an active shell.
Comment 1 Ivan Furnadjiev CLA 2012-03-05 05:23:29 EST
Created attachment 212055 [details]
Test case
Comment 2 Ivan Furnadjiev CLA 2012-03-05 05:50:46 EST
Fixed in Display#removeShell to set only visible shell as active shell.