| Summary: | [Contributions] can't re-enable toolbars in "customize perspective" | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Whitehat Whitehat <i> | ||||
| Component: | UI | Assignee: | Andrey Loskutov <loskutov> | ||||
| Status: | VERIFIED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | egil, Lars.Vogel, loskutov, mariusz, michael.schneider3, noopur_gupta, p.bodnar, pwebster | ||||
| Version: | 4.2.1 | ||||||
| Target Milestone: | 4.5 M5 | ||||||
| Hardware: | PC | ||||||
| OS: | All | ||||||
| Whiteboard: | |||||||
| Bug Depends on: | |||||||
| Bug Blocks: | 180308, 420956 | ||||||
| Attachments: |
|
||||||
|
Description
Whitehat Whitehat
Created attachment 223097 [details]
Lost toolbars
After Eclipse restart all the toolbars are back. But there is still no way to disable a toolbar in one perspective and leave it visible in other... Ok. Got it. To make enabled toolbars visible - I have to fully restart Eclipse after each perspective change Problem disappears if commented code // legacyWindow.getMenuManager().updateAll(true); // ((ICoolBarManager2) ((WorkbenchWindow) // getWorkbenchWindow()).getCoolBarManager2()) // .resetItemOrder(); in WorkbenchPage.resetPerspective() method will be uncommented Seeing the same issues with KEPLER 4.3.1 on Ubuntu 12.04. To sum it up, there are 2 problems: 1. (citing) "There we can see, that recently disabled toolbars are marked as enabled." This is confusing as one doesn't see the real state in the Customize Perspective dialog. Unchecking and checking a selected toolbar action seems to cause a change. 2. (citing) "But there is still no way to disable a toolbar in one perspective and leave it visible in other" It really seems like enabling / disabling toolbar in one perspective causes changes in another perspective (which it shouldn't). To reproduce: a. Hide the "Search" actions from toolbar in the Java perspective. b. (optional step) Switch to the Synchronize perspective. The "Search" actions are hidden here as well. c. In the Customize Perspective dialog uncheck & check one of the "Search" actions (or all of them, but you must do it one by one). d. Now the newly checked actions are visible in BOTH (or even ALL) perspectives. --- So maybe there are several problems (not sure about the problem with the "need to fully restart Eclipse...") described in here? Open a new bug for some of these? BTW Severity of this bug increases in combination with the bug 362420 (=> toolbar area will render two rows instead of one). Luckily, I prefer keyboard shortcuts, so I can hide nearly all the toolbar buttons in whichever perspective they are... :) Related to bug 383569 and bug 395601 and bug 404009 and bug 404348 and bug 407522 and many other bugs... I've created bug 420956 as overview... (In reply to Andrey Loskutov from comment #6) > Related to bug 383569 and bug 395601 and bug 404009 and bug 404348 and bug > 407522 and many other bugs... I've created bug 420956 as overview... Andrey, it this on your working list? I tested it with the change in https://git.eclipse.org/r/#/c/40354/ in Build id: N20150124-1500 but I cannot re-enable a disabled command. It ge the following error message: "Print (Ctrl+P)" cannot be made visible because it is in the unavailable "null" action set. (In reply to Lars Vogel from comment #7) > Andrey, it this on your working list? This is working with latest nightly build. > I tested it with the change in > https://git.eclipse.org/r/#/c/40354/ in Build id: N20150124-1500 but I > cannot re-enable a disabled command. It ge the following error message: > > "Print (Ctrl+P)" cannot be made visible because it is in the unavailable > "null" action set. This is something different. I can disable and reenable the print button without mentioned patch on exact same build. (In reply to Andrey Loskutov from comment #8) > This is something different. I can disable and reenable the print button > without mentioned patch on exact same build. I agree, the existing buttons can be re-enabled. Marking as fixed with https://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/?id=1d3294204c71b0cd1e7e2e831feb2faf6133ec38 Verified as fixed in 4.5.0.I20150126-2000. *** Bug 421178 has been marked as a duplicate of this bug. *** |