Closed
Bug 828990
Opened 11 years ago
Closed 11 years ago
Thumb position does not advance; and or, unnecessary thumb position in input fields on tap
Categories
(Firefox for Android Graveyard :: General, defect)
Tracking
(firefox20 wontfix, firefox21 fixed, firefox22 verified, fennec+)
VERIFIED
FIXED
Firefox 22
People
(Reporter: aaronmt, Assigned: bnicholson)
References
()
Details
Attachments
(1 file, 1 obsolete file)
2.53 KB,
patch
|
Margaret
:
review+
jchen
:
feedback+
bajaj
:
approval-mozilla-aurora+
|
Details | Diff | Splinter Review |
Currently when one taps into an input field to focus it, a thumb position appears. Inserting characters into the field does not automatically advance the thumb position. I expected either the thumb position should advance, or otherwise not have it display at all. -- Nightly (01/10) Samsung Galaxy Nexus (Android 4.1.2)
Comment 1•11 years ago
|
||
I think we should hide the thumb if the user starts typing.
Reporter | ||
Updated•11 years ago
|
Updated•11 years ago
|
Assignee: nobody → bnicholson
tracking-fennec: ? → +
Assignee | ||
Comment 3•11 years ago
|
||
Hiding the thumb on compositionend seems to work fine from general testing - any edge cases that I should be aware of? I also removed _elementReceivesInput and _isEditable since they appear to be dead code.
Attachment #726957 -
Flags: review?(nchen)
Assignee | ||
Comment 4•11 years ago
|
||
CC'ing Margaret in case she has any feedback.
Assignee | ||
Comment 5•11 years ago
|
||
Comment on attachment 726957 [details] [diff] [review] Hide thumb on compositionend Err, sorry...didn't quite finish this yet.
Attachment #726957 -
Flags: review?(nchen)
Assignee | ||
Comment 6•11 years ago
|
||
cleaned up
Attachment #726957 -
Attachment is obsolete: true
Attachment #726991 -
Flags: review?(jcheng)
Assignee | ||
Comment 7•11 years ago
|
||
Comment on attachment 726991 [details] [diff] [review] Hide thumb on compositionend, v2 Oops, wrong reviewer!
Attachment #726991 -
Flags: review?(jcheng) → review?(nchen)
Comment 8•11 years ago
|
||
Comment on attachment 726991 [details] [diff] [review] Hide thumb on compositionend, v2 Review of attachment 726991 [details] [diff] [review]: ----------------------------------------------------------------- Can someone else review this too? The patch looks okay to me, although I'm not familiar with browser.js ::: mobile/android/chrome/content/browser.js @@ -4649,5 @@ > }, > > - _elementReceivesInput: function(aElement) { > - return aElement instanceof Element && > - kElementsReceivingInput.hasOwnProperty(aElement.tagName.toLowerCase()) || I think you can remove kElementsReceivingInput too?
Attachment #726991 -
Flags: review?(nchen) → feedback+
Assignee | ||
Comment 9•11 years ago
|
||
Comment on attachment 726991 [details] [diff] [review] Hide thumb on compositionend, v2 Yeah, I probably should have included margaret as a reviewer anyway -- just wanted to make sure the compositionend IME event will work as intended.
Attachment #726991 -
Flags: review?(margaret.leibovic)
Comment 10•11 years ago
|
||
Comment on attachment 726991 [details] [diff] [review] Hide thumb on compositionend, v2 Review of attachment 726991 [details] [diff] [review]: ----------------------------------------------------------------- LGTM. Jim's right that you can get rid of kElementsReceivingInput.
Attachment #726991 -
Flags: review?(margaret.leibovic) → review+
Assignee | ||
Comment 11•11 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/af59a6b444f0
Comment 12•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/af59a6b444f0
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 22
Assignee | ||
Comment 13•11 years ago
|
||
Comment on attachment 726991 [details] [diff] [review] Hide thumb on compositionend, v2 [Approval Request Comment] Bug caused by (feature/regressing bug #): none User impact if declined: thumb stays in fixed position when typing, which looks broken Testing completed (on m-c, etc.): m-c Risk to taking this patch (and alternatives if risky): low risk String or UUID changes made by this patch: none
Attachment #726991 -
Flags: approval-mozilla-aurora?
Reporter | ||
Updated•11 years ago
|
Status: RESOLVED → VERIFIED
Comment 14•11 years ago
|
||
Comment on attachment 726991 [details] [diff] [review] Hide thumb on compositionend, v2 low risk, mostly clean-up - hides the thumb when you start inserting character in a input field.
Attachment #726991 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Updated•3 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•