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

Bug 372685

Summary: [Tree] TreeItems have incorrect horizontal position
Product: [RT] RAP Reporter: Chris Fairhall <chris>
Component: RWTAssignee: Project Inbox <rap-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P1 CC: nmussin, tbuschto
Version: 1.5   
Target Milestone: 1.5 M6   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
screen shot showing alignment issues
none
screen shot after mouse-over with correct alignment none

Description Chris Fairhall CLA 2012-02-27 16:31:16 EST
Build Identifier: rap-runtime-1.5.0-N-20120227-0212

In recent nightly builds TreeItems have been showing left-right alignment problems when scrolling. The same problem exists in IE8 and FF10.

It can be reproduced with the workbench demo and the controls demo. There must be more items than can fit in the client area so vertical scrolling is possible. Expanding all children seems to make it easier to reproduce.

Scroll the tree up and down and notice when you mouse-over tree items they will jump back to where they should be.

Screen shots were on build 536
Tested 533, problem exists.
Problem did not exist on 532

Reproducible: Always

Steps to Reproduce:
1. Go to Tree demo page on controls demo. Expand the tree items.
2. Scroll the tree up and down with the mouse wheel or scroll bar.
3. Watch the tree items being shown in the wrong horizontal position.
4. Mouse-over the tree items and they will jump back in to the correct place.
Comment 1 Chris Fairhall CLA 2012-02-27 16:33:29 EST
Created attachment 211695 [details]
screen shot showing alignment issues
Comment 2 Chris Fairhall CLA 2012-02-27 16:34:42 EST
Created attachment 211696 [details]
screen shot after mouse-over with correct alignment
Comment 3 Ivan Furnadjiev CLA 2012-02-28 01:57:56 EST
I can reproduce it too with Controls Demo.
Comment 4 Tim Buschtoens CLA 2012-02-28 05:00:39 EST
This is a side-effect of the recent performance-related refactorings. I will fix it. Sometimes there are also semi-transparent images, probaby for the same reason.
Comment 5 Tim Buschtoens CLA 2012-02-28 05:29:21 EST
Bug 372685 - [Tree] TreeItems have incorrect horizontal position (edit)
Comment 6 Tim Buschtoens CLA 2012-02-28 05:30:24 EST
Sorry, messed up my message, meant to say "Fixed in CVS HEAD" ;-)
Comment 7 Nick Mussin CLA 2012-02-29 05:02:35 EST
This bug can still be reproduced in the examples demo. Scrolling the tree up or down causes checkbox cells to appear unaligned on the left side of the tree. On mouse-over the checkboxes jump back to where they should be.
Comment 8 Tim Buschtoens CLA 2012-02-29 05:04:56 EST
Re-open bug for checkbox issue.
Comment 9 Tim Buschtoens CLA 2012-02-29 05:14:28 EST
Fixed the checkbox issue also in HEAD.