| Summary: | [Menu] Fix red Test caused by WRAP implementation for Button | ||
|---|---|---|---|
| Product: | [RT] RAP | Reporter: | Tim Buschtoens <tbuschto> |
| Component: | RWT | Assignee: | Project Inbox <rap-inbox> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | tbuschto |
| Version: | 1.4 | ||
| Target Milestone: | 1.4 M7 | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
|
Description
Tim Buschtoens
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. |