Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[platform-swt-dev] Fw: [platform-ui-dev] Slowness of ProgressDialog on non-Windows platforms

Forwarding to swt-dev since they typically understand the platform specific issues the best...

McQ.

----- Forwarded by Mike Wilson/Ottawa/IBM on 2014/04/22 12:29 PM -----

From: "Max Rydahl Andersen" <manderse@xxxxxxxxxx>
To: platform-ui-dev@xxxxxxxxxxx
Date: 2014/04/22 05:19 AM
Subject: [platform-ui-dev] Slowness of ProgressDialog on non-Windows platforms
Sent by: platform-ui-dev-bounces@xxxxxxxxxxx





Hi,

About 1 or 2 times a year I bump into a bug report that says "Feature X
is so slow on OSX compared to linux and windows" and every time it comes
down to a feature that is so nice to actually use setTaskName() on the
ProgressDialog to tell about what is being done (i.e. which file is
being copied) resulting in many calls to setTaskName().

On Windows it has zero impact, on Linux it gets a bit slow and on OSX it
is just ridiculously slow.

I opened
https://bugs.eclipse.org/bugs/show_bug.cgi?id=432826 about this
but I was wondering if anyone in here might know
the reason for this issue since it is basically been around for several
years.

To see what i'm talking about see these videos simply iterating over 500
calls to setTaskName() and see how slow it is:

OSX: 50 seconds -
http://screencast.com/t/DhqW9lU3md5

Linux: a few seconds -
http://youtu.be/J35JJOcxYWw

Windows: Almost instant -
http://screencast.com/t/0IHIxx6MrQUv

I tried reproducing it in pure SWT but here things seem to be just fine
- its something in the jface ProgressDialog that is slowing things down.

Also note that the Cancel button becomes useless on osx too in this
case.

Any ideas/suggestions would be very welcome!

Thanks,
/max
http://about.me/maxandersen
_______________________________________________
platform-ui-dev mailing list
platform-ui-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/platform-ui-dev


Back to the top