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

Bug 245125

Summary: [Trim] Cheese when calling Shell#layout() on invisible Shell in RCP
Product: [Eclipse Project] Platform Reporter: Eric Moffatt <emoffatt>
Component: UIAssignee: Eric Moffatt <emoffatt>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: bpasero, emoffatt, ramfree17
Version: 3.3Keywords: helpwanted
Target Milestone: 3.4.1Flags: emoffatt: review?
Hardware: PC   
OS: Windows XP   
Whiteboard:
Bug Depends on: 180881    
Bug Blocks:    

Description Eric Moffatt CLA 2008-08-25 10:46:51 EDT
+++ This bug was initially created as a clone of Bug #180881 +++

Eclipse: 3.3 M6

Steps to reproduce:
1. Create the Mail Template
2. Change the MessagePopupAction#run() method to:

window.getShell().setVisible(false);
window.getShell().layout();
window.getShell().setVisible(true);

Actual results:
The View is overlapping both the Toolbar and the Status area (see attached Screenshot).

Would be great if this could be considered as polish item for M7. I am using setVisible() in combination with the System-Tray functionality and its so annoying to have this UI glitch every time I restore the application.

Ben
Comment 1 Eric Moffatt CLA 2008-08-25 10:47:59 EDT
Clone for 3.4.1 fix.

The patch is on the other defect...
Comment 2 Eric Moffatt CLA 2008-08-26 14:05:00 EDT
Committed in >20080826. Applied the patch from the cloned defect.
Comment 3 Eric Moffatt CLA 2008-08-28 10:36:18 EDT
Verified in M20080827-2000.