Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 316238 - [Widgets] Main menu lost when using "open in new window"
Summary: [Widgets] Main menu lost when using "open in new window"
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 3.4   Edit
Hardware: Macintosh Mac OS X - Carbon (unsup.)
: P3 normal (vote)
Target Milestone: 3.6.1   Edit
Assignee: Silenio Quarti CLA
QA Contact: Silenio Quarti CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-09 00:59 EDT by Zhang Peng CLA
Modified: 2010-08-06 14:52 EDT (History)
6 users (show)

See Also:
eclipse.felipe: review+


Attachments
fix for HEAD (3.99 KB, patch)
2010-08-04 15:19 EDT, Silenio Quarti CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Zhang Peng CLA 2010-06-09 00:59:12 EDT
Build Identifier: I20080617-2000

Main menu will lost after minimize and maximize the windows when there are more than one window.

Reproducible: Always

Steps to Reproduce:
1. Open Eclipse, select a project.
2. Right click the project, and choose "open in new window".
3. When the new window opened, minimize the window, then minimize the main(parent) window.
4. Move focus to other things(Let the Eclipse main menu changed);
5. Maximize the new window, then maximize the main window.

The Eclipse main menu disappeared after maximize the main window. If in the 5th step, firstly maximize the main window, then maximize the new window, then the main menu will disappear when new window mazimized.
Comment 1 Prakash Rangaraj CLA 2010-06-14 01:24:15 EDT
Reproducible only on Carbon builds - not on Cocoa. Assigning to SWT for comments
Comment 2 Lakshmi P Shanmugam CLA 2010-06-14 08:58:11 EDT
Shell.kEventWindowDeactivated is not being called for Main window in either step3 or step4. Hence, when kEventWindowActivated is called for Main window in step5 we are not trying to set the menubar.
Comment 3 Silenio Quarti CLA 2010-08-04 15:19:30 EDT
Created attachment 175877 [details]
fix for HEAD
Comment 4 Silenio Quarti CLA 2010-08-04 15:26:59 EDT
Fixed > 20100804 (HEAD only).

Same patch applies for R3_4_maintenance and R3_5_maintenance.
Comment 5 Raji Akella CLA 2010-08-04 15:35:53 EDT
Can this be included in 3.6.1?
Comment 6 Silenio Quarti CLA 2010-08-06 12:30:56 EDT
Felipe, please review for 3.6.1
Comment 7 Silenio Quarti CLA 2010-08-06 14:52:13 EDT
Fixed released to R3_6_maintenance