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

Bug 420307

Summary: Dropdown submenu is not dismissed when creating a project
Product: [ECD] Orion Reporter: Bogdan Gheorghe <gheorghe>
Component: ClientAssignee: Project Inbox <orion.client-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: gheorghe, Silenio_Quarti, simon_kaegi
Version: 4.0Flags: simon_kaegi: review+
gheorghe: review+
Target Milestone: 4.0 RC2   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Bogdan Gheorghe CLA 2013-10-24 13:17:14 EDT
Steps to reproduce:

1. Click on the orange + 

2. Click on New Project 

3. Select Create a basic project

4. Notice that the submenu hides but that the main menu does not (and that the tooltip parameter collector is parented off of the main menu)

Expected result:

This should be the same as clicking New File or New Folder: all menus disappear, and a tooltip parameter collector should appear, parented off of the orange +
Comment 1 Bogdan Gheorghe CLA 2013-10-24 13:22:04 EDT
Also, if you hit enter after entering the project name, the main menu will never disappear (click does work)
Comment 2 Bogdan Gheorghe CLA 2013-10-24 13:22:15 EDT
Problem is that there is no code in dropdown to handle the dismissal of parent menus. The Copy To and Move To submenus in the gear happen to work by chance (a selection change causes the toolbars to be recreated).
Comment 3 Silenio Quarti CLA 2013-10-24 13:29:22 EDT
Fixed by dismissing the parent dropdown menus when the submenu is dismissed.

http://git.eclipse.org/c/orion/org.eclipse.orion.client.git/commit/?id=76ed506cf69be79b6ba780740b61923639c52dd1
Comment 4 Silenio Quarti CLA 2013-10-24 13:29:29 EDT
.