I have NO clue why this is happening, but this plagued me all day. Basically, I had some XUL with <radiogroup id="abc"> <radio checked="true" group="abc"/> </radiogroup> and for some reason, having checked="true" made the onload handler for that document fail to load the FIRST time the XUL document is loaded, but not subsequent times! If you remove checked="true" then the onload handler fires... no special messages on the console/etc. anyway, CC'ing all interested parties: waterson - because I was complaining about this on IRC to him (waterson: I removed the <template> completely and the problem still occurred) brendan - XBL/JS issues - <radio> is a XBL widget ben - author of <radio>, and because maybe, possibly, he has run into related XBL issues I don't know whose bug this really is, because of the strange nature of the problem. I'll try to throw together a test case... not sure if this is XP or not, but I was seeing it on my Windows box
My guess is that this has to do with loading the checkbox image. The onload handler will not fire until all images, etc. related to the document arrive. Setting "checked='true'" will pull in some different image, possibly bogus if the skin settings are horked.
ah ha! I'll look into this, but checkboxes seem to look and act normally...
one interesting thing is that this only happens the first time you load the dialog. Makes me think that something wierd is going on with necko and notification of image loading.
Target Milestone: --- → Future
fwiw, this may be related to (and/or fixed by) a bug that danm fixed a while ago. (see my comments about "checkbox image")
Status: NEW → RESOLVED
Last Resolved: 17 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.