[Regression] Checkboxes are difficult to check on Gmail

VERIFIED FIXED in Firefox 7

Status

Fennec Graveyard
General
P2
normal
VERIFIED FIXED
6 years ago
6 years ago

People

(Reporter: aakashd, Assigned: stechz)

Tracking

({regression})

Firefox 6
Firefox 7
ARM
Android
regression
Dependency tree / graph

Details

Attachments

(1 attachment)

(Reporter)

Description

6 years ago
Build Id:
Mozilla/5.0 (Android; Linux armv7l; rv:7.0a1) Gecko/20110612 Firefox/7.0a1 Fennec/7.0a1 ID:20110612040154

Mozilla/5.0 (Android; Linux armv7l; rv:6.0a2) Gecko/20110612 Firefox/6.0a2 Fennec/6.0a2 ID:20110613054928

Note: This was not seen on the 6/6 build of Aurora. So, the regression window is between 6/6 - 6/12 Aurora. I tried this on mail.mozilla.com/zimbra and all the checkboxes there checked fine.

Step to Reproduce:
1. Go to www.gmail.com and login
2. Try to click on a bunch of checkboxes

Actual Results:
Not all the checkboxes will be checked (I was only able to check half of them even though each one, when tapped on, highlighted blue for 1/2 a second.

Expected Results:
All the checkboxes should be checked.
Seeing this too (06/13, HTC Nexus One), but not just Gmail, really anywhere with checkboxes: 

http://www.echoecho.com/htmlforms09.htm
Blocks: 664332
tracking-fennec: --- → ?
Keywords: regressionwindow-wanted
Still seeing this on 06/20, unable to toggle value changes in checkboxes by tapping them
Ben - Take a look at this. I can repro using a nightly
Assignee: nobody → ben
tracking-fennec: ? → 7+
(Assignee)

Comment 4

6 years ago
At first I thought this could be some displayport problem, but these checkboxes *can* be checked after a couple of pokes. This makes me think that maybe we are cancelling taps sometimes when we shouldn't be (I've had this happen to me clicking links too).

Looking into it.
(Assignee)

Comment 5

6 years ago
Surprisingly, things look to be OK from Fennec's perspective. Very interesting. Lots of WARNINGs exactly when the click does not fire.
(Assignee)

Comment 6

6 years ago
Created attachment 541213 [details] [diff] [review]
Checkboxes are difficult to check on Gmail

I'm confused how this was working at all before, because I think Rects can't
take a JSON top/left/width/height structure. Additionally, it's sometimes
possible to tap on the border of the checkbox where we consider it fractionally
"in bounds." This subtlety is lost on mouse events that I presume only deal
with integer offsets.

This code works pretty well for me now. Fast taps on different checkboxes is a
pain, but that is a balancing game with double tap that we can leave to a
separate bug.
(Assignee)

Updated

6 years ago
Attachment #541213 - Flags: review?(wjohnston)
Comment on attachment 541213 [details] [diff] [review]
Checkboxes are difficult to check on Gmail

Review of attachment 541213 [details] [diff] [review]:
-----------------------------------------------------------------
Attachment #541213 - Flags: review?(wjohnston) → review+
(Assignee)

Comment 8

6 years ago
Pushed to inbound http://hg.mozilla.org/integration/mozilla-inbound/rev/daf896f89f39
http://hg.mozilla.org/mozilla-central/rev/daf896f89f39
Status: NEW → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 7

Comment 10

6 years ago
VERIFIED FIXED on:

Build Id: Mozilla /5.0 (Android;Linux armv7l;rv:7.0a1) Gecko/20110627 Firefox/7.0a1 Fennec/7.0a1 

Mozilla /5.0 (Android;Linux armv7l;rv:6.0a2) Gecko/20110627 Firefox/6.0a2 Fennec/6.0a2 

Device: HTC Desire Z (Android 2.2)
Status: RESOLVED → VERIFIED
Comment on attachment 541213 [details] [diff] [review]
Checkboxes are difficult to check on Gmail

Nominating for approval-mozilla-aurora.  Straightforward low-risk fix for a regression that was reported as affecting both Aurora and trunk.  The fix touches mobile front-end code only (zero desktop risk).
Attachment #541213 - Flags: approval-mozilla-aurora?
status-firefox6: --- → affected
The main part of this bug is a regression from bug 658727 which has not landed in Aurora, so this problem should not be as bad in Aurora as it is in Nightly.  The other part fixed by this patch does not appear to be a regression from previous versions, so I'm not sure it's necessary to take it in Aurora.
Blocks: 658727
status-firefox6: affected → ---
Attachment #541213 - Flags: approval-mozilla-aurora?
Keywords: regressionwindow-wanted

Updated

6 years ago
status-firefox7: --- → fixed
You need to log in before you can comment on or make changes to this bug.