davidn: (skull)
[personal profile] davidn
I know that to a lot of people the sort of Firefox/general open source community seems like a terrifying place full of anti-corporate zealots with smelly beards, but in the end there's a very good reason for its existence. Today at work I spent four hours researching, experimenting and working around Internet Explorer bugs, on a new part of our system to allow people to select the members of teams that would vote on changes to a document. And as everyone who doesn't use it is making one six-billionth of my life easier, I thought I'd guilt trip people into converting over in case there's anyone reading this that still uses the abomination.

This is an entirely selfish thing - I'm ignoring the way that virtually every other browser is at least marginally faster than IE, free to download and more customizable (and in Firefox's case, leaks memory like a colander, but that's not as much of a disadvantage as you might think) because everyone's been told that already, and just concentrating on the advantage to me. And I'm not sure of the average technical Internet knowledge of my friends list, but I'll try not to talk down to anyone, provided that they haven't scrolled well away from this post by now.

The idea of the new form was simple (or so I thought). Our property-editing summary page gives you lists of the current people assigned to each team. From there, you can click "Edit team" to pop a window open where you can transfer more people into the team or take others out, then click "Submit", whereupon it'll close again, transferring the new contents of the "Selected" box into the original one. Dead easy (or it would be if most of Javascript didn't look like $A().$('${sel2}');).

But my problem (from Internet Explorer's point of view) was that I was using a rather handy way of telling web forms what to do called DOM, or Document Object Model. This lets you treat each part of a web page like individual objects, adding, deleting and editing them as you need. And for the most part, Microsoft is fine with you doing that, but on some computers (it doesn't even have the decency to be a consistent problem) you won't be able to move things between objects on different windows, and you'll get an error message saying "No such interface supported", which is naturally about as helpful as a water pistol in the Towering Inferno.

The way to fix this is apparently to re-register a couple of DLLs that may or may not be installed incorrectly, but you can hardly ask people to do that if they're the type that struggle with copy and pasting. Instead, I learned that Microsoft knew about their slight shortcomings in the field of sensible ways to handle webpages and had introduced a hackish fix - a made-up "innerHTML" property of each object on the page that you can use to directly edit the <option value="it hurts">My old man's a dustman<option>-type tags that you'll see if you go to View/Page Source up on your menu bar. So the solution was obviously (though slightly inconveniently) to write the bits that needed to be transferred into the page manually and stick them in like that.

Except... not only do they have a workaround to do something that everyone else has managed, they didn't get the workaround right either. Somewhere, it contains a bug that means that items in a select box may or may not be written correctly, and this rendered it pretty much useless for my purposes. In the end I resorted to detecting if someone was using IE, then building an array of arrays of strings that could hold everything I needed on the page, passing the whole thing under the table to the parent page through Javascript where IE couldn't mess it up and then cobbling together some items there from the collected data. Meanwhile, everything else can happily do it in about a hundred fewer lines.

Of course, the really frustrating thing is that our clients will never see this. Neither do most people who use IE and can't understand what everyone's complaining about. But it's the scourge of web developers everywhere for the reasons I've outlined above and more. So can you not do me a favour and download something else instead anyway? It'll take a minute of your time and I think you'll find it's rather better for other reasons, too. I don't even much care what you switch to - just as long as you realize that there's no reason on Earth to use IE7 unless you are actually being forced at gunpoint. Remember, like I said before you stopped reading this - everyone that switches over is making my existence just a tiny bit less stressful.

There, that should do it.

Date: 2008-04-12 06:28 am (UTC)
From: [identity profile] kibet.livejournal.com
I still use IE6, I don't like the look of IE7 and it screwed up my start bar (reduces size of it everytime I start up as I have it on the RHS and left that problem). I will ask you what browser will have a standard windows setup? I am looking for one that simply has window title, file menu, the standard icons, address bar with no silly search engine part in it. oh and no tabs, don't like them at all. IE7 put the address bar at the top and could not work out how to shift it.

Date: 2008-04-12 12:36 pm (UTC)
From: [identity profile] kibet.livejournal.com
I have hidden the IE7 update so it would not automatically do it. The no tabs is more the turn off. I like to have multiple windows open so I can alt+tab between them as I am not a huge fan of a mouse. If there was one that I could just turn tabs off or even set it to open a new window as default so I don't need to use them then I will be fine. I am not a fan of search bars as I can go for a site to iy. Much like why I do not use the icons at the top other than the Stop and Home (or going back multiple pages, I use the keyboard for just going back one or two.

Will have a look at link, if nothing jumps out then I will keep with IE6 until I am forced to change when I get a new laptop.

Date: 2008-04-20 02:05 am (UTC)
From: [identity profile] starfishchris.livejournal.com
> I like to have multiple windows open so I can alt+tab between them as I am not a huge fan of a mouse.

You can switch between tabs in a window using Ctrl+Tab. Works in Firefox and IE and it's a lot tidier too, since you don't have to worry about any other applications open or the order changing as with Alt+Tab. And if you want to refer to a specific tab you can press Ctrl + 1 for the first tab, Ctrl + 2 for the second, etc. Tabs are for keyboard users too!

Date: 2008-04-12 03:17 pm (UTC)
From: [identity profile] ethelfleda.livejournal.com
Having done trained-monkey level web stuff, I agree wholeheartedly. When it implements the most basic, simple, un-fuck-up-able bits of code in a way that's utterly incomprehensible it leaves you banging your head off the desk.

Date: 2008-04-13 11:02 am (UTC)
From: [identity profile] lordrosemount.livejournal.com
Fascinating. These defective DLLs of yours - were they part of IE, and was there any indication of what was causing them to screw up? Because it's just possible that the problem is with the OS rather than the browser - but either way, ironically, Microsoft still sucks.

My last computer had a slightly worse problem with IE: after using it for a couple of years, it just stopped working, completely - every time I tried to fire the thing up, it would freeze the computer. The only other time I'd had a similar problem was when my copy of MS Word died in a similar way (unusable, but at least had the good grace not to crash the computer); on that occasion even after I reinstalled the thing completely, it still didn't work.

What I've found is that a lot of people are too ignorant of computers to view them as tools that are supposed to meet their needs - they instead see them as things they have to work with, and around. So they assume that doing irrational things will somehow solve a problem (e.g. the girl who thought it might be possible to fix a problem where an image wasn't displaying correctly on a web page I was working on might be helped if the original photographer uploaded the image from their own computer), and in response to any other problem they'll just shrug their shoulders and say "oh, that's just how it works", instead of "why is this software causing problems for me; who were the idiots who programmed it and why can't we use something that actually works instead?". I suspect these might be the same people who vote Labour every time, even as things continue to get worse; it's quite a disturbing lack of imagination.

Date: 2008-04-13 02:00 pm (UTC)
From: [identity profile] pami-zee.livejournal.com
I'm trying to encourage Sarah to see sense and not use IE, but it hasn't worked yet, despite the fact so many things don't work on it...

Expand Cut Tags

No cut tags

May 2020

S M T W T F S
     12
3456789
1011121314 15 16
171819 20 212223
24252627 28 2930
31      

Most Popular Tags

Style Credit

Page generated Jul. 29th, 2025 04:20 am
Powered by Dreamwidth Studios