[Mono-bugs] [Bug 351565] [Regression] Kit 3D no longer displays anything.

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Jan 9 12:26:16 EST 2008


https://bugzilla.novell.com/show_bug.cgi?id=351565

User fejj at novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=351565#c1





--- Comment #1 from Jeffrey Stedfast <fejj at novell.com>  2008-01-09 10:26:15 MST ---
I could be missing something, but...

in default.html, we have:

<body onload="pageLoaded();">
    <div id="silverlightControl" style="width:600px; height:600px;">
    </div>
</body>


in pageLoaded(), we have:

        //As soon as the page is loaded we will create the silverlight control
        //then once this control loads we will create all of the Javascript
goodness
        Silverlight.createObjectEx(
            {source: 'Kit3DCanvas.xaml', 
             parentElement:document.getElementById('silverlightControl'), 
             id:'Ag1', 
             properties:{width:'600', 
                         height:'600', 
                         background:'#fff0f0f0', 
                         isWindowless:'true', 
                         version:'0.90.0'}, 
             events:{onError:null, 
                     onLoad:null}, 
                     context:null});

notice, tho, that he never connects the onLoad callback, so none of the other
code can ever get called afaict.

Presumably he meant to set the onLoad callback to onCanvasLoaded()

once I do that, I see the cubes, altho they do not rotate or anything...


-- 
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