Community
Participate
Working Groups
I am experiencing problems with enable/disable ActionSets and when I do perspective reset from within the Eclipse. I am using Eclipse IDE for C/C++ Developers for Linux 64bit with no additional pluggins installed. How to reproduce: 1. Start Eclipse. 2. Select/create brand new empty workspace. 3. Open "Debug" Perspective. [Before jumping to conclusions, this can be reproduced with other perspectives e.g. Resource perspective, using different ActionSets e.g. "Editor Presentation"] 4. Please observe on main toolbar presence of "Debug" and "Run" dropdown buttons. 5. Open "Customize Perspective..." 6. Go to "Tool Bar Visibility" tab and expand "Launch" item. 7. Please observe that both "Debug" and "Run" items are checked. 8. Remove checkmark from "Run" item and press "OK" to close the dialog. 9. [CORRECT] The "Run" dropdown button from the main toolbar disappeared. 10. Open "Customize Perspective..." 11. Go to "Tool Bar Visibility" tab and expand "Launch" item. 12. [PROBLEM] Please observe that "Run" item is checked. 13. Remove checkmarks from both "Debug" and "Run" items and press "OK" to close the dialog. 14. [CORRECT] The "Debug" and "Run" dropdown buttons from the main toolbar disappeared. 15. Execute "Reset Perspective..." and press "OK" on the dialog that follows. 16. [PROBLEM] "Debug" and "Run" dropdown buttons are still invisible. 17. Open "Customize Perspective..." 18. Go to "Tool Bar Visibility" tab and expand "Launch" item. 19. [PROBLEM] Please observe that "Debug" and "Run" items are checked. This is only one simple scenario how to reproduce this or similar issues. It can be repeated and reproduced with any Perspective and many ActionsSets. It gets even nastier if one starts tinkering with enabling/disabling the ActionSets themselves... I have discovered this while trying to programmatically disable ActionSets for a given perspective from within a plugin. Thanks,
Proposed fix in review: https://git.eclipse.org/r/#/c/14570/
(In reply to comment #1) > Proposed fix in review: https://git.eclipse.org/r/#/c/14570/ I've released this as http://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/?id=7bb898866f6f90ba29528d372f38aa7250d183fc Thanks Tom. That fixes the checkbox in the CPD. This is still open because we need a fix for the resetPerspective. PW
Dup of bug 383569?
*** This bug has been marked as a duplicate of bug 383569 ***