Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 340656 - [Preferences] FileEditorsPreferencePage reuses a GridData instance for two different controls
Summary: [Preferences] FileEditorsPreferencePage reuses a GridData instance for two di...
Status: VERIFIED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.7   Edit
Hardware: All All
: P3 trivial (vote)
Target Milestone: 3.7 M7   Edit
Assignee: Prakash Rangaraj CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 440199
  Show dependency tree
 
Reported: 2011-03-22 09:43 EDT by Remy Suen CLA
Modified: 2014-07-23 11:01 EDT (History)
2 users (show)

See Also:


Attachments
Patch v01 (1.65 KB, patch)
2011-03-23 03:08 EDT, Prakash Rangaraj CLA
no flags Details | Diff

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