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

Bug 354509

Summary: Not possible to store different form bounds for different instances
Product: z_Archived Reporter: Claudio Guglielmo <claudio.guglielmo>
Component: ScoutAssignee: Andreas Hoegger <Andreas.Hoegger>
Status: CLOSED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: Andreas.Hoegger, zimmermann
Version: unspecifiedFlags: zimmermann: indigo+
zimmermann: juno+
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Proposed patch
none
Patch for release 3.8.0 (trunk) zimmermann: iplog+

Description Claudio Guglielmo CLA 2011-08-11 10:53:58 EDT
Build Identifier: 3.7.0

I have a form called XyForm. The property cacheBounds is set to true which makes the bounds saved for the XyForm. 

Problem: The bounds are the same for every instance of XyForm which is fine in most cases. In my case I have an additional property called XyType which distinguishes the XyForm's. The bounds need to be saved separately for each XyType.

Proposed enhancement: It should be possible to modify the key which is used to save the bounds.

Reproducible: Always
Comment 1 Claudio Guglielmo CLA 2011-08-11 11:03:12 EDT
Created attachment 201321 [details]
Proposed patch
Comment 2 Claudio Guglielmo CLA 2011-08-19 08:32:00 EDT
Created attachment 201788 [details]
Patch for release 3.8.0 (trunk)
Comment 3 Andreas Hoegger CLA 2011-08-24 05:40:55 EDT
Patch applied for Indigo SP1
Comment 4 Matthias Zimmermann CLA 2011-10-10 13:06:17 EDT
shipped with scout 3.7.1
Comment 5 Matthias Zimmermann CLA 2011-10-11 11:36:24 EDT
removed iplog flag from ticket and added iplog flag to attachment