Closed Bug 1053613 Opened 10 years ago Closed 10 years ago

Lockscreen PIN keypad: backspace key misaligned & wrong, vertical separators missing, last row too high

Categories

(Firefox OS Graveyard :: Gaia::System::Lockscreen, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
2.1 S3 (29aug)

People

(Reporter: mnjul, Assigned: mnjul)

References

Details

(Whiteboard: [p=1])

Attachments

(5 files, 1 obsolete file)

Attached image 2014-08-14-10-45-32.png
As illustrated in the attached screenshot, the backspace key of lockscreen PIN keypad is right aligned. It should be center aligned.
Attached file Patch (PR @ GitHub) (obsolete) —
Hi Omega, please check if it's correctly aligned now. Thanks!
Attachment #8472771 - Flags: ui-review?(ofeng)
Assignee: nobody → jlu
Whiteboard: [p=1]
Target Milestone: --- → 2.1 S2 (15aug)
Comment on attachment 8472771 [details] [review]
Patch (PR @ GitHub)

I think Carol is the better reviewer for this bug.
BTW, I found another issue. The PIN code keyboard in lockscreen lacks of the vertical separators between keys.
Attachment #8472771 - Flags: ui-review?(ofeng) → ui-review?(chuang)
Comment on attachment 8472771 [details] [review]
Patch (PR @ GitHub)

(In reply to Omega Feng [:Omega] [:馮於懋] from comment #2)
> BTW, I found another issue. The PIN code keyboard in lockscreen lacks of the
> vertical separators between keys.

Ah, I will fix that in this bug too. Canceling the review request for now.
Attachment #8472771 - Flags: ui-review?(chuang)
Summary: Lockscreen PIN keypad backspace key is misaligned → Lockscreen PIN keypad: backspace key misaligned and vertical separators missing
Comment on attachment 8472771 [details] [review]
Patch (PR @ GitHub)

Hi Carrol,

Both the misalignment and the missing separators have been fixed. Please check it out. Thanks a lot!
Attachment #8472771 - Flags: ui-review?(chuang)
Comment on attachment 8472771 [details] [review]
Patch (PR @ GitHub)

Hi John,
I've checked the patch and there are two things:

1. the keypad height of bottom row
2. the backspace-key 

I would like them visually the same as our Pin code pad. Thank you!
Attachment #8472771 - Flags: ui-review?(chuang) → ui-review-
Flags: needinfo?(jlu)
Hi John,
I'll just upload a attachment to let you know what I was talking about according to the UI review. Thanks!
Flags: needinfo?(jlu)
Summary: Lockscreen PIN keypad: backspace key misaligned and vertical separators missing → Lockscreen PIN keypad: backspace key misaligned & wrong, vertical separators missing, last row too high
Hi Carol: how does this patch look? Thanks!
Attachment #8472771 - Attachment is obsolete: true
Attachment #8472899 - Flags: ui-review?(chuang)
Depends on: 1054179
Comment on attachment 8472899 [details] [review]
Patch again (PR @ GitHub)

Hi John,
Could you remove the divider on the very right side?
I'll attach a screenshot.
Thanks!!
Attachment #8472899 - Flags: ui-review?(chuang) → ui-review-
please remove the divider on the right side of the keyboard.
Flags: needinfo?(jlu)
(In reply to Carol Huang [:Carol] from comment #9)
> Created attachment 8473551 [details]
> patch_screenshot_0815.jpg
> 
> please remove the divider on the right side of the keyboard.

Fixed that. Could you check the patch again? Thanks.

Let's finalize the ui-review after bug 1054179 is resolved.
Flags: needinfo?(jlu) → needinfo?(chuang)
Target Milestone: 2.1 S2 (15aug) → 2.1 S3 (29aug)
It looks good!
Let's do a UI review again when bug 1054179 is resolved. Thanks!!
Flags: needinfo?(chuang)
HI Carol,

bug 1054179 would be done after FL, but this current bug should be low-risk enough to land before FL. I suggest that we finish this bug without incorporating/waiting for changes of bug 1054179, such that the two numpads would look identical at FL. I will file a follow-up bug for lockscreen's numpad rows' even-distributed heights.

How does this sound? Thanks.
NI Carol for comment 12 ^^^
Flags: needinfo?(chuang)
Hi John,
sounds good! let's do this. 
Please cc me the follow-up bug.
Thank you!!
Flags: needinfo?(chuang)
Comment on attachment 8472899 [details] [review]
Patch again (PR @ GitHub)

(In reply to Carol Huang [:Carol] from comment #14)
> Hi John,
> sounds good! let's do this. 
> Please cc me the follow-up bug.
> Thank you!!

Hi Carol, it would be great if we have ui-review+ (according to the criteria of: (1) backspace key misalignment & appearance (2) vertical separators; not including the evenly-distributed heights) before landing the patch. Thanks!
Attachment #8472899 - Flags: ui-review- → ui-review?(chuang)
Comment on attachment 8472899 [details] [review]
Patch again (PR @ GitHub)

Hi John,
The UI looks good! thank you!
Attachment #8472899 - Flags: ui-review?(chuang) → ui-review+
Comment on attachment 8472899 [details] [review]
Patch again (PR @ GitHub)

Hi Greg, here's a CSS patch for you to review. Thanks!

Tim, asking for your feedback regarding moving Keyboard-Symbols.woff.
The story: the backspace key that concerns UX in comment 5 is that (as offline discussed) in lockscreen it looks different from how it looks in other places. I discovered this was due to missing font file. Note that keyboard app hasn't actually been using Keyboard-Symbols.woff since bug 992346, so in my patch I moved the file to system app instead of moving into /shared. Does it sound okay?
Attachment #8472899 - Flags: review?(gweng)
Attachment #8472899 - Flags: feedback?(timdream)
Attachment #8472899 - Flags: review?(gweng) → review+
Comment on attachment 8472899 [details] [review]
Patch again (PR @ GitHub)

Let's use what's done in bug 1030829 and bug 1008458 to "load" these fonts from both apps, thanks.
Attachment #8472899 - Flags: feedback?(timdream)
... to load the Keyboard Symbols font from both apps :-/
Depends on: 1056514
(In reply to Tim Guan-tin Chien [:timdream] (MoCo-TPE) (please ni?) from comment #18)
> Comment on attachment 8472899 [details] [review]
> Patch again (PR @ GitHub)
> 
> Let's use what's done in bug 1030829 and bug 1008458 to "load" these fonts
> from both apps, thanks.

Doing that in 1056514.
Bug 1056514 is now resolved, will modify this bug accordingly to land and open follow-up as agreed with Carol in comment 15.
Master: https://github.com/mozilla-b2g/gaia/commit/c8e4549c4e73606a0f50ee751b165b1f92bf8924
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
No longer depends on: 1054179
(In reply to John Lu [:mnjul] [MoCoTPE] from comment #12)
> HI Carol,
> 
> bug 1054179 would be done after FL, but this current bug should be low-risk
> enough to land before FL. I suggest that we finish this bug without
> incorporating/waiting for changes of bug 1054179, such that the two numpads
> would look identical at FL. I will file a follow-up bug for lockscreen's
> numpad rows' even-distributed heights.
> 
> How does this sound? Thanks.

This is now in bug 1059075.
Have you tried with other languages? We have text on three lines for some locales, and the effect is horrible
http://transvision.mozfr.org/string/?entity=apps/system/system.properties:emergency-call-button&repo=gaia

I honestly think this should be backed out and put more thought into it.
Flags: needinfo?(jlu)
Many thanks Francesco. I'll talk with our UX for this.

Omega & Carol, could you take a look at this? I kinda think we might still need to have a somewhat higher-than-others last row to accommodate the three lines in other languages.
Flags: needinfo?(ofeng)
Flags: needinfo?(jlu)
Flags: needinfo?(chuang)
Hi John, 
please do the revise below:
1. make the text size 0.2 rem 'smaller'
2. the text should be not only horizontally center aligned in the field but also 'Vertically'. So the text won't be cropped on the bottom.

Thank you!!
Flags: needinfo?(chuang) → needinfo?(jlu)
One other check: try with a very long first word (of with the pseudolocale Accented English). I think you don't have a max-width set, so the horizontal alignment could go off axis.
Depends on: 1060264
FYI, the "Emergency Call" text thing will be dealt with in bug 1060264.
No longer depends on: 1060264
Flags: needinfo?(jlu)
Depends on: 1060264
We fixed the Emergency Call problem in bug 1060264. Good job, thanks!
Flags: needinfo?(ofeng)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: