Closed
Bug 1167050
Opened 10 years ago
Closed 10 years ago
Can't choose the time in datetime and datetime-local input element.
Categories
(Firefox OS Graveyard :: Gaia::System, defect)
Tracking
(b2g-v2.1 verified, b2g-v2.1S verified, b2g-v2.2 verified, b2g-master verified)
VERIFIED
FIXED
2.2 S13 (29may)
People
(Reporter: mantaroh, Assigned: mantaroh)
References
()
Details
(Keywords: regression)
Attachments
(3 files)
46 bytes,
text/x-github-pull-request
|
rudyl
:
review+
jocheng
:
approval-gaia-v2.1+
jocheng
:
approval-gaia-v2.2+
|
Details | Review |
1.77 MB,
video/mp4
|
Details | |
2.57 MB,
video/3gpp
|
Details |
When choosed the datetime and datetime-local input element,
I can choose the date, but can't choose the time.
Reproduce Step:
1) Open browser app.
2) Open the datetime /datetime-local samplepage.[1]
3) Tap the datetime / datetime-local element.
4) select date, and [OK] tap
Actual Result:
don't show the time picker dialog.
Expected Result:
show the time picker dialog.
[1] http://jsbin.com/bifami
Assignee | ||
Comment 1•10 years ago
|
||
It seems occurred due to value_selector element is hidden.
The picker container(contain timepicker / datepicker) has hidden when tap the [OK] button in date picker dialog.[1].
And timepicker visibility is false when called showTimePicker().[2]
But container is invisible..
[1] https://github.com/mozilla-b2g/gaia/blob/master/apps/system/js/value_selector/value_selector.js#L405
[2] https://github.com/mozilla-b2g/gaia/blob/master/apps/system/js/value_selector/value_selector.js#L508
Comment 2•10 years ago
|
||
Assignee | ||
Comment 3•10 years ago
|
||
Comment on attachment 8608553 [details] [review]
[gaia] mantaroh:master > mozilla-b2g:master
Hi alive,
I created the Pull Request this bugs.
could you please review this change?
Attachment #8608553 -
Flags: review?(alive)
Comment 4•10 years ago
|
||
Comment on attachment 8608553 [details] [review]
[gaia] mantaroh:master > mozilla-b2g:master
Thanks for contributing!
Bypass this review to Rudy. BTW, it's better having unit test.
Attachment #8608553 -
Flags: review?(alive) → review?(rlu)
Comment 5•10 years ago
|
||
Comment on attachment 8608553 [details] [review]
[gaia] mantaroh:master > mozilla-b2g:master
Thanks for your help to fix this issue.
As Alive mentioned, it would be good to add unit test for this case.
The code lives in,
apps/system/test/unit/value_selector_test.js
If you don't know how to do that, it is ok, I'll handle that as a follow-up.
Attachment #8608553 -
Flags: review?(rlu) → review+
Assignee | ||
Comment 6•10 years ago
|
||
Hi rudy.
THank you for review this bug.
> Thanks for your help to fix this issue.
> As Alive mentioned, it would be good to add unit test for this case.
>
> The code lives in,
> apps/system/test/unit/value_selector_test.js
>
> If you don't know how to do that, it is ok, I'll handle that as a follow-up.
OK.
I submitted bug #1167813.
Updated•10 years ago
|
Keywords: checkin-needed
Updated•10 years ago
|
Keywords: checkin-needed
Comment 7•10 years ago
|
||
Autolander could not locate a review from a user within the suggested reviewer list. Either the patch author or the reviewer should be in the suggested reviewer list.
Assignee | ||
Updated•10 years ago
|
Keywords: checkin-needed
Updated•10 years ago
|
Keywords: checkin-needed
Comment 8•10 years ago
|
||
Autolander could not locate a review from a user within the suggested reviewer list. Either the patch author or the reviewer should be in the suggested reviewer list.
Comment 9•10 years ago
|
||
Land this manually because I am not one of the suggested reviewer of system app.
Gaia master,
https://github.com/mozilla-b2g/gaia/commit/3f38f429cfd5d1260362d7fb3fbf52576bbec83b
Assignee: nobody → mantaroh
Status: NEW → RESOLVED
Closed: 10 years ago
status-b2g-master:
--- → fixed
Resolution: --- → FIXED
Comment 10•10 years ago
|
||
I think this is another regression caused by bug 962434, so this will affect both v2.1 and v2.2.
Will ask approval to see if we can get this fix in for those branches.
Comment 11•10 years ago
|
||
Comment on attachment 8608553 [details] [review]
[gaia] mantaroh:master > mozilla-b2g:master
[Approval Request Comment]
[Bug caused by] (feature/regressing bug #): Bug 962434
[User impact] if declined: Cannot use our built-in value selector for input with type=datetime or datetime-local, though I'm not sure how many web pages have been using this kind of inputs.
[Testing completed]: Yes, manually.
[Risk to taking this patch] (and alternatives if risky): Should be low, the fix here is simply a one-line fix to correct the UI show/hiding flow.
[String changes made]: N/A
Attachment #8608553 -
Flags: approval-gaia-v2.2?
Attachment #8608553 -
Flags: approval-gaia-v2.1?
Updated•10 years ago
|
Keywords: regression,
verifyme
Comment 13•10 years ago
|
||
Comment on attachment 8608553 [details] [review]
[gaia] mantaroh:master > mozilla-b2g:master
Approving regression issue.
Requesting QA verifyme after patch land on 2.1 and 2.2
Attachment #8608553 -
Flags: approval-gaia-v2.2?
Attachment #8608553 -
Flags: approval-gaia-v2.2+
Attachment #8608553 -
Flags: approval-gaia-v2.1?
Attachment #8608553 -
Flags: approval-gaia-v2.1+
Comment 14•10 years ago
|
||
v2.2: https://github.com/mozilla-b2g/gaia/commit/d03cd5c762e1993308e8d061510fa155039e6550
v2.1: https://github.com/mozilla-b2g/gaia/commit/2304a1f6327c2ccf35d6995ee16f2231ed1f22a3
status-b2g-v2.1S:
--- → affected
Target Milestone: --- → 2.2 S13 (29may)
Comment 15•10 years ago
|
||
This bug has been verified as Pass on latest build of Flame v3.0 & Nexus 5 v3.0 by the STR in Comment 0.
Results:
After choosing data and tapping OK, the time picker dialog shows.
See attachment: v3.0.mp4
Reproduce rate: 0/15
Device: Flame v3.0(Pass)
Build ID 20150526160204
Gaia Revision 8ca93673869a64e09ed6153c5402896822dfb253
Gaia Date 2015-05-26 19:31:37
Gecko Revision https://hg.mozilla.org/mozilla-central/rev/1e4e369822ac
Gecko Version 41.0a1
Device Name flame
Firmware(Release) 4.4.2
Firmware(Incremental) eng.cltbld.20150526.195035
Firmware Date Tue May 26 19:50:45 EDT 2015
Bootloader L1TC000118D0
Device: Nexus 5 v3.0(Pass)
Build ID 20150526160204
Gaia Revision 8ca93673869a64e09ed6153c5402896822dfb253
Gaia Date 2015-05-26 19:31:37
Gecko Revision https://hg.mozilla.org/mozilla-central/rev/1e4e369822ac
Gecko Version 41.0a1
Device Name hammerhead
Firmware(Release) 5.1
Firmware(Incremental) eng.cltbld.20150526.195039
Firmware Date Tue May 26 19:50:56 EDT 2015
Bootloader HHZ12f
Updated•10 years ago
|
QA Whiteboard: [MGSEI-Triage+]
Updated•10 years ago
|
Comment 16•10 years ago
|
||
This bug has been verified as pass on latest build of Flame v2.1 & v2.2 and v2.1s_512mb and Nexus 5 v2.2 by the STR in Comment 0.
Results:
After choosing data and tapping OK, the time picker dialog shows.
Attachment:v2.1.3gp
Rate:0/20
Device:Flame v2.1(Verified)
Build ID 20150622001205
Gaia Revision f8b848c82d1ed589f7a1eb5cc099830c867ff1d4
Gaia Date 2015-06-08 09:48:23
Gecko Revision https://hg.mozilla.org/releases/mozilla-b2g34_v2_1/rev/ed778b596fad
Gecko Version 34.0
Device Name flame
Firmware(Release) 4.4.2
Firmware(Incremental) eng.cltbld.20150622.035118
Firmware Date Mon Jun 22 03:51:29 EDT 2015
Bootloader L1TC000118D0
Device:Flame v2.2(Verified)
Build ID 20150619002501
Gaia Revision 1c33072e33c279c8aa5cb5e4a3e4da6af6cd818b
Gaia Date 2015-06-19 01:36:47
Gecko Revision https://hg.mozilla.org/releases/mozilla-b2g37_v2_2/rev/5ad34a170633
Gecko Version 37.0
Device Name flame
Firmware(Release) 4.4.2
Firmware(Incremental) eng.cltbld.20150619.042950
Firmware Date Fri Jun 19 04:30:02 EDT 2015
Bootloader L1TC000118D0
Device: v2.1s_512mb(Verified)
Build ID 20150622001204
Gaia Revision 4196ca9119b4cde8353130165de90c0ffa6060a3
Gaia Date 2015-06-17 03:30:30
Gecko Revision https://hg.mozilla.org/releases/mozilla-b2g34_v2_1s/rev/6299ba592af4
Gecko Version 34.0
Device Name scx15_sp7715ea
Firmware(Release) 4.4.2
Firmware(Incremental) 122
Firmware Date Thu Feb 5 12:42:58 CST 2015
Device: Nexus5 v2.2 (Verified)
Build ID 20150621002506
Gaia Revision 1f8981d7872e3c0053571c26fb3edaf401844d75
Gaia Date 2015-06-19 13:22:30
Gecko Revision https://hg.mozilla.org/releases/mozilla-b2g37_v2_2/rev/9a0d8f7b1200
Gecko Version 37.0
Device Name hammerhead
Firmware(Release) 5.1
Firmware(Incremental) eng.cltbld.20150621.035418
Firmware Date Sun Jun 21 03:54:36 EDT 2015
Bootloader HHZ12f
Updated•10 years ago
|
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•