Bug 6/30: Mouse Up Not Always Detected


Bug 6 is PixiEditor/PixiEditor/Pen up is not detected when pen up occurs outside the application. Again this bug was in the PixiEditor project. I found and reported it almost immediately after starting to work on the previous bug. I guess it was something they must have known about, but no one wanted to touch. What was happening here was that if you started to draw on the canvas and then released the mouse outside of the application, then started to draw again inside the application it would draw a line between the place that you exited the canvas and the place you began to draw again.…
Read more ⟶

Bug 5/30 Save Cancel Resets Modified Flag


Bug 5 is PixiEditor/PixiEditor/Clicking “Save” or “Save As…” and canceling, results in false “saved” state. PixiEditor is a fun little WPF application that allows people to do things like pixel art. This bug concerns the behaviour of the dirty flag after clicking Save or Save As: irrespective of whether the save action is cancelled, the dirty flag was always being set to false (i.e. not dirty and so no save necessary).…
Read more ⟶

Testing and Mocks


Let’s just start this by saying that mocks are useful in certain situations. Use of mocks isn’t a problem. Poor use of mocks is a problem. There are people who like to sound clever and draw distinctions between different types of mock (What’s the difference between faking, mocking, and stubbing?), but there seem no universally accepted distinctions. So when I refer to a mock I am referring to any one of those definitions.…
Read more ⟶