Sidebar crashes when adding a Gadget that uses WMP

Discussion in 'Windows Vista Music, Pictures and Video' started by Jon Abbott, Jun 22, 2006.

  1. Jon Abbott

    Jon Abbott Guest

    I've written a Gadget to watch NASA TV in the Sidebar, and have noticed two
    potential bugs.

    1. When the Gadget is docked, Sidebar occasionally gets killed by DEP
    2. If you zip it up into "NASATV.gadget" and double-click on it to initially
    install it, Sidebar crashes. If you reload Sidebar, it seems to work fine and
    has added the gadget.

    Code as follows:


    <?xml version="1.0" encoding="utf-8" ?>
    <name>NASA TV</name>
    <author name="J.Abbott">
    <info url="" text="" />
    <logo src="logo.png" />
    <description>Watch NASA TV</description>
    <icon height="63" width="51" src="icon.png" />
    <host name="sidebar">
    <base type="html" apiVersion="1.0.0" src="gadget.html" />
    <platform minPlatformVersion ="0.3"/>


    <title>NASA TV</title>
    body {
    margin: 1px 1px 1px 1px;
    <script src="gadget.js" language="javascript"
    <body onload="StartUpGadget();">
    <EMBED TYPE="application/x-mplayer2"


    System.Gadget.onDock = Docked;
    System.Gadget.onUndock = Undocked;

    function Docked() { = "130px"; = "97px";


    function Undocked() { = "512px"; = "384px";


    function StartUpGadget() {
    if (System.Gadget.docked) { Docked(); }
    else { Undocked(); }
    Jon Abbott, Jun 22, 2006
    1. Advertisements

  2. #1 - I'll try your gadget and see if I can track down this DEP issue -
    sounds like a bug, either in sidebar or in the WMP ActiveX control.

    #2 - Do you by any chance have the sidebar gadget pane open while you're
    trying to install? There's a known bug that can cause a crash in that

    Bruce Williams [MSFT], Jun 23, 2006
    1. Advertisements

  3. Jon Abbott

    Jon Abbott Guest

    Yes, Sidebar was open when adding - that explains that one.

    Some odd stuff going on with the Sidebar. Did another Gadget to put a
    ShockWave version of Space Invaders in the Sidebar, which crashes it
    immediately every time it loads. It works fine in a browser window though.

    Should Shockwave work on the Sidebar? I can eMail it to you, if you want to
    Jon Abbott, Jun 23, 2006
  4. Jon Abbott

    Jon Abbott Guest

    #2 has been fixed by KB919893. Adding the Gadget no longer crashes SideBar.

    Jon Abbott, Jun 23, 2006
  5. I know that Flash has a bug that can cause DEP crashes; that might be your
    ShockWave issue too.

    I don't know of any similar DEP issue with the WMP ActiveX control, but I
    haven't had a chance to try your gadget yet to track that problem down.

    Bruce Williams [MSFT], Jun 24, 2006
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.