| Summary: | SashLayout sets widgets on an MPSC eagerly which will cause child elements to not be rendered | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Remy Suen <remy.suen> | ||||
| Component: | UI | Assignee: | Eric Moffatt <emoffatt> | ||||
| Status: | VERIFIED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | emoffatt | ||||
| Version: | 4.2 | ||||||
| Target Milestone: | 4.2 M5 | ||||||
| Hardware: | All | ||||||
| OS: | All | ||||||
| Whiteboard: | |||||||
| Bug Depends on: | |||||||
| Bug Blocks: | 320749 | ||||||
| Attachments: |
|
||||||
|
Description
Remy Suen
Created attachment 209821 [details]
PartRenderingEngineTests patch v1
This unit test will illustrate the problem.
I just read the IRC thread...it's most certainly an error for the 'widget' to be set by anything except a rendering operation... In this case the SashLayout is breaking this rule; it should be *modifying* the existing rectangle (if any). The only issue that might arise out of this change would be if there were an 'early' layout which was not followed by another one after the rendering was complete... I'll make that change and test using Remy's testcase. Pushed in >20120120. commit 185a1abc3f5f676b9b0919f56bbab08d23369cf9 This commit also includes the tests, thanks Remy ! I'll mark this as FIXED. Brian, could you check to ensure that this fix also includes your scenario ? Re-open if there are issues... Verified in I20120123-2200. |