Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 417393

Summary: Scroll event handling
Product: [Eclipse Project] Platform Reporter: Christoph Cantillon <christoph.cantillon>
Component: SWTAssignee: Platform-SWT-Inbox <platform-swt-inbox>
Status: RESOLVED WORKSFORME QA Contact:
Severity: normal    
Priority: P3 CC: christoph.cantillon, ericwill
Version: 4.3Keywords: triaged
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Christoph Cantillon CLA 2013-09-17 03:27:47 EDT
I'm running Eclipse 4.3.0 on Ubuntu 12.04 and I'm using a Logitech Performance MX. This mouse can generate scroll events very quickly thanks to its notchless flywheel scrollwheel. What I notice when scrolling through code in Eclipse is that when I flick the wheel and stop it, Eclipse continues scrolling for some time after stopping it.
This seems to me as if Eclipse queues each scroll event and renders a frame for each event, even if the scroll events are arriving faster than Eclipse can render the editor. A much better solution would be to aggregate similar scrolling events into a single event while the editor is still rendering, and then render just once so no backlog is created and scrolling stops almost immediately after stopping the scroll wheel.
Comment 1 Christoph Cantillon CLA 2013-09-17 05:03:12 EDT
Forgot to mention: this only happens in text editors. The Console e.g. stops scrolling correctly.
Comment 2 Eric Williams CLA 2018-05-11 14:11:09 EDT
I cannot reproduce this issue on Fedora 28, 4.8 M7, and GTK3.22. Please re-open this ticket if the bug persists.