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

Bug 445607

Summary: [Table][Tree] Click on empty scrollbar space scrolls to the end instead with page increment
Product: [RT] RAP Reporter: Ivan Furnadjiev <ivan>
Component: RWTAssignee: Project Inbox <rap-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P2    
Version: 3.0   
Target Milestone: 3.0 M6   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Ivan Furnadjiev CLA 2014-10-01 04:34:00 EDT
Reproducible with all demos. In Examples Demo -> TableViewer page click on the empty space bellow the scrollbar thumb -> Table scrolls to the end. Before (RAP 2.3) it scrolled with one page.
Comment 1 Ivan Furnadjiev CLA 2015-02-18 08:07:37 EST
We changed Grid scrolling to be based on items, not on pixels (support different item heights). Unfortunately, page increment calculation is still based on pixels (ScrollBar.js#_updatePageIncrement). As a result page increment is too big (in pixels) and always scrolls to begining/end.
Comment 2 Ivan Furnadjiev CLA 2015-02-18 08:10:40 EST
... in server-side Nebula Grid implementation page increment is set to 1 in case of different item heights.
Comment 3 Ivan Furnadjiev CLA 2015-03-24 05:43:56 EDT
Fixed with change https://git.eclipse.org/r/#/c/44355/.