Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 289089 - [Tree] Columns in virtual tree viewer render incorrectly upon scroll
Summary: [Tree] Columns in virtual tree viewer render incorrectly upon scroll
Status: RESOLVED FIXED
Alias: None
Product: RAP
Classification: RT
Component: RWT (show other bugs)
Version: 1.2   Edit
Hardware: All All
: P3 major (vote)
Target Milestone: 1.3 M2   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard: sr122
Keywords:
Depends on:
Blocks: 288924
  Show dependency tree
 
Reported: 2009-09-10 11:36 EDT by Austin Riddle CLA
Modified: 2010-01-19 06:46 EST (History)
0 users

See Also:


Attachments
Screenshot illustrating problem in IE (67.03 KB, image/png)
2009-09-10 11:41 EDT, Austin Riddle CLA
no flags Details
Screenshot illustrating problem in Chrome (16.82 KB, image/png)
2009-09-10 11:42 EDT, Austin Riddle CLA
no flags Details
Sample project demonstrating problem (441.33 KB, application/x-zip-compressed)
2009-09-10 11:43 EDT, Austin Riddle CLA
no flags Details
Proposed patch (698 bytes, patch)
2009-09-18 09:15 EDT, Jordan Yakovchev CLA
ruediger.herrmann: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Austin Riddle CLA 2009-09-10 11:36:17 EDT
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US) AppleWebKit/530.5 (KHTML, like Gecko) Chrome/2.0.172.43 Safari/530.5
Build Identifier: 1.2

If a view has a tree viewer with SWT.VIRTUAL as the style, and columnar data, everything looks fine until you scroll vertically.  Then the column data gets mashed up and various rendering problems occur like echoed text artifacts.

Reproducible: Always

Steps to Reproduce:
Use the sample project I have provided to reproduce.
The view class is VirtualView.java.
Comment 1 Austin Riddle CLA 2009-09-10 11:41:42 EDT
Created attachment 146874 [details]
Screenshot illustrating problem in IE
Comment 2 Austin Riddle CLA 2009-09-10 11:42:16 EDT
Created attachment 146875 [details]
Screenshot illustrating problem in Chrome
Comment 3 Austin Riddle CLA 2009-09-10 11:43:43 EDT
Created attachment 146877 [details]
Sample project demonstrating problem
Comment 4 Austin Riddle CLA 2009-09-10 11:44:18 EDT
Problem occurs in FF, IE, Chrome.
Comment 5 Jordan Yakovchev CLA 2009-09-18 09:15:09 EDT
Created attachment 147557 [details]
Proposed patch
Comment 6 Austin Riddle CLA 2009-09-18 12:29:34 EDT
(In reply to comment #5)
I have tested and the patch seems to work well.
Thanks Jordan.
Comment 7 Rüdiger Herrmann CLA 2009-09-21 10:23:42 EDT
Applied patch to CVS HEAD
Comment 8 Ivan Furnadjiev CLA 2010-01-19 06:46:28 EST
Applied patch in v12_Maintenance.