Lachlan B's Blog

How I could have saved Carlo from HumanKode lots of money

You might have read the story how Carlo lost $6,500 thanks to a bug in Visual Studio GitHub's plugin.

It turns out that the issue was caused by a checkbox not working.

So what was the problem? The issue was that it's super-easy to accidently completely break a WPF control when you're just trying to change it's color. Why? Because if you want to change it, you have to completely override the entire control. So you end up having to copy and paste the code for the entire control, and then change what you need. So to fix the issue for Carlo they had to fetch the right control template code and then put it back in. But really, that's just a bandaid over a much, much more complicated problem.

I came across this problem in 2014 and suggested a (horrible) workaround. As you can see it's not simple, but it's better than nothing.