Closed Bug 1462299 Opened 7 years ago Closed 7 years ago

input[date] unusable on Android 4.x

Categories

(Firefox for Android Graveyard :: General, defect)

Firefox 60
All
Android
defect
Not set
normal

Tracking

(firefox61 unaffected, firefox62 verified, firefox63 verified)

VERIFIED FIXED
Firefox 63
Tracking Status
firefox61 --- unaffected
firefox62 --- verified
firefox63 --- verified

People

(Reporter: jesse.jaara, Assigned: petru)

References

()

Details

Attachments

(4 files)

Attached image Firefox-datepicker.png
User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.139 Safari/537.36 Steps to reproduce: Click on empty date[input] widget. Actual results: Firefox presents user with a date input dialog that has no selector input for year or month. Only way to enter date, say 10 years in past, is to scroll trough 120 months of date screens. See attachment: Firefox-datepicker.png Expected results: Get a date input dialog that allows one to change the year in a sensible manner. Android 4.4 dies provide such UI widget, but Firefox does not simply use it. This can be sen for example in the Android emulator Api Demos app (Views/Date Widgets/1. Dialog). See attachment: api-demo-datepicker.png
Attached image api-demo-datepicker.png
This problem is also present already on Android 4.2. Have not tested 4.1, but probably is also present there.
We've just switched to using the system DatePicker control in bug 1318046, but the way we're using it on Android 4.x we still don't actually allow easily changing the year and actually made the layout worse (bug 1460585). So yes, this needs some more work to properly function.
Blocks: 1318046
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Unspecified → Android
Hardware: Unspecified → All
See Also: → 1460585
Blocks: 1464997
Summary: input[date] unusable on Android 4.4 → input[date] unusable on Android 4.x
Assignee: nobody → petru.lingurar
Status: NEW → ASSIGNED
Attachment #8990929 - Flags: review?(sdaswani) → review?(nchen)
Attachment #8990929 - Flags: review?(nchen) → review+
Attached image DatePickerApi19.png
This is how the DatePicker will look like on API <21 using only spinners. This change means the DatePicker will also be more in line with how the other Date/Time pickers look like on API <21, all of them using just spinners now.
Keywords: checkin-needed
Pushed by cbrindusan@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/ef400c4f3907 input[date] unusable on Android 4.x; r=jchen
Keywords: checkin-needed
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 63
Flags: qe-verify+
Verified as fixed on devices: Lenovo A536 (4.4.2) and Prestigio Grace X5 (4.4.2). Build: Nightly 63.0a1 (2018-07-16).
Flags: qe-verify+
Should this be uplifted to beta?
Flags: needinfo?(petru.lingurar)
(In reply to Julien Cristau [:jcristau] from comment #10) > Should this be uplifted to beta? I was planning to finish all tickets from Bug 1464997 and then ask uplift for all of them. Should be this week.
Flags: needinfo?(petru.lingurar)
Blocks: 1460585
As per Comment 9 marking as verified.
Status: RESOLVED → VERIFIED
Is this something we should consider for Beta backport?
Flags: needinfo?(petru.lingurar)
Comment on attachment 8990929 [details] Bug 1462299 - input[date] unusable on Android 4.x; Approval Request Comment [Feature/Bug causing the regression]: DatePicker on API <21 [User impact if declined]: Can only select a certain month/year by scrolling through the months. [Is this code covered by automated tests?]: No [Has the fix been verified in Nightly?]: Yes [Needs manual test from QE? If yes, steps to reproduce]: -- [List of other uplifts needed for the feature/fix]: -- [Is the change risky?]: No [Why is the change risky/not risky?]: Has been QE verified and in the time being in Nightly no issues have been reported. [String changes made/needed]: --
Flags: needinfo?(petru.lingurar)
Attachment #8990929 - Flags: approval-mozilla-beta?
Comment on attachment 8990929 [details] Bug 1462299 - input[date] unusable on Android 4.x; One of several small fixes for the date picker related to the switch in 62 to using the platform library. Verified in nightly. Let's uplift for next Monday's beta 17 build.
Attachment #8990929 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
Flags: qe-verify+
Can you please check this, Igor?
Flags: needinfo?(igor.lazar)
Devices: - Lenovo A536 (4.4.2); - Prestigio Grace X5 (4.4.2). Verified as fixed in 62.0b17, all of the date/date-time pickers work as expected.
Flags: qe-verify+
Flags: needinfo?(igor.lazar)
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: