When using our application for a while, especially when changing states very often, the icons will often start rendering incorrectly - please see the attached pic.
Is the cause and solution of this known?
(We are interested in buying the Infragistics WPF Controls set for our app, but this is something that needs to be fixed first.)
Regards
Carien Fouché
I wasn't able to replicate this even having a bunch of images be disabled and re-enabled off and on over time. I'm guessing there may be an issue with the WPF framework but I'd like to know more since maybe if we can duplicate the behavior we can find a workaround. The tools with the issue appear to be disabled. When the tool is disabled, the image is rendered as gray scale using a wpf format converted bitmap. Is it consistent which images appear that way? What types of images are those (i.e. png, gif, bmp, jpg)? If it is consistent which images exhibit the issue is there anything different about those images? Can you try to replicate the behavior in a sample or if it only happens with specific images perhaps provide those images?
Hi. Thanks for the quick reply. The problem with this issue is that we can't seem to replicate it consistently. It just happens relatively frequently, especially when using Vista.
"The tools with the issue appear to be disabled. When the tool is disabled, the image is rendered as gray scale using a wpf format converted bitmap."
- We have noticed, indeed, that the strange rendering usually happens when the tools in the Ribbon are disabled. (However, we have also had a problem - and unfortunately, I don't have a screenshot of this - where enabled tools' images become heavily blurred after resizing the window, as if the 16x16 image gets used instead of its 32x32 counterpart. But this is a separate issue, I think.)
"Is it consistent which images appear that way?"
- All the images in the Ribbon sporadically appear that way.
"What types of images are those (i.e. png, gif, bmp, jpg)?"
- All the images are png's. We buy our icons from VectorStock and convert the vector images to 16x16 and 32x32 png's using Expression Design.
"If it is consistent which images exhibit the issue is there anything different about those images?"
- I think this has already been answered :)
"Can you try to replicate the behavior in a sample or if it only happens with specific images perhaps provide those images?"
- I've attached one of the images it happens with. (DesignAction_16.png)