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

Bug 351685

Summary: SWT: Reload of a page resets columns width
Product: z_Archived Reporter: Claudio Guglielmo <claudio.guglielmo>
Component: ScoutAssignee: Project Inbox <scout.core-inbox>
Status: CLOSED FIXED QA Contact:
Severity: minor    
Priority: P3 CC: Andreas.Hoegger, wayne.beaton, zimmermann
Version: unspecifiedFlags: zimmermann: indigo+
zimmermann: juno+
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Patch to resolve the bug. zimmermann: iplog+

Description Claudio Guglielmo CLA 2011-07-11 05:42:31 EDT
Build Identifier: 3.7.0

If the property autoResizeColumns is set to true on a table the size of the columns will be reset to theirs original values if reloadPage() is called. 

Reloading a page should not affect the column sizes but only reload the data.

The problem only exists with the SWT-UI, it works well with the Swing-UI.

Reproducible: Always

Steps to Reproduce:
1. Create a table with the property autoResizeColumns set to true
2. Change the size of a column.
3. Call the method IPage#reloadPage()
Comment 1 Claudio Guglielmo CLA 2011-07-22 08:47:53 EDT
Created attachment 200178 [details]
Patch to resolve the bug.
Comment 2 Andreas Hoegger CLA 2011-08-10 05:51:55 EDT
solved for trunk and indigo sp1
Comment 3 Wayne Beaton CLA 2011-09-20 07:40:16 EDT
The patch, if applied to the code base, must be flagged iplog+ so that it appears in the log.
Comment 4 Matthias Zimmermann CLA 2011-10-10 12:55:01 EDT
shipped with scout 3.7.1
Comment 5 Matthias Zimmermann CLA 2011-10-11 11:42:50 EDT
removed iplog flag from ticket and added iplog flag to attachment