8 Replies Latest reply: Apr 17, 2012 4:27 PM by Alex Fokin RSS

Fix for CR for VS2010 visual effects bug: faded or blank report under IE9

Alex Fokin
Currently Being Moderated

<h4>Problem</h4>

Crystal Reports Viewer occasionally leaves reports faded or blank under InternetExplorer v.9.

 

Bug has been already mentioned in other threads:

[Blank Report in IE9|http://forums.sdn.sap.com/thread.jspa?messageID=11030449]

[Crystal Report not visible when using IE9|http://forums.sdn.sap.com/thread.jspa?messageID=10897810]

[Opacity error displaying some reports|http://forums.sdn.sap.com/thread.jspa?threadID=2074124]

 

<h4>Reason</h4>

CR Viewer uses MochiKit JavaScript library v.1.4 for client operations, having bug in MochiKit.DOM.setOpacity function (New.js):

filter:alpha style is used to set 100% opacity under IE, although IE9 has abandoned this property support and switched to CSS3 standards:

if (value == 1) {
    if(MochiKit.Base.isIE()) 
        element.style.cssText = cssText.replace(/filter: ?alpha\([^\)]*\);?/gi, '');

 

<h4>Resolution</h4>

1. Fix MochiKit library to perform unconditional style.opacity maintenance in MochiKit.DOM.setStyle function;

2. Or use MochiKit.Style.setOpacity function that doesn't have this bug.

 

<h3>Question</h3>

When this fix can be applied and released for CR for VS2010 package?