Closed
Bug 1143916
Opened 9 years ago
Closed 9 years ago
[RTL][Lockscreen] Battery Charge Time Remaining display does not match parentheses
Categories
(Firefox OS Graveyard :: Gaia::System::Lockscreen, defect, P1)
Tracking
(blocking-b2g:2.2+, b2g-master affected)
RESOLVED
DUPLICATE
of bug 1144205
blocking-b2g | 2.2+ |
Tracking | Status | |
---|---|---|
b2g-master | --- | affected |
People
(Reporter: onelson, Unassigned)
References
Details
(Whiteboard: [3.0-Daily-Testing])
Attachments
(2 files)
Description: When the user plugs in their device and views the lockscreen, the charge time remaining is now displayed. In an RTL language, the parentheses are misplaced on the text. PreReq: * RTL Language (Arabic) Repro Steps: 1) Update a Flame to 20150316010202 2) Plug in device 3) Lock phone 4) Observe lockscreen: charge time remaining. Actual: Parentheses are placed at the front of text (don't close eachother) in RTL. Ex: (Charged (1h 13 mins remaining 1% Expected: Parentheses follow formatting on lockscreen and close eachother Ex: (1h 13 mins) Charged 1% //unsure of accurate formatting Environmental Variables: -------------------------------------------------- Device: Flame 3.0 Build ID: 20150316010202 Gaia: 4868c56c0a3b7a1e51d55b24457e44a7709ea1ae Gecko: 436686833af0 Gonk: b83fc73de7b64594cd74b33e498bf08332b5d87b Version: 39.0a1 (3.0) Firmware Version: v18D-1 User Agent: Mozilla/5.0 (Mobile; rv:39.0) Gecko/39.0 Firefox/39.0 ========================================== Feature was not available for 2.2 on flame devices BUT as of today (battery charge time bug 1116368) has landed. Should be in tomorrow's nightly. Device: Flame 2.2 BuildID: 20150316002502 Gaia: a6b2d3f8478ec250beb49950fecbb8a16465ff6f Gecko: 18619f8f6c5c Gonk: b83fc73de7b64594cd74b33e498bf08332b5d87b Version: 37.0 (2.2) Firmware Version: v18D-1 User Agent: Mozilla/5.0 (Mobile; rv:37.0) Gecko/37.0 Firefox/37.0 -------------------------------------------------- Repro frequency: 5/5 See attached: screenshot
Reporter | ||
Updated•9 years ago
|
Blocks: system-rtl
QA Whiteboard: [QAnalyst-Triage?][rtl-impact]
Flags: needinfo?(pbylenga)
Whiteboard: [3.0-Daily-Testing]
Updated•9 years ago
|
QA Whiteboard: [QAnalyst-Triage?][rtl-impact] → [QAnalyst-Triage+][rtl-impact]
Flags: needinfo?(pbylenga)
Comment 1•9 years ago
|
||
triage: blocking -- high visibility and the information is unreadable in this format.
blocking-b2g: --- → 2.2+
Priority: -- → P1
Comment 2•9 years ago
|
||
ni Greg to take a look
Component: Gaia::Keyboard → Gaia::System::Lockscreen
Flags: needinfo?(gweng)
Comment 3•9 years ago
|
||
Hi Zibi, you did the feature in bug 1115921 , so can you help on this blocker?
Flags: needinfo?(gweng) → needinfo?(gandalf)
Comment 4•9 years ago
|
||
Ugh, sure. Stas, do I just need the <bdi> around it? I don't understand why it doesn't work without it :(
Flags: needinfo?(stas)
Comment 5•9 years ago
|
||
Olivier, what locale have you been using? This is not a Mirrored English (RTL pseudolocale), this is not any of the RTL locales. The reason it is broken is because you are displaying en-US strings in RTL mode, which will, always, break parenthesis.
Flags: needinfo?(stas)
Flags: needinfo?(onelson)
Flags: needinfo?(gandalf)
Comment 7•9 years ago
|
||
I confirm it works fine on my Flame when I use Mirrored English.
Comment 8•9 years ago
|
||
I can field this question - In step 0 he states: PreReq: * RTL Language (Arabic) I can confirm that this is still occurring in todays build Environmental Variables: Device: Flame Master (KK - Nightly - Full Flashed - 319 mem) Build ID: 20150324010202 Gaia: efebbafd12fc42ddcd378948b683a51106517660 Gecko: 840cfd5bc971 Gonk: b83fc73de7b64594cd74b33e498bf08332b5d87b Version: 39.0a1 (Master) Firmware Version: v188-1 User Agent: Mozilla/5.0 (Mobile; rv:39.0) Gecko/39.0 Firefox/39.0
Flags: needinfo?(onelson)
Comment 9•9 years ago
|
||
Here is an example from today's build
Comment 10•9 years ago
|
||
Hey Joshua -- which locale is this? Also see comment 5.
Comment 11•9 years ago
|
||
This is likely arabic (see comment 8) falling back to english because the string is not translated yet.
Comment 12•9 years ago
|
||
Is this a dupe of bug 1144205 then?
Comment 13•9 years ago
|
||
Either this or just mark as invalid because we don't have the right localized strings yet.
Comment 14•9 years ago
|
||
OK, let's close this as dupe. Thanks for the report, Joshua! We'll take care of the root cause in bug 1144205.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•