| Summary: | [Compatibility] 'Close All' should always be enabled when editors are open | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] e4 | Reporter: | Grant Gayed <grant_gayed> | ||||
| Component: | UI | Assignee: | Remy Suen <remy.suen> | ||||
| Status: | VERIFIED FIXED | QA Contact: | Remy Suen <remy.suen> | ||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | remy.suen | ||||
| Version: | unspecified | ||||||
| Target Milestone: | 4.1 M6 | ||||||
| Hardware: | All | ||||||
| OS: | All | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Grant Gayed
While the scenario described in comment 0 has been fixed with the closing of bug 306952, this problem can still surface in 4.x because this handler seems to only be enabled when we have an active editor. This is no longer a valid assessment because we you have an editor opened but it is obscured by another part (hence there isn't an active editor). Created attachment 190433 [details]
'Close All' patch v1
Change the XML <enabledWhen> expression to not refer to the 'activeEditor' variable and alter CloseAllHandler internally to check for editor references in the workbench page.
(In reply to comment #2) > Created attachment 190433 [details] > 'Close All' patch v1 Patch released to CVS HEAD. Thanks for the bug report, Grant! Verified with I20110307-2200 on Windows XP. |