Created attachment 352399 [details] Test case that evokes the problem. The original problem occurs in dynamic pages generated by a private server. This file is a portion of such a generated page, modified to remove focus and reload the page when the button is clicked, instead of submitting the form. It doesn't display the problem every time, so it's looking like a timing issue. Possibly the problem won't occur at all on a fast machine; mine's a dual 450 MHz G4.
I think you're probably right about it being a timing issue; I can't reproduce the problem at all with Camino 1.6.5, a trunk nightly, or Firefox 2 (or 3) on a 1.5 GHz PowerBook G4.
Owen, can you please check this in a Camino 2.0pre nightly build from http://ftp.mozilla.org/pub/mozilla.org/camino/nightly/latest-2.0-M1.9/ (you'll want to test with a fresh profile because the 2.0pre nightlies upgrade a profile in such a way that the profile can't be used with 1.6.x any more; http://pimpmycamino.com/parts/troubleshoot-camino can automate running with a fresh profile)? It looks to me like it's fixed in the 2.0pre nightlies, but I'm also on a fast machine….
It is indeed fixed in 2.0pre. Thanks for the very fast response! I found a sure-fire way to demonstrate the problem (or a closely related one) using the test file, even on a fast machine. Just drag the file into a Camino window, and observe that the button doesn't have focus. This also is fixed in 2.0pre.