Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [mylar-dev] next mylar conference call

Yes, bug 160946 was about restoring task editors on Eclipse startup.  That
meant that we had to stop reading the Task List asynchronously, because it
required having both the TaskList and the RepositoryTaskData initialized on
startup, otherwise the editors can't be restored (similar to how the
Platform requires the workspace to be initialized before restoring an
editor).  So for now I think the solution is to ensure that connectors do
not perform any slow operations in readQuery and other methods.  I added
documentation stating that to DelegatingTaskExternalizer and that method.
Let's discuss solving this for JIRA on: 

169141: Mylar is fetching data from jira repository at Eclipse startup
https://bugs.eclipse.org/bugs/show_bug.cgi?id=169141

Mik

> -----Original Message-----
> From: mylar-dev-bounces@xxxxxxxxxxx [mailto:mylar-dev-
> bounces@xxxxxxxxxxx] On Behalf Of Eugene Kuleshov
> Sent: Wednesday, January 03, 2007 12:17 PM
> To: Mylar developer discussions
> Subject: Re: [mylar-dev] next mylar conference call
> 
> Mik Kersten wrote:
> > Regarding bug 169141, I can't put time towards it but yes, we'll have
> a dev
> > build on Friday so if you have a way of avoiding having the projects
> > retrieved on read than it could make it into that build.
> >
>   Apparently that is a result of your fix for bug 160946 back in
> October.
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=160946
> 
>   Change was around this code in TasksUiPlugin.
> 
> .......
>             // NOTE: task list must be read before Task List view can
> be
> initialized
>             taskListManager.init();
> 
> taskListManager.addActivityListener(CONTEXT_TASK_ACTIVITY_LISTENER);
>             taskListManager.readExistingOrCreateNewList();
>             initialized = true;
> 
>             PlatformUI.getWorkbench().getDisplay().asyncExec(new
> Runnable() {
>                 public void run() {
>                     try {
> 
> TasksUiExtensionReader.initWorkbenchUiExtensions();
> 
> PlatformUI.getWorkbench().addWindowListener(WINDOW_LISTENER);
> 
>                         // Needs to happen asynchronously to avoid bug
> 159706
> .......
> 
>   On the other hand it is still unclear to me why this information is
> not cached by jira services...
> 
>   regards,
>   Eugene
> 
> 
> _______________________________________________
> mylar-dev mailing list
> mylar-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/mylar-dev



Back to the top