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

Bug 418022

Summary: [Contributions] Customize Perspective has hiding conflicts for toolbars and menus
Product: [Eclipse Project] Platform Reporter: Paul Webster <pwebster>
Component: UIAssignee: Paul Webster <pwebster>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: kuebler, mober.at+eclipse, pwebster
Version: 4.3Keywords: helpwanted
Target Milestone: 4.3.2   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Bug Depends on: 411577    
Bug Blocks: 420956    

Description Paul Webster CLA 2013-09-25 09:58:38 EDT
Backport to 4.3.2

+++ This bug was initially created as a clone of Bug #411577 +++

If a toolbar and a menu has the same id and both elements shell be hidden updateHiddenElements does not consider the prefix in its containment check. 
The outcome is that only one of the item (either a toolbar item or a menu item) may be hidden at a time.

The fix is trivial in adding the prefix to the contains check. Then both items may be hidden at a time.

Reproduction can be done by hiding the file menu and toolbar items
Comment 1 Paul Webster CLA 2013-11-18 15:17:11 EST
Jens, could I get you to log into https://git.eclipse.org/r/#/ once (with your bugzilla email/password)?  That will allow me to patch back your fix.

PW
Comment 2 Paul Webster CLA 2013-11-18 15:17:57 EST
The error I'm currently getting:



remote: Resolving deltas: 100% (7/7)
remote: Processing changes: refs: 1, done    
remote: ----------
remote: Reviewing commit: commit b5f7b69add5a6954e30e053aa836e6bbee4e5468 1384805499 ----sp
remote: Authored by: Jens übler <kuebler@aquintos.com>
remote: 
remote: error: The author does not have a Gerrit account.
remote: All authors must either be a commiter on the project, or have a current CLA on file.
remote: Please see http://wiki.eclipse.org/CLA
remote: 
To ssh://pwebster@git.eclipse.org:29418/platform/eclipse.platform.ui
 ! [remote rejected] HEAD -> R4_3_maintenance (The author must register with Gerrit.)
Comment 3 Jens Kuebler CLA 2013-11-19 03:30:20 EST
done.
Comment 4 Paul Webster CLA 2013-11-19 13:12:24 EST
backport: https://git.eclipse.org/r/18579

Thanks Jens
Comment 6 Paul Webster CLA 2013-11-29 10:25:30 EST
In 4.3.0.M20131127-1300

PW
Comment 7 Martin Oberhuber CLA 2014-02-21 07:51:20 EST
CQ:WIND00-WB4-2813