| Summary: | View hidden by capability filtering does not appear when capability activated | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Dean Roberts <dean.t.roberts> | ||||||
| Component: | UI | Assignee: | Dean Roberts <dean.t.roberts> | ||||||
| Status: | VERIFIED FIXED | QA Contact: | |||||||
| Severity: | normal | ||||||||
| Priority: | P3 | CC: | pwebster, remy.suen | ||||||
| Version: | 4.2 | Flags: | pwebster:
review+
|
||||||
| Target Milestone: | 4.2 M4 | ||||||||
| Hardware: | All | ||||||||
| OS: | All | ||||||||
| Whiteboard: | |||||||||
| Attachments: |
|
||||||||
|
Description
Dean Roberts
Created attachment 205563 [details]
Projects demonstrating problem
In 3.x, activities would not make an existing view disappear if its activity was false, nor would it make a filtered view appear if the activity was suddenly enabled. PW Perhaps I didn't describe the initial behaviour properly? This is what I am seeing on: Version: 3.7.1 Build id: M20110909-1335 Which is NOT happening in e4. Using the test bundles attached to this defect. 1) Open a clean workspace. 2) It opens with the Java Perspective, no added view because the capability is not active. 3) Use Windows->Preferences->General->Capabilities to activate the "C Category Releng Perspective 3" capability At this point the "Sample View" view appears to the right of out Outline view I agree that this view does not, and should not disappear if the capability is subsequently deactivated. However, having a view that is not displayed because it is being filtered by an inactive capability appear when that capability is subsequently enabled seems like proper and desired behaviour. So are we talking about the same thing here or does "if the activity was suddenly enabled." from comment 2 mean a different set of steps that what I describe? Created attachment 205737 [details]
Patch
Released as http://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/?id=5e15d8954551428c720c68600403d5ceb8fc74b6 Thanx Dean. PW Verified in I20111205-2330 |