Wednesday, September 19, 2012

Patch for IE10 released

Internet Explorer 10 drops support for visual filters and transitions. Gallery Server Pro uses filters – or more accurately, the third party ComponentArt library uses filters - to fade popup dialogs into and out of existence. As a result, in IE 10 a javascript error is thrown and the dialog is never shown. You’ll most likely notice this when you try to log in. Instead of the login window appearing, either nothing happens or you are informed of an error, depending on your browser settings.

This affects IE10 users in both desktop and Metro modes. There are two ways to fix it – pick the one that works best for you.

Set document mode to IE9

Open the web page that hosts the gallery in a text editor. In most installations this is default.aspx in the root directory. Look for this line near the top:

<meta content="IE=edge,chrome=1" http-equiv="X-UA-Compatible" />

Change it to this:

<meta content="IE=9,chrome=1" http-equiv="X-UA-Compatible" />

This tells IE to run the page in IE9 document mode instead of the latest IE10 mode. Filters are still available in IE9 mode, so the dialogs work again.

This is an easy fix that has the added benefit of potentially fixing other IE10 issues that haven’t yet surfaced.

Apply the patch

I updated the 2.6.1 source code to change the transition effect of all dialog controls from Fade to None, effectively stopping ComponentArt from attempting to user filters on the page. Several files were modified, so I assembled them into a patch file that you can copy over the existing files of your website. The patch is located on the download page.

The advantage of this fix is that the gallery continues to run in IE10 document mode. I’m not sure what practical effect this has, but I always prefer to run under the latest when possible.

1 comment:

Unknown said...

I just hit the IE10 problem with ComponentArtScript.axd

1) Google error message
2) Click on first result which brings me to the patch which has already been created
3) Read background
4) Download and install patch
5) Happiness ensues

Thanks Roger, you do a great job with a nice product.