Bug 399557 - Extremely slow scrolling / editing
Summary: Extremely slow scrolling / editing
Status: CLOSED DUPLICATE of bug 366471
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 4.2.1   Edit
Hardware: Macintosh Mac OS X
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: Platform-SWT-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: needinfo
Depends on:
Blocks:
 
Reported: 2013-01-30 16:10 EST by Missing name CLA
Modified: 2013-01-31 06:44 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Missing name CLA 2013-01-30 16:10:42 EST
A single scroll gesture on the touchpad causes 5 or 6 lurchy, slow screen updates, taking about 3-4 seconds in total. Scrolling in Safari, TextMate, and other apps works smoothly and quickly.

This is a MacBook Air 1.8 GHz i7 with 4 GB of ram. The project is an Android app.
Comment 1 Dani Megert CLA 2013-01-31 03:08:03 EST
Can you please try this:

1. download http://download.eclipse.org/eclipse/downloads/drops4/M20130125-1200/
2. start a new workspace
3. create a Java project and add a Java and text file
4. try scrolling and editing in both editors and report back how it goes
Comment 2 Missing name CLA 2013-01-31 05:34:58 EST
Still noticeably jerky, but maybe twice better. It sort of does 5-6 long distance jumps and then 5-6 as it slowly rolls to the resting place. This would be tolerable.

So, what about my workspace is slowing down scrolling even more?
Comment 3 Dani Megert CLA 2013-01-31 05:51:21 EST
(In reply to comment #2)
> Still noticeably jerky, but maybe twice better. It sort of does 5-6 long
> distance jumps and then 5-6 as it slowly rolls to the resting place. This
> would be tolerable.
> 
> So, what about my workspace is slowing down scrolling even more?

I suspect it's the build not your workspace. We had several performance issues in 4.2.1 which got resolved by now.

Do you see a difference between text and Java editor?

If you have time, could you please test it in a pure SWT widget [1]?


[1] http://www.java2s.com/Code/Java/SWT-JFace-Eclipse/SWTTextEditorDemo.htm
Comment 4 Missing name CLA 2013-01-31 05:55:50 EST
I tested with 4.2.1, and it looks like the problem is related to my workspace. I see similar tolerable scrolling performance with a new workspace on 4.2.1
Comment 5 Dani Megert CLA 2013-01-31 06:17:05 EST
(In reply to comment #4)
> I tested with 4.2.1, and it looks like the problem is related to my
> workspace. I see similar tolerable scrolling performance with a new
> workspace on 4.2.1

Strange. And this is in both, text and Java editor? Do you start both workspace with the same settings (e.g. memory)?
Comment 6 Missing name CLA 2013-01-31 06:23:50 EST
The text editor is much better in my workspace, but still not flawless.

It looks like both can be substantially improved by disabling "Show whitespace characters" (all boxes checked in "configure visibility"). 

This applies to both 4.2.1 and 4.2.2
Comment 7 Dani Megert CLA 2013-01-31 06:30:21 EST
(In reply to comment #6)
> The text editor is much better in my workspace, but still not flawless.
> 
> It looks like both can be substantially improved by disabling "Show
> whitespace characters" (all boxes checked in "configure visibility"). 
> 
> This applies to both 4.2.1 and 4.2.2

It looks like the code who paints over the text is causing the slowdown.

Is it also slow when you scroll via mouse wheel or via scroll bar?
Comment 8 Missing name CLA 2013-01-31 06:33:16 EST
I don't have a mouse wheel, but via scrollbar is also slow (and made much faster with the option disabled).
Comment 9 Dani Megert CLA 2013-01-31 06:44:04 EST

*** This bug has been marked as a duplicate of bug 366471 ***