This project is read-only.

Firefox and "windowless" parameter

Feb 17, 2009 at 10:01 AM
Dear all,

When setting the "windowless" parameter on the silverlight object, DeepEarth does not perform as it should in Firefox (v3.0.6) with regards to panning & zooming.

The reason why I am setting the windowless parameter is to prevent the silverlight control from being on top of my dynamic menus. 

Is this an issue or am I unaware of something?  It seems that there is an issue with the mouse events being passed - try clicking in the center of the navigation control, this does not fire the rotation/minimize animation.

The following is a test page to reproduce (as generated by VS2008 with "windowless" parameter set to true):

<%@ Page Language="C#" AutoEventWireup="true" %>

<%@ Register Assembly="System.Web.Silverlight" Namespace="System.Web.UI.SilverlightControls"
    TagPrefix="asp" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">

<html xmlns="">
<head runat="server">
    <style type="text/css">
            float: left;
            min-height: 400px;
            min-width: 200px;
            width: 29%;
            float: left;
            min-height: 400px;
            min-width: 200px;
            width: 70%;
            background-color: #FFFFFF;
            border-left: 1px solid #CCCCCC;
            border-right: 1px solid #CCCCCC;
            margin: 5px 5px 10px;
<body style="height:100%;margin:0;">
    <form id="form1" runat="server" style="height:100%;">
        <asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager>
    <div class="Zone30">
    <div class="Zone70">
            <div class="Widget">
                <div class="WidgetContent" style="visibility: visible;">
                    <div style="padding: 1px; visibility: visible;">
                        <object data="data:application/x-silverlight-2," type="application/x-silverlight-2"
                            width="100%" height="660">
                            <param name="source" value="ClientBin/SilverlightTest.xap"/>
                            <param name="background" value="white" />
                            <param name="minRuntimeVersion" value="2.0.31005.0" />
                            <param name="autoUpgrade" value="true" />
                            <param value="true" name="windowless" />
                            <a href="" style="text-decoration: none;">
                                 <img src="" alt="Get Microsoft Silverlight" style="border-style: none"/>

Feb 18, 2009 at 8:33 AM
I tried this in IE7 and FF 3.0.4

All is well in IE

In FF I have a different issue, which is the rotation of the map, this has a funny behaiour, but the animation of the navigation control is working fine for me

what version of FF are you using?
Feb 18, 2009 at 8:38 AM
Also I am using the latest version from the "Source Code" page, not sure what version you are using?
Feb 18, 2009 at 9:10 AM
All is good in IE7 as well, but not in Firefox (using v3.0.6).

My main problem is that the panning & zooming
  • Panning - All "jiggery" and mouse is not released most of the time (still pans "jiggery" after button release)
  • Zooming - At random point and not at mouse position, also sometimes zoom gets stuck (cant' zoom in or out)
Using latest SVN checkout.

Aslo note that this is affecting PointBase implementations on a GeometryLayer (UpdateMode.ElementUpdate, haven't tested other update modes) as well.
Feb 20, 2009 at 7:44 PM
There are quite a few hits when doing an internet search on "Firefox Silverlight windowless issue".  If this is a Firefox/MSFT issue, it may be beyond our scope to fix.  However, if anyone has thoughts to what we may be doing to either cause this or work around it, let us know.
Feb 23, 2009 at 6:13 AM
I have overcome this issue by changing the "overfow: auto" attribute of the CSS "WidgetContent" class to "overflow: hidden" (can't find the link now but it is mentioned somewhere on the forums I think).

It definiately seems that Firefox is causing the issue.