Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Window opacity problem

    I'm not seeing window opacity working with IE8. Here is a code sample:
    Code:
    public class Ping implements EntryPoint 
    {
    	final Canvas mainCanvas = new Canvas();
    
    	public void onModuleLoad() 
    	{
    		mainCanvas.setHeight100();
    		mainCanvas.setWidth100();
    		mainCanvas.setBackgroundColor("palegreen");
    
    		final Window window = new Window();
    		window.setOpacity(50);
    
    		mainCanvas.addChild(window);
    		mainCanvas.draw();
    	}
    }
    Using IE 8.0.7601.17514 64-bit Edition and SmartGWT Power: SC_SNAPSHOT-2011-04-11/PowerEdition Deployment (built 2011-04-11).

    #2
    It's intentionally off for IE (disabled in load_skin.js) because the only way to implement it causes serious performance issues over WAN because of bugs in IE. More info here.

    If you're strictly on an intranet or the usage pattern of your end users means they always have everything cached, you may not care.

    Comment


      #3
      Thanks. The documentation notes the opacity issues with IE6-8. I've now tried it with IE9, but the opacity is also off with this version too unless I use:
      Code:
      window.setUseOpacityFilter(true);
      Is opacity generally going to be a problem with IE as a browser?

      Comment


        #4
        No we'll be re-enabling opacity for IE9 or IE10 once we're done testing it's behaviors with a mix of opacity and PNGs w/alpha.

        Comment

        Working...
        X