Community
Participate
Working Groups
Created attachment 208331 [details] failure stack traces Tests: 9/9 Errors: 0 Failures: 4
page.showView(partid) creates and activated the part, but it doesn't appear to update the active contexts. Failed: org.eclipse.ui.tests.contexts.Bug74990Test.testPartIdSubmission() org.eclipse.ui.tests.contexts.PartContextTest.testBasicContextActivation() org.eclipse.ui.tests.contexts.PartContextTest.testContextActivation() org.eclipse.ui.tests.contexts.PartContextTest.testPageBookPageContextActivation()
(In reply to comment #1) > org.eclipse.ui.tests.contexts.PartContextTest.testBasicContextActivation() > org.eclipse.ui.tests.contexts.PartContextTest.testContextActivation() > org.eclipse.ui.tests.contexts.PartContextTest.testPageBookPageContextActivation() If the event is spun, then these tests pass for me. This is because our context changes are dispatched asynchronously by the UpdateExpression in ContextService. Bug 366625 has a similar problem but will need the change for bug 348920 reverted first because the N copies of ContextAuthority is causing problems. http://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/?id=ec87e24a07c23cb6144b4cdb77bd3303b7530171
By http://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/?id=12377a9baddb3696ed87e39e0ca8bfa20039e19b PW
It causes wonkiness when you have 2 workbench windows open. I've reverted the change in master. PW
Does this cause functional issues or is it just that the tests are failing ? If the latter then we should likely defer...
This is a functional issue, that can effect anyone using o.e.ui.contexts (keybindings, most of Debug and CDT, etc). PW
This is down to org.eclipse.ui.tests.contexts.Bug74990Test.testPartIdSubmission() It can be deferred to 4.3 PW
Mass move to 4.7 as M7 is approaching. Please move back in case you are planning to fix it for Neon.