Ribbon Button Icon Bug

Nov 15, 2010 at 10:32 PM

In the 2.0 Technical Preview my icons for ribbon buttons appear exactly as expected. In 2.0 Final the appear to be rather randomly sized. Im guessing this is a locked vs. unlocked image DPI issue as the icon pack I use has wildly different DPI settings per icon. I looked at the Button.xaml/.cs but couldn't see anything that looked like it changed else I would have submitted a patch. I guess I need someone with more understanding of the codebase to take a look at it.

Nov 15, 2010 at 10:37 PM

Confirmed this by resizing one of the icons to 96dpi.

Nov 17, 2010 at 12:14 AM

I just hit this issue as well, easy work around, but weird that the behavior is different.

Nov 17, 2010 at 7:26 PM

My guess is that something up the visual tree got changed. I spent some time hunting around the code but I never found out what changed. I couldn't justify too much time on my employers clock. In theory it's an easy fix, but I suspect that the change has to do with another bugfix (no clue as to which), as thats all that happened between 2.0 Preview and 2.0.