| Summary: | Tab folders do not stay coloured when switching between workbench windows | ||
|---|---|---|---|
| Product: | [Eclipse Project] e4 | Reporter: | Remy Suen <remy.suen> |
| Component: | UI | Assignee: | Project Inbox <e4.ui-inbox> |
| Status: | RESOLVED WORKSFORME | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | ob1.eclipse |
| Version: | 1.0 | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | stalebug | ||
|
Description
Remy Suen
IMO the active part is *window based*, having it in the App's context is bogus. We should be setting the active part in the top level window's context as a straightforward value (not a computation, RAT or whatever) and re-examine the code that has lead to its being forced into the wrong place... (In reply to comment #1) > re-examine the > code that has lead to its being forced into the wrong place... Which "wrong place" do you speak of exactly? Regardless of what happens, the code that's in WBWRenderer needs to be shifted elsewhere or compensate for the fact that there are "multiple" active parts. (In reply to comment #2) > (In reply to comment #1) > > re-examine the > > code that has lead to its being forced into the wrong place... > Which "wrong place" do you speak of exactly? Let me add from the top of my head: - bug 283473 - the bug where copy/paste goes to a wrong workbench window (don't have the number handy) - to a degree, bug 315270 and the need for the shell activation listener The combination of ActivePartLookupFunction -> PartServiceCreationFunction -> PartServiceImpl creates a code with "butterfly effects": little changes to, say, ActivePartLookupFunction, or even to the order in which PartServiceImpl objects are created behind the scene lead to surprising changes in the application's behaviour. I am not convinced that we can (or should) change this two weeks before the release, but yes, IMO, the Active Child, Active Part, and Part service code need to be changed into something much more straightforward. (For instance, I was surprised to discover when exactly part services are created and even more surprised to discover how they tied together through propagation of active children.) (By the way, the model is not perfect in this area as well - the #setSelectedElement() duplicates active child with no clear rules on the order or precedence.) 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. -- The automated Eclipse Genie. This is a mass change to close all e4 bugs marked with "stalebug" whiteboard. If this bug is still valid, please reopen and remove the "stalebug" keyword. |