Closed
Bug 1153445
Opened 8 years ago
Closed 8 years ago
[RTL] Arabic icon labels are LTR and ellipsize on left
Categories
(Firefox OS Graveyard :: Gaia::Homescreen, defect, P2)
Tracking
(blocking-b2g:2.2+, b2g-v2.2 verified, b2g-master verified)
People
(Reporter: sfoster, Assigned: sfoster)
References
Details
(Whiteboard: [systemsfe])
Attachments
(2 files)
46 bytes,
text/x-github-pull-request
|
kgrandon
:
review+
bajaj
:
approval-gaia-v2.2+
|
Details | Review |
306.02 KB,
image/png
|
Details |
STR: 1. Visit an arabic language page in browser 2. Use ... menu to 'Add to home screen' (أضِف إلى الشاشة الرئيسية ) 3. Confirm the title in the prompt 4. Tap 'home' button to return to the homescreen Expected: The icon label is in arabic script and truncated from the left. Actual: The icon label is in arabic script and truncated from the right. I've confirmed in the IDE that this .title element has direction:ltr, not rtl as expected.
Comment 2•8 years ago
|
||
Please remember to attach your bugs to an rtl meta bug so this gets caught by triage :) thanks. Triage P2 -- nominating Lancy: can you please make sure you have a test case for this?
Blocks: homescreen-rtl
blocking-b2g: --- → 2.2?
Flags: needinfo?(lebedel.delphine) → needinfo?(yulan.zhu)
Updated•8 years ago
|
Priority: -- → P2
Updated•8 years ago
|
status-b2g-v2.2:
--- → affected
status-b2g-master:
--- → affected
Comment 3•8 years ago
|
||
(In reply to Delphine Lebédel [:delphine - use need info] from comment #2) > Lancy: can you please make sure you have a test case for this? Hi Delphine, Test case has been added in moztrap: https://moztrap.mozilla.org/manage/case/15480/
Flags: needinfo?(yulan.zhu) → in-moztrap+
Updated•8 years ago
|
blocking-b2g: 2.2? → 2.2+
Updated•8 years ago
|
Assignee: nobody → sfoster
Comment 4•8 years ago
|
||
Assignee | ||
Comment 5•8 years ago
|
||
Screenshot with LRT homescreen and mixed-language icons on left, RTL on the right
Assignee | ||
Comment 6•8 years ago
|
||
> Screenshot with LRT homescreen and mixed-language icons on left, RTL on the
> right
Er. vice-versa. Arabic/RTL on the left, En-us on right.
Assignee | ||
Comment 7•8 years ago
|
||
Comment on attachment 8592475 [details] [review] [gaia] sfoster:homescreen-rtl-labels-bug-1153445 > mozilla-b2g:master Just adding dir="auto" to the title/label of the grid icons. Didnt see the value in a test for this markup change, but can whip up one (I guess marionette and getComputedStyle(..).direction check?) if you prefer. Also, this seems like the only spot where the change is needed, is that right?
Attachment #8592475 -
Flags: review?(kgrandon)
Comment 8•8 years ago
|
||
Comment on attachment 8592475 [details] [review] [gaia] sfoster:homescreen-rtl-labels-bug-1153445 > mozilla-b2g:master The code looks good to me. I can't really think of a solid test for this, and it seems fairly easy to regress/bypass a getComputedStyle check. Feel free to add one if you want, though I wouldn't consider it a blocker to landing.
Attachment #8592475 -
Flags: review?(kgrandon) → review+
Assignee | ||
Updated•8 years ago
|
Keywords: checkin-needed
Updated•8 years ago
|
Keywords: checkin-needed
Assignee | ||
Comment 9•8 years ago
|
||
Comment on attachment 8592475 [details] [review] [gaia] sfoster:homescreen-rtl-labels-bug-1153445 > mozilla-b2g:master [Approval Request Comment] [Bug caused by] (feature/regressing bug #): RTL/Homescreen [User impact] if declined: In any locale, apps/icons on the homescreen in a RTL language get truncated and ellipsized from the right instead of left [Testing completed]: Tested on device in en-US and ar as default locale, with a mix of english language and arabic icon labels [Risk to taking this patch] (and alternatives if risky): V. Low, patch adds a single attribute to icon markup, don't anticipate any fallout. [String changes made]: None
Attachment #8592475 -
Flags: approval-gaia-v2.2?
Comment 10•8 years ago
|
||
Pull request has landed in master: https://github.com/mozilla-b2g/gaia/commit/777d01f4a2c7b41c4b02e3cf87715714ccc0590b
Updated•8 years ago
|
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Updated•8 years ago
|
Attachment #8592475 -
Flags: approval-gaia-v2.2? → approval-gaia-v2.2+
Assignee | ||
Comment 11•8 years ago
|
||
v2.2: https://github.com/mozilla-b2g/gaia/commit/3f6a69270bb7cb33380d5d9965c3ace86e0d4afa
Assignee | ||
Updated•8 years ago
|
Updated•8 years ago
|
Target Milestone: --- → 2.2 S10 (17apr)
Comment 12•8 years ago
|
||
This issue is verified fixed on Flame Master and 2.2. Result: The Arabic title of a webpage added to the homescreen is truncated on the left side correctly. Environmental Variables: Device: Flame 3.0 (KK, 319mb, full flash) Build ID: 20150416010206 Gaia: 629097847567e51095a454e7e63186a6e2ac0307 Gecko: a35163f83d22 Gonk: b83fc73de7b64594cd74b33e498bf08332b5d87b Version: 40.0a1 (Master) Firmware Version: v18D-1 User Agent: Mozilla/5.0 (Mobile; rv:40.0) Gecko/40.0 Firefox/40.0 Environmental Variables: Device: Flame 2.2 (KK, 319mb, full flash) Build ID: 20150416002504 Gaia: 8e24d8b7f5e7c74c3004b22710dda0dac3e04ead Gecko: 41388836b5c6 Gonk: ebad7da532429a6f5efadc00bf6ad8a41288a429 Version: 37.0 (2.2) Firmware Version: v18D-1 User Agent: Mozilla/5.0 (Mobile; rv:37.0) Gecko/37.0 Firefox/37.0
Status: RESOLVED → VERIFIED
QA Whiteboard: [QAnalyst-Triage?]
Flags: needinfo?(ktucker)
Updated•8 years ago
|
QA Whiteboard: [QAnalyst-Triage?] → [QAnalyst-Triage+]
Flags: needinfo?(ktucker)
You need to log in
before you can comment on or make changes to this bug.
Description
•