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

Bug 340656

Summary: [Preferences] FileEditorsPreferencePage reuses a GridData instance for two different controls
Product: [Eclipse Project] Platform Reporter: Remy Suen <remy.suen>
Component: UIAssignee: Prakash Rangaraj <prakash>
Status: VERIFIED FIXED QA Contact:
Severity: trivial    
Priority: P3 CC: daniel_megert, prakash
Version: 3.7   
Target Milestone: 3.7 M7   
Hardware: All   
OS: All   
Whiteboard:
Bug Depends on:    
Bug Blocks: 440199    
Attachments:
Description Flags
Patch v01 none

Description Remy Suen CLA 2011-03-22 09:43:17 EDT
Around the line 210 range, the same GridData instance is used for both groupComponent and addResourceTypeButton.
Comment 1 Prakash Rangaraj CLA 2011-03-23 03:08:33 EDT
Created attachment 191727 [details]
Patch v01

In the very next line the correct data for addResourceTypeButton is set, so the previous one is overridden with the new data.
Comment 2 Prakash Rangaraj CLA 2011-03-23 03:09:33 EDT
Patch v01 released to HEAD
Comment 3 Prakash Rangaraj CLA 2011-04-26 10:14:04 EDT
Verified in I20110425-1800