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

Bug 276881

Summary: [Table] Missing columns after resizing container
Product: [RT] RAP Reporter: Jordan Yakovchev <dany>
Component: RWTAssignee: Project Inbox <rap-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: ivan
Version: 1.2   
Target Milestone: 1.2 RC2   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
Proposed patch. rsternberg: review+

Description Jordan Yakovchev CLA 2009-05-19 09:02:36 EDT
Build ID: M20090211-1700

Steps To Reproduce:
1. In the Control Demo select Table or TableViewer tab.
2. Resize the container to have a horizontal scroll bar.
3. Scroll to the right end
4. Resize the container back to its initial size so the scroll bar to disappear.
5. On the screen are left only columns which were last visible (at the end of step 3).


More information:
Appears in Firefox 3.0.10. Does not appear in IE7 and Safari4

The same problem exists for the vertical case.
Comment 1 Ivan Furnadjiev CLA 2009-05-22 05:37:43 EDT
Created attachment 136781 [details]
Proposed patch.

In Firefox when the scrollbars become hidden (after table resize) the value of the scrollbar (both horizontal and vertical) is not 0, but the previouse one and the changeValue event is not fired. In other browsers (IE, Safari) the value is automatically set to 0 and chnageValue event is fired.
Comment 2 Ralf Sternberg CLA 2009-05-22 05:53:36 EDT
Comment on attachment 136781 [details]
Proposed patch.

The patch looks good to me.
Comment 3 Ivan Furnadjiev CLA 2009-05-25 07:32:37 EDT
Changes are in CVS HEAD.