Community
Participate
Working Groups
SashLayout will inspect its children and set a Rectangle instance in them if they are an MGenericTile. The issue here is that the rendering engine an element's widget to determine whether it needs to be processed or not. If a widget is prematurely set on a parent MPSC, then any child model elements of the MPSC will simply be skipped by the rendering engine.
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.