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

Bug 404732

Summary: [List] Selecting an item scrolls it to the top, even if it is below the current scroll position
Product: [RT] RAP Reporter: Tim Buschtoens <tbuschto>
Component: RWTAssignee: Project Inbox <rap-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: tbuschto
Version: 2.1   
Target Milestone: 2.1 M2   
Hardware: All   
OS: All   
Whiteboard:

Description Tim Buschtoens CLA 2013-04-02 10:57:20 EDT
List#setSelection automatically scrolls the given item into view. In SWT, the item is at the top if it was above the current position, and at the bottom if it was below. In RAP it is always at the top, which can be confusing if the user is aware that the item is lower than the current position.
Comment 1 Tim Buschtoens CLA 2013-04-02 11:40:53 EDT
Fixed with commit df12047975ff69075236e6fe25fe6a89383f802f.

Item is no longer automatically top-aligned, but rather top- or
bottom-aligned depending on the scroll position before the selection.