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

Bug 315426

Summary: Table gridlines missing in IE upon view tab selection
Product: [RT] RAP Reporter: Austin Riddle <austin.riddle>
Component: RWTAssignee: Project Inbox <rap-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: minor    
Priority: P3 CC: tbuschto
Version: 1.3   
Target Milestone: 1.5 M1   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Attachments:
Description Flags
Sample project illustrating problem
none
Workbench Demo patch to reproduce it
none
Correct Sample Project none

Description Austin Riddle CLA 2010-06-02 12:58:52 EDT
Version: CVS HEAD

Symptoms: When a view with a table is stacked behind another view, the gridlines do not render properly in at least IE 7 and 8 when that view is selected/made visible initially.

Steps to reproduce:

1) Run the sample project in IE > 7.
2) Select the view entitled "Table View"
3) Observe that the gridlines do not render properly.

There are variable effects depending on whether there is data in the table. So you can uncomment the line at TableView.java:53 to have an empty table. But it does indeed happen with and without data.
Comment 1 Austin Riddle CLA 2010-06-02 13:02:41 EDT
Forgot to mention that the gridlines will render properly once the mouse is clicked in the table or moved around enough to cause a refresh.
Comment 2 Ivan Furnadjiev CLA 2010-07-06 04:39:30 EDT
Austin, where is the sample project?
Comment 3 Austin Riddle CLA 2010-07-12 11:03:46 EDT
(In reply to comment #2)
> Austin, where is the sample project?

Sorry, I was on vacation last week.  I am not sure why the sample project is missing.  Do you still need the sample project or were you able to reproduce?
Comment 4 Ivan Furnadjiev CLA 2010-07-12 11:37:17 EDT
Hi Austin, I've tried to reproduce it with Workbench Demo without success. A sample project will really help.
Comment 5 Austin Riddle CLA 2010-07-12 14:18:23 EDT
Created attachment 174079 [details]
Sample project illustrating problem

I could not find the project that should have been attached so I created another one.  Just click on the Table View tab and do not move the mouse after that.

You will see the first few gridlines incorrectly rendered.  Then if you move or click or activate another view, then they will render correctly.  You may have to try to refresh the app a few times in the browser.  But it is definitely reproducible for me.
Comment 6 Ivan Furnadjiev CLA 2010-07-13 03:40:51 EDT
Thanks, Austin. I will have a look today.
Comment 7 Ivan Furnadjiev CLA 2010-07-13 04:11:55 EDT
Hi Austin, I'm confused. In the attached project 2 views with Tree widget are shown - standard Tree and Tree with columns. Currently, Tree widget does not support grid lines (maybe you have a patch to enable them). I've changed "Simple Tree Table" view to bugdemo\attic\TableView.java and grid lines have been rendered OK for me (IE8 , Windows 7, CVS HEAD, with/without data in table). Are you talking about Table or Tree (with columns)?
Comment 8 Austin Riddle CLA 2010-07-13 09:22:26 EDT
(In reply to comment #7)
> Hi Austin, I'm confused. In the attached project 2 views with Tree widget are
> shown - standard Tree and Tree with columns. Currently, Tree widget does not
> support grid lines (maybe you have a patch to enable them). I've changed
> "Simple Tree Table" view to bugdemo\attic\TableView.java and grid lines have
> been rendered OK for me (IE8 , Windows 7, CVS HEAD, with/without data in
> table). Are you talking about Table or Tree (with columns)?


Hi Ivan,

Sorry about any confusion.  To reproduce the behavior, you have to click on the view entitled "Table View"  which is initially stacked behind the left view.  The fact that there are tree table initially viewable is arbitrary.  What is important is that the table view is stacked behind another view.  The gridlines do not show properly when a view is activated from behind another view after the application comes up.  Does that help?
Comment 9 Ivan Furnadjiev CLA 2010-07-13 10:04:36 EDT
There is no view entitled "Table View" in the attached project :-)
Comment 10 Ivan Furnadjiev CLA 2010-07-13 10:27:42 EDT
Created attachment 174151 [details]
Workbench Demo patch to reproduce it

I've managed to reproduce it with Workbench Demo and empty table.
Steps to reproduce:
1. Apply patch to Workbench Demo
2. Make sure that "View V" is active view and not "View IV". If not, activate "View V" and reload the application. Now "View IV" is not visible.
3. Click on "View IV" to activate it
4. Horizontal grid lines are missing.
5. Activate "View V" and than "View IV" again - grid lines come back.
In case of table with data, there is a visual glitch (horizontal grid line cut off) in the cross point between horizontal and vertical grid lines.
Comment 11 Austin Riddle CLA 2010-07-13 10:30:00 EDT
Created attachment 174152 [details]
Correct Sample Project

...These are the things that give vacation a bad name. ;-)
Comment 12 Ivan Furnadjiev CLA 2010-11-22 04:05:25 EST
This bug is still valid with current CVS HEAD. To reproduce it, run the Workbench Demo (with attached patch) with classic theme and follow the steps in comment #10.
Comment 13 Tim Buschtoens CLA 2011-06-09 10:12:30 EDT
Can not be reproduced anymore with current CVS HEAD.