Dusty Chalk wrote:My favourite bugs are also my most frustrating until I find them. That elation one feels when one finds a particularly frustrating bug is directly proportional to the frustration, and I live for that (the elation part, not the frustration part). Of course, if I never figure it out, then it stays on my frustrating list...
Depends on what was causing it. You haven't known pain until you've done anything complicated in VBA.
"Oh, of course, I just had to cut and paste the code so it would interpret it correctly. That was so obvious. Good thing I only wasted hours trying to figure out what the hell was going on. Thanks a lot, VBA."
That is not an exaggeration. I had another one where changing line A then line B to line B then line A stopped a crash (note: the lines did not depend on each other).
It got to the point where one of the first things I checked was whether or not VBA was screwing with me.
That's what I've come to expect from virtually all Microsoft products.
Case in point. A co-worker is working on a web-based zoom tool. The idea is that you take a picture, click on it, and you have a magnifier glass that you can scroll around the picture with to see things close up. But on IE 6 if you scroll the window with a mouse wheel, the zoom tool stops working. Kaput. Dead. Works fine on Firefox, but IE is hosed by a mouse wheel.
So we experiment. The page layout is that we have the image, an invisible div layer placed over the image, and the magnifying glass in the div layer. The div layer captures events that we use to move the magnifying glass to the right spot. (And when we move the magnifying glass we also scroll the image it is using for its display so that you are magnifying the spot right below your mouse.) Works fine until you use a mouse wheel.
After experimenting we find that if we give the invisible div layer a background color, then it works fine. WTF? Add a background color to a div layer and you remember it is there??? What kind of crap is this? My guess (unverified, but still seems reasonable) is that it is the act of redrawing the div layer that reminds IE 6 what area the div layer covers so it can remember to capture events.
You might think we're done, but we can't let it <b>have</b> a background color. I float the idea of having a transparent gif as a background image, but IE has problems with transparencies. Much musing follows.
Hey Redmond. It is software. It is supposed to work. You're supposed to be able to trust that it will work and layer ideas on top of your existing layers. Without having to constantly go back and find all of the places where things randomly don't work, even though they do in every other major browser.