Closed Bug 1120194 Opened 10 years ago Closed 10 years ago

Refactor RTL styling for Settings App

Categories

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

All
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(b2g-v2.2 verified)

VERIFIED FIXED
Tracking Status
b2g-v2.2 --- verified

People

(Reporter: nefzaoui, Assigned: nefzaoui)

References

Details

Attachments

(3 files)

Last time an effort to make Settings compatible with RTL layout was made was at around v1.4, since then Settings app evolved too much that too many bugs are appearing for the RTL layout because of the obsolete and unused code, different values from LTR to RTL, so the best approach here is to remove all the RTL code and work our way up on a clean slate to make sure Settings up contains only valid code.
Blocks: settings-rtl
Attached file PR to Github
Comment on attachment 8547241 [details] [review] PR to Github PR's ready ready. Please review? Thanks!
Attachment #8547241 - Flags: review?(fabien.cazenave)
Assignee: nobody → nefzaoui
Status: NEW → ASSIGNED
Hey Ahmed, I’ve just left a few nitpicks on your PR. LGTM otherwise. I’m a bit sad that those `-moz-*-[start|end]` properties aren’t candidate for any CSS spec, but I agree it’s probably the only reasonable way to stop breaking RTL support.
(In reply to Fabien Cazenave [:kaze] from comment #3) > Hey Ahmed, I’ve just left a few nitpicks on your PR. LGTM otherwise. Updated :) Thanks!
Good work. This removes a bunch of RTL-specific rules, and gets us rid of 2 warnings as a bonus. Waiting for the tests to finish…
Attachment #8547241 - Flags: review?(fabien.cazenave) → review+
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Keywords: verifyme
Attached image Screenshot
Hi Ahmed, This problem is verified Fail on latest build of Flame2.2. On Settings app view, some toggle buttons, item contents, input box…are displayed incompletely. See attachment: Screenshot.PNG Reproduce rate 5/5 Flame 2.2 build: Gaia-Rev 0518f4581a0925c0b703d730ef289ab15cbd1216 Gecko-Rev https://hg.mozilla.org/releases/mozilla-b2g37_v2_2/rev/c6aa604a7967 Build-ID 20150126002536 Version 37.0a2 Device-Name flame FW-Release 4.4.2 FW-Incremental eng.cltbld.20150126.042138 FW-Date Mon Jan 26 04:21:49 EST 2015
Flags: needinfo?(nefzaoui)
Status: RESOLVED → REOPENED
QA Whiteboard: MGSEI-Triage+
Keywords: verifyme
Resolution: FIXED → ---
2.2 uplift required
Flags: needinfo?(fabien)
This has been merged to master right before branching, the issues in the screenshot are related to Bug 1121748.
Flags: needinfo?(nefzaoui)
Status: REOPENED → RESOLVED
Closed: 10 years ago10 years ago
Resolution: --- → FIXED
I confirm that Ahmed’s patch is already in the 2.2 branch — no uplift is needed. (In reply to Shine from comment #7) > This problem is verified Fail on latest build of Flame2.2. On Settings app > view, some toggle buttons, item contents, input box…are displayed > incompletely. > See attachment: Screenshot.PNG This is another issue, caused by a recent (and bad) Gecko regression — see bug 1121748 and bug 1119420. The fix should be uplifted to the 2.2 branch in the next few days. We can keep this bug closed RESOLVED/FIXED.
Flags: needinfo?(fabien)
According to Comment 10, We verifys this issue again,this issue has been verified successufully on Flame 2.2. Reproduce rate:0/5. Attachment:Verify_RTL_Settings.mp4 Flame 2.2 build: Gaia-Rev d6141fa3208f224393269e17c39d1fe53b7e6a05 Gecko-Rev https://hg.mozilla.org/releases/mozilla-b2g37_v2_2/rev/f7414413e3a5 Build-ID 20150201002504 Version 37.0a2 Device-Name flame FW-Release 4.4.2 FW-Incremental eng.cltbld.20150201.043120 FW-Date Sun Feb 1 04:31:31 EST 2015 Bootloader L1TC000118D0
Status: RESOLVED → VERIFIED
Attached video Verify_RTL_Settings.MP4
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: