Closed Bug 1139185 Opened 9 years ago Closed 9 years ago

[RTL][Contacts] Email address is not aligned to the right

Categories

(Firefox OS Graveyard :: Gaia::Contacts, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(blocking-b2g:2.5+, b2g-v2.2 verified, b2g-master verified)

VERIFIED FIXED
2.2 S7 (6mar)
blocking-b2g 2.5+
Tracking Status
b2g-v2.2 --- verified
b2g-master --- verified

People

(Reporter: pcheng, Assigned: autra)

References

Details

(Keywords: regression, Whiteboard: [3.0-Daily-Testing])

Attachments

(4 files)

Attached image screenshot of issue
Description:
When viewing a contact, their email address is NOT aligned to the right.

Prerequisite:
In RTL language (Arabic)

STR:
1) Create a contact with an email address
2) Tap to view the contact created at step 1

Expected: Email address is right aligned

Actual: Email address is left aligned. See screenshot.

Device: Flame 3.0
BuildID: 20150303010233
Gaia: c8ed1085a67490a1ecd7f275e5de9487e1b93b1d
Gecko: 0b3c520002ad
Gonk: e7c90613521145db090dd24147afd5ceb5703190
Version: 39.0a1 (3.0) 
Firmware Version: v18D-1
User Agent: Mozilla/5.0 (Mobile; rv:39.0) Gecko/39.0 Firefox/39.0
This issue does NOT occur on Flame 2.2. Email address is aligned to the right on 2.2.

Device: Flame 2.2
BuildID: 20150303002527
Gaia: 3d188c414e30acc392253d5389a42352fcfbc183
Gecko: c89aad487aa5
Gonk: e7c90613521145db090dd24147afd5ceb5703190
Version: 37.0 (2.2) 
Firmware Version: v18D-1
User Agent: Mozilla/5.0 (Mobile; rv:37.0) Gecko/37.0 Firefox/37.0
Blocks: contacts-rtl
QA Whiteboard: [rtl-impact][QAnalyst-Triage?]
Flags: needinfo?(ktucker)
Keywords: regression
Whiteboard: [3.0-Daily-Testing]
[Blocking Requested - why for this release]:

This is a regression from 2.2 so nominating this 3.0?

Let's get a regression window.
blocking-b2g: --- → 3.0?
QA Whiteboard: [rtl-impact][QAnalyst-Triage?] → [rtl-impact][QAnalyst-Triage+]
Flags: needinfo?(ktucker)
QA Contact: pcheng
b2g-inbound regression window:

Last Working Environmental Variables:
Device: Flame
BuildID: 20150228121824
Gaia: 78fa297b1a35dc58f21a6c9b88f8804d1fb88d35
Gecko: e9bce62caed6
Version: 39.0a1 (3.0 Master)
Firmware Version: v18D-1
User Agent: Mozilla/5.0 (Mobile; rv:39.0) Gecko/39.0 Firefox/39.0

First Broken Environmental Variables:
Device: Flame
BuildID: 20150301134024
Gaia: 78c56628848a3bc71886328035da1aa3557df24e
Gecko: 494ab2e30956
Version: 39.0a1 (3.0 Master)
Firmware Version: v18D-1
User Agent: Mozilla/5.0 (Mobile; rv:39.0) Gecko/39.0 Firefox/39.0

Last Working Gaia & First Broken Gecko - issue does NOT repro
Gaia: 78fa297b1a35dc58f21a6c9b88f8804d1fb88d35
Gecko: 494ab2e30956

Last Working Gecko & First Broken Gaia - issue DOES repro
Gaia: 78c56628848a3bc71886328035da1aa3557df24e
Gecko: e9bce62caed6

Gaia pushlog:
https://github.com/mozilla-b2g/gaia/compare/78fa297b1a35dc58f21a6c9b88f8804d1fb88d35...78c56628848a3bc71886328035da1aa3557df24e


Caused by the patch to Bug 1126587. Note that this bug will be 2.2 affected once that patch gets uplifted to 2.2.
QA Whiteboard: [rtl-impact][QAnalyst-Triage+] → [rtl-impact][QAnalyst-Triage?]
Flags: needinfo?(ktucker)
Augustin, can you take a look at this please? Looks like the landing for Bug 1126587 might have caused this to occur.
QA Whiteboard: [rtl-impact][QAnalyst-Triage?] → [rtl-impact][QAnalyst-Triage+]
Flags: needinfo?(ktucker) → needinfo?(augustin.trancart)
Assignee: nobody → augustin.trancart
Flags: needinfo?(augustin.trancart)
Comment on attachment 8572539 [details] [review]
[gaia] autra:bug-1139185 > mozilla-b2g:master

Hi Francisco,

Since you were the reviewer of bug 1126587, could you review this follow-up? Basically, I made a mistake when forcing email field to be ltr: we still want it to be right-aligned in RTL language. So I use the same trick than for contact-list. Thanks!
Attachment #8572539 - Flags: review?(francisco)
blocking-b2g: 3.0? → 3.0+
Comment on attachment 8572539 [details] [review]
[gaia] autra:bug-1139185 > mozilla-b2g:master

Thanks Augusting, tried on the phone and looking find.
Attachment #8572539 - Flags: review?(francisco) → review+
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Comment on attachment 8572539 [details] [review]
[gaia] autra:bug-1139185 > mozilla-b2g:master

[Approval Request Comment]
[Bug caused by] (feature/regressing bug #): #1126587
[User impact] if declined: bad alignment of email in RTL contact detail view
[Testing completed]: on flame 2.2
[Risk to taking this patch] (and alternatives if risky): low
[String changes made]: None
Attachment #8572539 - Flags: approval-gaia-v2.2?(bbajaj)
Attached image Fixed screenshot
This issue is verified fixed on latest b2g-inbound build. Email address is aligned to the left. See screenshot for fixed behavior.

Device: Flame 3.0
BuildID: 20150306134530
Gaia: 4c6cecb14e5cc20b2e217d5783e8dde4a5145d66
Gecko: afd91b997c2e
Gonk: e7c90613521145db090dd24147afd5ceb5703190
Version: 39.0a1 (3.0) 
Firmware Version: v18D-1
User Agent: Mozilla/5.0 (Mobile; rv:39.0) Gecko/39.0 Firefox/39.0

Adding verifyme tag for 2.2 verification after uplift.
Status: RESOLVED → VERIFIED
QA Whiteboard: [rtl-impact][QAnalyst-Triage+] → [rtl-impact][QAnalyst-Triage?]
Flags: needinfo?(ktucker)
Keywords: verifyme
Correction on comment 10 observed behavior: email address is aligned to the *RIGHT*.
QA Whiteboard: [rtl-impact][QAnalyst-Triage?] → [rtl-impact][QAnalyst-Triage+]
Flags: needinfo?(ktucker)
Keywords: verifyme
In regards to Comment 9 this is unaffected on 2.2 so I don't know if we need an uplift here.
Flags: needinfo?(augustin.trancart)
NVM this will be affected once the patch for bug 1126587 gets uplifted to 2.2. Sorry about that.
Flags: needinfo?(augustin.trancart)
Keywords: verifyme
Attachment #8572539 - Flags: approval-gaia-v2.2?(bbajaj) → approval-gaia-v2.2+
Target Milestone: --- → 2.2 S7 (6mar)
Attached image screenshot
This problem is verified pass on latest build of Flame 2.2.
See attachment: Flame2.2_screenshot1.png
Rate:0/5

Flame 2.2 build: (Pass)
Build ID               20150316162504
Gaia Revision          d0e09d5e6367e558824f9cbf691da99cedf63037
Gaia Date              2015-03-16 17:14:22
Gecko Revision         https://hg.mozilla.org/releases/mozilla-b2g37_v2_2/rev/793d61bb0bd4
Gecko Version          37.0
Device Name            flame
Firmware(Release)      4.4.2
Firmware(Incremental)  eng.cltbld.20150316.195035
Firmware Date          Mon Mar 16 19:50:48 EDT 2015
Bootloader             L1TC000118D0
QA Whiteboard: [rtl-impact][QAnalyst-Triage+] → [rtl-impact][QAnalyst-Triage+][MGSEI-Triage+]
Keywords: verifyme
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: