[Mono-bugs] [Bug 327691] initial screen not rendered correctly in bubblemark

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Oct 1 11:17:33 EDT 2007


https://bugzilla.novell.com/show_bug.cgi?id=327691#c6


Sebastien Pouliot <spouliot at novell.com> changed:

           What    |Removed                                         |Added
----------------------------------------------------------------------------
          Component|engine                                          |plugin




--- Comment #6 from Sebastien Pouliot <spouliot at novell.com>  2007-10-01 09:17:33 MST ---
<Canvas x:Name="parentCanvas"
        xmlns="http://schemas.microsoft.com/client/2007" 
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
        Loaded="Page_Loaded"       
x:Class="SilverlightCLRBalls.Page;assembly=ClientBin/SilverlightCLRBalls.dll"
        Width="500"
        Height="300"
        Background="White"
        >

---

..
** (Gecko:5556): WARNING **: Panel::OnPropertyChanged Panel::BackgroundProperty

** (Gecko:10175): WARNING **:   BackgroundProperty 0x98ff288 w 500 h 300
Requesting invalidate for object 0x9cf4e00 (Canvas) at 0 0 - 2 2
..

---

Width (w) and Height (h) are +2 in the DEBUG_INVALIDATE printf, so this is
really empty (0,0,0,0). But the Canvas already know it's 500x300 (so this is
not a parser issue), which means that, at this stage, Canvas::ComputeBounds
hasn't been yet called.

Adding a ComputeBounds before Invalidate when the Background property is
changed fix the issue, in BubbleMark-CLR (and Monotone) but the JavaScript
version still doesn't set it's background (different issue).

CLR-part fixed in SVN r86704.
Changed component to plugin for Javascript resolution (see comment #2).


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list