Closed Bug 1132646 Opened 9 years ago Closed 9 years ago

[RTL][Contacts][Labels] When the user changes a Label in the contacts app the previously used label will move forward

Categories

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

ARM
Gonk (Firefox OS)
defect

Tracking

(b2g-v2.2 unaffected, b2g-master affected)

RESOLVED WORKSFORME
Tracking Status
b2g-v2.2 --- unaffected
b2g-master --- affected

People

(Reporter: dharris, Unassigned)

References

()

Details

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

Attachments

(1 file)

Attached file Contacts Label Logcat
Description:
If the user deselects a label option when editing or creating a new contact, the text will visibly shift forward slightly

Prerequisites: Have device set to an RTL language, such as Arabic (عربي)

Repro Steps:
1) Update a Flame to 20150212010213
2) Open Contacts App> Tap on "+" to add a new contact
3) Select any Label from one of the subjects, such as the phone number section
4) select a different label than the one selected by default
5) Observe the previously selected Label


Actual:
Texts moves forward slightly


Expected:
The text does not move when it is unselected

Environmental Variables:
Device: Flame 3.0 (319mb)(Kitkat)(Full Flash)
Build ID: 20150212010213
Gaia: d5a71cedb37dd45f439f672489db3994b349ac43
Gecko: 3094601af679
Gonk: e7c90613521145db090dd24147afd5ceb5703190
Version: 38.0a1 (3.0)
Firmware Version: v18D-1
User Agent: Mozilla/5.0 (Mobile; rv:38.0) Gecko/38.0 Firefox/38.0

Repro frequency: 15/15
See attached: Logcat, Video - http://youtu.be/bP1DGjAd9I4
This issue does NOT occur on Flame 2.2

The text does not shift when the option is deselected

Environmental Variables:
Device: Flame 2.2 (319mb)(Kitkat)(Full Flash)
Build ID: 20150212002504
Gaia: 791e53728cd8018f1d7cf7efe06bbeb1179f0370
Gecko: 5dec207fcbeb
Gonk: e7c90613521145db090dd24147afd5ceb5703190
Version: 37.0a2 (2.2)
Firmware Version: v18D-1
User Agent: Mozilla/5.0 (Mobile; rv:37.0) Gecko/37.0 Firefox/37.0
QA Whiteboard: [QAnalyst-Triage?][rtl-impact]
Flags: needinfo?(pbylenga)
RTL triage: This is a P2 strictly for RTL but it might warrant more attention because of the regression. 

I find the flashing of the label when you press it far more distracting than the pixel shift -- is that new too?
Flags: needinfo?(francisco)
Priority: -- → P2
[Blocking Requested - why for this release]:
Regression of a supported feature.

Requesting a window.
blocking-b2g: --- → 3.0?
QA Whiteboard: [QAnalyst-Triage?][rtl-impact] → [QAnalyst-Triage+][rtl-impact]
Flags: needinfo?(pbylenga)
Assignee: nobody → augustin.trancart
I confirm this only reproduces with gecko 37 (latest gaia master).  

By the way, the shift I see is far worse than in the video. Imho what happens is that the -moz-padding-end is added at the right (so the "start" in rtl) instead of being added at the left in case of rtl element.

Clearing assignment, as I won't be able to fix it on gaia.
Assignee: augustin.trancart → nobody
QA Contact: bzumwalt
Mozilla-Inbound Regression Window:

Last working Mozilla-Inbound build:
Device: Flame 3.0
Build ID: 20150209063429
Gaia: 0d7b35f23402c4cb29bca6b98280fec48a196dec
Gecko: c13e7799a147
Version: 38.0a1 (3.0)
Firmware Version: v18D-1
User Agent: Mozilla/5.0 (Mobile; rv:38.0) Gecko/38.0 Firefox/38.0

First broken Mozilla-Inbound build:
Device: Flame 3.0
Build ID: 20150209064732
Gaia: 0d7b35f23402c4cb29bca6b98280fec48a196dec
Gecko: 70a1847bdc20
Version: 38.0a1 (3.0)
Firmware Version: v18D-1
User Agent: Mozilla/5.0 (Mobile; rv:38.0) Gecko/38.0 Firefox/38.0


Working Gaia with Broken Gecko issue DOES occur:
Gaia: 0d7b35f23402c4cb29bca6b98280fec48a196dec
Gecko: 70a1847bdc20

Working Gecko with Broken Gaia issue does NOT occur:
Gaia: 0d7b35f23402c4cb29bca6b98280fec48a196dec
Gecko: c13e7799a147


Mozilla-Inbound Pushlog:
http://hg.mozilla.org/integration/mozilla-inbound/pushloghtml?fromchange=c13e7799a147&tochange=70a1847bdc20


Issue appears to occur due to changes made in bug 1130231
QA Whiteboard: [QAnalyst-Triage+][rtl-impact] → [QAnalyst-Triage?][rtl-impact]
Flags: needinfo?(ktucker)
Jonathan, can you take a look at this please? Looks like the work done on bug 1130231 might have caused this issue to occur.
QA Whiteboard: [QAnalyst-Triage?][rtl-impact] → [QAnalyst-Triage+][rtl-impact]
Flags: needinfo?(ktucker) → needinfo?(jfkthame)
I can't reproduce this in my local build (GP Peak), leading me to suspect that it may have been resolved already by one of the recent RTL button-padding fixes. Please re-test with latest Gecko and Gaia revisions, and confirm whether the issue still exists.
Flags: needinfo?(jfkthame)
May just have gotten fixed, the latest Flame 3.0 nightly still repros (Gecko version: 4bb425001d8a), but does NOT occur in latest Mozilla-Central build (maybe due to your changes in bug 1132186?)

Alternating between label choices while editing contact shows no shifting text when language is set to Arabic.

Device: Flame 3.0
Build ID: 20150217112337
Gaia: 4f39e48b95fa00c8669b8707447542024bb55432
Gecko: 7f7e833005ea
Version: 38.0a1 (3.0)
Firmware Version: v18D-1
User Agent: Mozilla/5.0 (Mobile; rv:38.0) Gecko/38.0 Firefox/38.0
QA Whiteboard: [QAnalyst-Triage+][rtl-impact] → [QAnalyst-Triage?][rtl-impact]
Hi,

I've just tried this and works for me.
Status: NEW → RESOLVED
Closed: 9 years ago
Flags: needinfo?(francisco)
Resolution: --- → WORKSFORME
blocking-b2g: 3.0? → ---
I don't believe that bug 1132186 fixed this. It was a gecko issue according to me : -moz-padding-start was padding stuff to the left instead of the right in RTL. (I checked this with the webIDE). But the important point is that it is fixed :-)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: