Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [mylyn-dev] attachment upload progress

That's great! Philippe, please go ahead and file a new bug report and
attach your contribution as a patch so we can consider it for
inclusion in Mylyn:

 http://wiki.eclipse.org/Mylyn_Contributor_Reference#Patches

Steffen


On Fri, May 1, 2009 at 12:36 PM, Philippe Marschall <kustos@xxxxxxx> wrote:
> Hi
>
> The current infrastructure doesn't seem to report upload progress when
> adding an attachment to a task. Looking at AbstractTaskAttachmentSource the
> code seems designed for progress reporting but neither
> TaskAttachmentPartSource nor any of the concrete TaskAttachmentSource
> classes seem to make any use of it.
>
> I got some quite good results with the attached code. The only issue it has
> is that the monitor handed to me trough AbstractTaskAttachmentHandler seems
> to use only about a third of the ticks of the parent monitor. So the visual
> effect is that the progress bar steadily moving form 0% to 33% and the
> suddenly jumping to 100%. Four fifths or even nine tenths of the ticks would
> probably yield much better results.
>
> Cheers
> Philippe
>
> _______________________________________________
> mylyn-dev mailing list
> mylyn-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/mylyn-dev
>
>



-- 
Steffen Pingel
Committer, http://eclipse.org/mylyn
Senior Developer, http://tasktop.com


Back to the top