Bug 438704 - Big scrolling operations block UI
Summary: Big scrolling operations block UI
Status: CLOSED DUPLICATE of bug 434898
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 4.4   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-SWT-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-02 05:23 EDT by Mickael Istria CLA
Modified: 2014-07-02 05:42 EDT (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 Mickael Istria CLA 2014-07-02 05:23:12 EDT
Using a recent enough Ubuntu.
On a text editor, with a long file, I want to scroll, let's say hundreds of lines down. So I scroll down for a while. But the UI goes on honouring those scrolling events synchronously so that I have to wait at least a few seconds before I can work again with the Eclipse UI (which was saturated by refreshing the editor).
Those events should be accumulated so that only the last one available will show a response in the UI. Not need to show all intermediary scrolls.
Comment 1 Dani Megert CLA 2014-07-02 05:25:02 EDT
Are you on GTK+ 3? If so, it's bug 434898.
Comment 2 Mickael Istria CLA 2014-07-02 05:26:53 EDT
Yes, I am on GTK3, and it seems to be the same symptom as the one of bug #434898.
However, I'm not sure it's a SWT issue since scroll seems to work well on many other views (Project Navigator and so on).
Comment 3 Dani Megert CLA 2014-07-02 05:31:36 EDT
(In reply to Mickael Istria from comment #2)
> Yes, I am on GTK3, and it seems to be the same symptom as the one of bug
> #434898.
> However, I'm not sure it's a SWT issue since scroll seems to work well on
> many other views (Project Navigator and so on).

Yep, but the editor is using StyledText custom widget from SWT.
Comment 4 Mickael Istria CLA 2014-07-02 05:33:23 EDT
It indeed seems to be an issue of the StyledText editor. I can see the similar behaviour in Console view for example, which is a StyledText.

*** This bug has been marked as a duplicate of bug 434898 ***
Comment 5 Dani Megert CLA 2014-07-02 05:35:12 EDT
(In reply to Mickael Istria from comment #4)
> It indeed seems to be an issue of the StyledText editor. I can see the
> similar behaviour in Console view for example, which is a StyledText.
> 
> *** This bug has been marked as a duplicate of bug 434898 ***

Just out of curiosity: is scrolling fast when you start Eclipse with GTK+ 2 mode?
Comment 6 Mickael Istria CLA 2014-07-02 05:40:40 EDT
(In reply to Dani Megert from comment #5)
> Just out of curiosity: is scrolling fast when you start Eclipse with GTK+ 2
> mode?

Yes, it is fast with GTK2
Comment 7 Dani Megert CLA 2014-07-02 05:42:16 EDT

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