Bug 8300 - REGRESSION: First mouse click is randomly ignored when clicking on checkbox and radio buttons
Summary: REGRESSION: First mouse click is randomly ignored when clicking on checkbox a...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Forms (show other bugs)
Version: 420+
Hardware: Mac OS X 10.4
: P1 Normal
Assignee: Anders Carlsson
URL:
Keywords: InRadar, Regression
Depends on:
Blocks:
 
Reported: 2006-04-10 12:54 PDT by Chris Petersen
Modified: 2006-07-07 10:18 PDT (History)
5 users (show)

See Also:


Attachments
Simple test case that includes input=checkbox and input=radio elements (578 bytes, text/html)
2006-04-10 12:56 PDT, Chris Petersen
no flags Details
Patch (4.27 KB, patch)
2006-07-07 09:43 PDT, Anders Carlsson
darin: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Petersen 2006-04-10 12:54:33 PDT
I'm noticing a random issue where single-click is ignored for a checkbox (input=checkbox) or radio button (input=radio). When this occurs, clicking the item as second time appears to recognized since the item with become enabled. I have encountered this issue when attempting to do a advanced search. I originally though this might be JS realted but I can reproduce on a plain vanilla test case that doesn't include any JS. 

Since this is only occuring TOT Webkit it might be related to the native text changes that have occured. I need to download an older TOT Webkit that doesn't include the native input text field change to see if it occurs.


Steps to reproduce:

1) With TOT Webkit, open test case "radio_checkbox_test.html"
2) Under Checkbox, click to uncheck "Cat" then "Dog" items
3) Move the cursor over "Cat" checkbox and click to enable it.
4) Notice that it ignores this click. Clicking again should enable it though
5) Under Radio buttons, click on each radio button so that it enables each button at least once.
6) During this task , clicking on a radio button to enable it and won't always recognize this first click.
Comment 1 Chris Petersen 2006-04-10 12:56:28 PDT
Created attachment 7622 [details]
Simple test case that includes input=checkbox and input=radio elements
Comment 2 Chris Petersen 2006-04-10 13:16:49 PDT
From my testing, this regression started with the March 30th webkit build (r13567)
Comment 3 Chris Petersen 2006-04-10 13:28:56 PDT
This issue has been filed as <rdar://problem/4508721>
Comment 4 Darin Adler 2006-04-25 08:49:02 PDT
I tried and couldn't reproduce this.
Comment 5 mitz 2006-04-25 09:05:37 PDT
Happens to me on Bugzilla occasionally.
Comment 6 Eric Seidel (no email) 2006-04-25 10:48:34 PDT
This reproduces for me in bugzilla.
Comment 7 Anders Carlsson 2006-07-07 09:43:22 PDT
Created attachment 9253 [details]
Patch
Comment 8 Darin Adler 2006-07-07 10:07:31 PDT
Comment on attachment 9253 [details]
Patch

r=me
Comment 9 Anders Carlsson 2006-07-07 10:18:22 PDT
Committed in revision 15200.