Community
Participate
Working Groups
4.3 and M20130829-1300. 1. start 4.3 or latest 4.3.1 build with a new workspace 2. create a project with two files 'f1' and 'f2' in it 3. open both files, so that 'f2' is active 4. switch to the 'Resource' perspective 5. in the 'Project Explorer' enable 'Link with Editor' 6. in the 'Project Explorer' click on 'f1' ==> 'f1' is the active editor but the 'Project Explorer' is the active part 7. switch back to the 'Java' perspective BUG: 'Project Explorer' sits in the 'Java' perspective!
I presume this is the same bug whereby I have to keep killing the Package Explorer in the GIT perspective and the GIT Repositories View in the Java perspective.
(In reply to comment #1) > I presume this is the same bug whereby I have to keep killing the Package > Explorer in the GIT perspective and the GIT Repositories View in the Java > perspective. Yes, sounds like that.
Yes, I mentioned this in bug 388617 comment #12. That's basically why I tried to do something deeper than I should (the original commit fixes this issue as well). I've already opened Bug 415987 which can be used to get input on the approach I want to take... I'll tag this for M3 so it'll be in the same bucket as the other defect and we can figure out the relationship later...
Here's another ugly case (I20130917-2000): 1. add this when launching eclipse: -perspective org.eclipse.debug.ui.DebugPerspective 2. start with a new workspace ==> 'Debug' perspective will be the only perspective 3. open the 'Java' perspective 4. exit 5. start with same workspace again ==> OK: 'Debug' perspective will be in front BUG: 'Package Explorer' now in the 'Debug' perspective
*** Bug 317809 has been marked as a duplicate of this bug. ***
Committed: http://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/?id=13f2d1cf34cfe0d24042fce9c89486c4a70028db This ensures that 'setPart' can only activate parts in the current perspective...
Using N20131105-2000, I can still reproduce the issue with the steps from comment 4.
*** Bug 422370 has been marked as a duplicate of this bug. ***
Committed: http://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/?id=f36eec5fa37e88d743e80b2eaffd106f175ef980 This handles the corner case where the active perspective changes on start. The code was re-activating the part that was active when we shut down (which in this case was the PackageExplorer from the Java perspective). I've added checks to ensure that the view is in the correct perspective first.
Since this is a regression from the 3.x version of eclipse, could this fix get ported to 4.3.x?
Verified in N20131127-2000.
*** Bug 424093 has been marked as a duplicate of this bug. ***
Bug 514414 may be a REOPEN of this bug more generally.