Closed Bug 1322135 Opened 8 years ago Closed 7 years ago

[DateTimePicker] Hour segment is not focused after deleting the time set before

Categories

(Core :: Layout: Form Controls, defect, P1)

53 Branch
defect

Tracking

()

RESOLVED INVALID
Tracking Status
firefox53 --- affected

People

(Reporter: roxana.leitan, Assigned: jessica)

References

(Blocks 1 open bug)

Details

Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:53.0) Gecko/20100101 Firefox/53.0
Build ID: 20161204030210

[Affected versions]:
Nightly 53.0a1

[Affected platforms]:
All platforms: Windows 10 x 64,Ubuntu 15.04

[Steps to reproduce]:
1.Launch Nightly 53.0a1 with a new profile
2.Set "dom.forms.datetime" pref to True in about:config
3.In the URL bar enter "data:text/html, <input type="time">"
4.Set time value(hour/minutes/AM/PM)
5.Click "x" button to delete time values

[Expected result]:
Time values should be deleted and focus should be moved to the hour segment.

[Actual result]:
Time set is deleted but hour segment is not focused.

[Note]:
On Mac works as expected.
Component: XUL Widgets → Layout: Form Controls
Product: Toolkit → Core
Priority: -- → P1
Assignee: nobody → jjong
Confirmed with UX :morpheus, we don't need to move the focus after removing the values. 
With the recent changes, we have aligned this behavior on all platforms.
Hi Roxana, per comment 1, could you help test if the current behavior is consistent across platforms? If yes, maybe we can close this bug. Thanks.
Flags: needinfo?(roxana.leitan)
Hi Jessica,

Current behavior:
After delete button is clicked the last modified segment is in focus.

I confirm that the current behavior is consistent across platforms. Tested using latest Nightly build (2017-05-18) on Windows 10 x64, Ubuntu 16.04 and Mac OS X 10.12
Flags: needinfo?(roxana.leitan)
Thanks Roxana.

Closing per comment 1 and comment 3.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.