2011-07-10, 08:23 PM
I've filed this as issue 1640, which has been deleted. Whoever deleted that issue, instead of asking for clarification, did a really grape thing.
So here's the bug. Look at this screenshot of the registration page:
[attachment=23331]
You can see there's enough space here for the CAPTCHA success message to be displayed, because the TD to the right is higher.
But if there are enough required Custom Profile Fields to be filled in (2 will do), they'll be displayed in this TD on the left, and it will extend lower than the TD to the right:
[attachment=23332]
In that case, after the CAPTCHA text input field loses focus, the CAPTCHA validation message ("The image verification code you entered was correct.") will be displayed right beneath the input field. You can see from the second screenshot that there's not enough space to do that, without pushing the rest of the forum elements down. That includes the Submit Registration button. The CAPTCHA input text field can lose focus by the user clicking somewhere else, and most often they'll click on the Submit Registration button... exactly as it's pushed down. This will make the first click on it fail. The user will have to click it again.
This screencast illustrates that problem:
http://www.youtube.com/watch?v=Pl2eZ37UaMg
Why do I have to record a bloody video, file an issue, have it deleted, then have to re-explain it on the forum, wasting hours in the process, when you could have just accepted the ONE LINE patch I sent?
So here's the bug. Look at this screenshot of the registration page:
[attachment=23331]
You can see there's enough space here for the CAPTCHA success message to be displayed, because the TD to the right is higher.
But if there are enough required Custom Profile Fields to be filled in (2 will do), they'll be displayed in this TD on the left, and it will extend lower than the TD to the right:
[attachment=23332]
In that case, after the CAPTCHA text input field loses focus, the CAPTCHA validation message ("The image verification code you entered was correct.") will be displayed right beneath the input field. You can see from the second screenshot that there's not enough space to do that, without pushing the rest of the forum elements down. That includes the Submit Registration button. The CAPTCHA input text field can lose focus by the user clicking somewhere else, and most often they'll click on the Submit Registration button... exactly as it's pushed down. This will make the first click on it fail. The user will have to click it again.
This screencast illustrates that problem:
http://www.youtube.com/watch?v=Pl2eZ37UaMg
Matt Rogowski]Of course there is, and it's trivial. We only need to pre-allocate the vertical space for the TR that displays the CAPTCHA validation string. One line changed. See attached patch. For existing installations, edit the Member template member_register_regimage and change the last <tr> to <tr style="height: 2em;">.
So you're saying you physically can't click the button?? Because I've registered on possibly hundreds of forums and got this message come up, and still been able to click it, and I don't think a single user has ever posted on the community forums that this happens to them. There's no reason that message should mean the button becomes unclickable.
[/quote]
No, I'm not saying I can't physically click the button. I took the time to record a screencast with a voiceover, explaining exactly what happens. The hundreds of forums you registered on didn't have required custom profile fields, which is why the bug was not visible to you.
Anyway, forget the screencast. Look at the template code in member_register_regimage. You can see that the last TR has a TD with display:none:
<tr> <td id="imagestring_status" style="display: none;" colspan="2"> </td> </tr>
That TD (#imagestring_status) will be populated with the CAPTCHA validation message (The image verification code you entered was correct."). This will increase the height of the TR, and the height of the entire left column in the screenshot above. If the left column was taller than the right column, then the Submit Registration button will be pushed down, as the screencast demonstrates.
[quote="Stefan T. Wrote:I don't think there is an easy way to improve this.
Why do I have to record a bloody video, file an issue, have it deleted, then have to re-explain it on the forum, wasting hours in the process, when you could have just accepted the ONE LINE patch I sent?