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

Bug 507489

Summary: After restoring a minimized shell, popup menus are no longer visible
Product: [RT] RAP Reporter: Davide Ceraso <davide.ceraso>
Component: RWTAssignee: Project Inbox <rap-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: tbuschto
Version: 3.1   
Target Milestone: 3.2 M4   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Attachments:
Description Flags
Snippet where to reproduce the bug none

Description Davide Ceraso CLA 2016-11-14 10:54:55 EST
Created attachment 265345 [details]
Snippet where to reproduce the bug

Given a shell window with a menu bar and popup menus.
After minimize and restore it, the popup menus are no longer visible.

This is due to the zIndex assigned to both shell and menus.
The former, after the restore, get Shell.MAX_ZINDEX (1e7), the latter get (from Popup.js) 1e6. 
So the menus are displayed but they are behind the window itself.

Attached you can find a small snippet where it is possible to easily reproduce the bug.
Comment 1 Tim Buschtoens CLA 2016-11-22 04:50:56 EST
Fixed in master with commit 6cd512186de3fabc5d31b28cb1e0ce1f4e1a6fbe