Page 1 of 1

pngbehaviour.htc causes images to go X when printing

Posted: Wed Jun 09, 2010 10:45 am
by niknah
To duplicate problem, using IE8 visit...

http://demo.opensourcecms.com/serendipity/

Press print.

A lot of the images on the right side turn "X"

To fix the problem, disable pngbehaviour.htc


I noticed that this file doesn't get used in blog.s9y.org

Re: pngbehaviour.htc causes images to go X when printing

Posted: Wed Jun 09, 2010 10:57 am
by onli
The file is coming from the plugin 'serendipity_event_browsercompatibility' - it probably shouldn't be used anymore. It seems to be only useful for IE6 - maybe we should disable the plugin altogether?

Re: pngbehaviour.htc causes images to go X when printing

Posted: Wed Jun 09, 2010 12:51 pm
by yellowled
onli wrote:It seems to be only useful for IE6 - maybe we should disable the plugin altogether?
It is useful in IE6 only since it addresses IE6's issue with alpha transparency in PNG24 images - as far as I can tell, that's the only thing it does.

I'm all for not only disabling it but dropping it from the core altogether, but that's Garvin's call.

YL

Re: pngbehaviour.htc causes images to go X when printing

Posted: Wed Jun 09, 2010 3:36 pm
by Don Chambers
Unfortunately, there are still plenty of IE6 users.... probably stuck on educational or institutional computers.

Re: pngbehaviour.htc causes images to go X when printing

Posted: Wed Jun 09, 2010 3:50 pm
by onli
Which wouldn't have transparent png's, which is far less evil than not being able to print properly in a sound browser like IE8...
Backwards-compatiblity is nice, but not at the expense of current compatiblity.

Re: pngbehaviour.htc causes images to go X when printing

Posted: Wed Jun 09, 2010 3:55 pm
by yellowled
Don Chambers wrote:Unfortunately, there are still plenty of IE6 users.... probably stuck on educational or institutional computers.
No, there are not.

(Yes, I know: Your stats keep showing IE6 user. That's because some weird virus scanner or something is detected as IE6 in the referrers. It's also true that a lot of companies still use IE6 because their intranet software requires it because of crappy coding. Well, I guess their employees are not supposed to surf the internet anyway then.)

Edit: See: http://www.theregister.co.uk/2008/06/26 ... ic_as_ie6/

YL

Re: pngbehaviour.htc causes images to go X when printing

Posted: Wed Jun 09, 2010 3:58 pm
by yellowled
onli wrote:Which wouldn't have transparent png's, which is far less evil than not being able to print properly in a sound browser like IE8...
I second that if what you mean is that it's perfectly okay to show people using IE6 ugly PNGs without transparency. It's not that they would not get the images at all, they just won't be transparent. Acceptable.

YL

Re: pngbehaviour.htc causes images to go X when printing

Posted: Wed Jun 09, 2010 4:11 pm
by onli
>It's not that they would not get the images at all, they just won't be transparent. Acceptable.
That's what I wanted to say :)