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

Bug 325933

Summary: [Tree] Scroll position not updated when resizing a Tree with scroll bars
Product: [RT] RAP Reporter: Ralf Sternberg <rsternberg>
Component: RWTAssignee: Tim Buschtoens <tbuschto>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P1 CC: ivan, tbuschto
Version: 1.4   
Target Milestone: 1.4 M2   
Hardware: PC   
OS: Linux   
Whiteboard:
Attachments:
Description Flags
Proposed patch and js test none

Description Ralf Sternberg CLA 2010-09-22 04:33:01 EDT
Steps to reproduce:
* Fill a Tree with some content
* Manually resize the Tree to make horizontal scroll bar visible
* Scroll down
* Restore the original size of the Tree to make the scrollbar disappear
-> Scroll position is not updated, first TreeItems are hidden
Comment 1 Ivan Furnadjiev CLA 2010-09-22 04:44:32 EDT
It's reproducible with horizontal scrollbar and Control Demo -> Tree too:
1. Start Controls Demo -> Tree
2. Scroll to the right
3. Resize the tree "frame" to make the horizontal scrollbar to disappear.
-> Scroll position is not updated, first TreeColumns are hidden
Comment 2 Ivan Furnadjiev CLA 2010-09-22 05:25:23 EDT
Created attachment 179361 [details]
Proposed patch and js test
Comment 3 Tim Buschtoens CLA 2010-09-22 08:49:26 EDT
Commited patch with some additions to CVS HEAD.

The changs where needed to sync the new scrollbar-position with the server.