Community
Participate
Working Groups
When fixing Bug 325704 i forgot to run tests for Menu (also based on the MultiCellWidget). Tt caused "testMenuResize" to fail. I have not been able to find any problems in a running rap application, but in theory it could menus cause to have the wrong size.
This is not directly caused by the fix for Bug 325704, but a pre-existing issue that was compensated by the fact that the MCW always re-calculated preferredInnerWidth in its layout. Since this is no longer the case, the cached calue for preferredInnerWidth can end up at null without beeing queued for recomputing. The actual cause is the line "this._invalidateTotalSpacing();" in MenuItem#_beforeComputeInnerWidth, which needlessly invalidates the preferredInnerWidth. The bug can be fixed by removeing the line.
Fixed in CVS HEAD as described above.