Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 351685 - SWT: Reload of a page resets columns width
Summary: SWT: Reload of a page resets columns width
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Scout (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 minor (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-11 05:42 EDT by Claudio Guglielmo CLA
Modified: 2021-08-19 11:01 EDT (History)
3 users (show)

See Also:
zimmermann: indigo+
zimmermann: juno+


Attachments
Patch to resolve the bug. (987 bytes, patch)
2011-07-22 08:47 EDT, Claudio Guglielmo CLA
zimmermann: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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