Community
Participate
Working Groups
1) The deactived task which has context is opened with the Task Editor. 2) The Context page of the Task Editor is displayed. 3) The Active button in the toolbar of the Task Editor is clicked. The context element is not displayed even if activated with the Context page. The slider doesn't become enabled. There is no problem when the actived task is opened. I think that a necessary code is insufficient.
Created attachment 121270 [details] context_problem.patch It is a patch that corrects the problem. There might be a case not considered. The initial value to display everything (as 0 ?) was set to the slider.
Marking minor: The current work around is to close and reopen the task editor page. Shawn, you were working on a patch that allowed loading of contexts that are not active. That functionality would make this patch obsolete. Do you think your patch will be ready for 3.1? Otherwise I'll go ahead and apply this one.
Created attachment 121522 [details] context_problem_2nd.patch There was a problem that the exception is generated by dispose of CommonViewer. The hot fix is up-loaded again.
*** Bug 259621 has been marked as a duplicate of this bug. ***
*** Bug 260665 has been marked as a duplicate of this bug. ***
Thanks Hiroyuki. I'll review the patch and consider it for 3.1. We'll address loading of contexts for tasks that are not active in a future iteration.
Great stuff! I have applied the patch with minor modifications. The common viewer is disposed when the task is deactivated. This is a slight optimization to avoid resource consumption if task editors are open in the background.
Created attachment 122889 [details] mylyn/context/zip
*** Bug 252461 has been marked as a duplicate of this bug. ***