| Summary: | PartActivationHistory does not select proper activation candidate for part stacks | ||
|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Dean Roberts <dean.t.roberts> |
| Component: | UI | Assignee: | Platform-UI-Inbox <Platform-UI-Inbox> |
| Status: | CLOSED WONTFIX | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | remy.suen |
| Version: | 4.2 | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | stalebug | ||
| Bug Depends on: | |||
| Bug Blocks: | 340875 | ||
|
Description
Dean Roberts
Case 2: To see this case in action you would actually need the patches for the bug 340875 chain applied. 1) Open at least 2 editors 2) Minimize the editor area 3) Open the editor area fast view 4) Select each of the editor tabs 5) Press the editor area fast view tool bar button to close the editor area Expected: Editor area fast view closes Current: The penulutimate activated editor becomes active. This behaviour, different from case 1, is happening because there is code in PartActivationHistory.getNextActivationCandidate(Collection, MPart) that handles MAreas as a special case. The MArea code does NOT call findActeivationCandidate(Collectin, MPart) as Case 1 does, so does not consider the validity of the parts when returning a candidate. The problem is that if we consider validity in the MArea case, then the editor area will begin to exhibit the problem described in Case 1. This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. If the bug is still relevant, please remove the "stalebug" whiteboard tag. |