Closed
Bug 1212329
Opened 9 years ago
Closed 9 years ago
(Gaia RTL 2.5) CSS refactoring System followup: lockscreen
Categories
(Firefox OS Graveyard :: Gaia::System, defect)
Tracking
(b2g-master fixed)
RESOLVED
FIXED
FxOS-S11 (13Nov)
Tracking | Status | |
---|---|---|
b2g-master | --- | fixed |
People
(Reporter: pelloux, Assigned: autra)
References
Details
Attachments
(7 files, 2 obsolete files)
Another set of patch to improve RTL for system app, this time to fix the stylesheets in apps/system/lockscreen/style/
Assignee: nobody → pierre-eric
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Comment 1•9 years ago
|
||
Attachment #8672656 -
Flags: review?(etienne)
Comment 2•9 years ago
|
||
Comment on attachment 8672656 [details]
[gaia] Phoxygen:bug1212329-system-rtl-refactor-lockscreen > mozilla-b2g:master
Adding Gabriele for the Dialer part (callscreen) and Greg for the lockscreen part (which is the biggest part of this patch).
Concerning the purely system part, the notification gets aligned with the date (on the left) instead of the icon (on the right). I'm testing with the Mirrored English locale but it does look broken.
Attachment #8672656 -
Flags: review?(gweng)
Attachment #8672656 -
Flags: review?(gsvelto)
Attachment #8672656 -
Flags: review?(etienne)
> Concerning the purely system part, the notification gets aligned with the
> date (on the left) instead of the icon (on the right). I'm testing with the
> Mirrored English locale but it does look broken.
Can you take a screenshot of the issue please?
I re-did a quick test and didnt experience this problem using Arabic locale or Mirrored English (see attached screenshot)
Comment 5•9 years ago
|
||
Comment on attachment 8672656 [details]
[gaia] Phoxygen:bug1212329-system-rtl-refactor-lockscreen > mozilla-b2g:master
The UI elements look good in both modes but for some reason with your patch applied the lockscreen's incoming call slider doesn't work anymore. Pressing the button and dragging it has no effect.
Attachment #8672656 -
Flags: review?(gsvelto)
Comment on attachment 8672656 [details]
[gaia] Phoxygen:bug1212329-system-rtl-refactor-lockscreen > mozilla-b2g:master
Gabriele: I fixed the incoming call slider issue, ready for review again.
Attachment #8672656 -
Flags: review?(gweng) → review?(gsvelto)
Comment 7•9 years ago
|
||
(In reply to Etienne Segonzac (:etienne) from comment #7)
> Created attachment 8674293 [details]
> Screenshot of the notification issue
Oh right. PR updated to fix this issue.
Attachment #8672656 -
Flags: review?(gsvelto) → review?(etienne)
Comment 9•9 years ago
|
||
Comment on attachment 8672656 [details]
[gaia] Phoxygen:bug1212329-system-rtl-refactor-lockscreen > mozilla-b2g:master
r=me on the system (not lockscreen) part, and adding back Gabriele and Greg for the rest of the review.
The flags got lost in the PR update.
Attachment #8672656 -
Flags: review?(gweng)
Attachment #8672656 -
Flags: review?(gsvelto)
Attachment #8672656 -
Flags: review?(etienne)
Attachment #8672656 -
Flags: review+
Comment 10•9 years ago
|
||
I've tested the last version of your patch and there's a glitch related to the SIM elements and clock position. The carrier name is shifted downwards and it seems to partially cover the clock which is also shifted downwards. Ask me for review again once you've solved this issue too. BTW it would be best if you could push a patch with your incremental changes on top of the current one, it makes reviewing the changes much easier. You can squash all the patches back into one once you're ready for landing.
Updated•9 years ago
|
Attachment #8672656 -
Flags: review?(gsvelto) → review-
Reporter | ||
Comment 11•9 years ago
|
||
PR updated - as recommended I didn't squash the new commit to ease review.
Seems to work - at least the 2 above bugs (can't pickup calls and carrier detail glitch) are fixed.
Attachment #8672656 -
Flags: review- → review?(gsvelto)
Comment 12•9 years ago
|
||
I've applied the patch but it looks the notification highlights in a shorter way. This is the screenshot shows the symptom. I will attach another version without the patch for comparison.
Comment 13•9 years ago
|
||
Comment 14•9 years ago
|
||
Comment on attachment 8672656 [details]
[gaia] Phoxygen:bug1212329-system-rtl-refactor-lockscreen > mozilla-b2g:master
As a notification of the issue above I cancel the review first.
Attachment #8672656 -
Flags: review?(gweng)
Comment 15•9 years ago
|
||
Comment on attachment 8672656 [details]
[gaia] Phoxygen:bug1212329-system-rtl-refactor-lockscreen > mozilla-b2g:master
The callscreen stuff looks fine now, thanks!
Attachment #8672656 -
Flags: review?(gsvelto) → review+
Reporter | ||
Comment 16•9 years ago
|
||
>
> I've applied the patch but it looks the notification highlights in a shorter
> way. This is the screenshot shows the symptom. I will attach another version
> without the patch for comparison.
Ouch, it was caused by a typo (padding replaced by margin)...
Fixed now.
Attachment #8672656 -
Flags: review?(gweng)
Comment 17•9 years ago
|
||
Comment on attachment 8672656 [details]
[gaia] Phoxygen:bug1212329-system-rtl-refactor-lockscreen > mozilla-b2g:master
Applied the patch on my device and it looks good now. Thanks.
Attachment #8672656 -
Flags: review?(gweng) → review+
Reporter | ||
Comment 18•9 years ago
|
||
Thanks Greg.
I squashed the patches and updated the PR. I suppose this can get merged as soon as the tests are finished.
Keywords: checkin-needed
Comment 19•9 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
status-b2g-master:
--- → fixed
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → FxOS-S10 (30Oct)
This has a broken unit test: https://treeherder.mozilla.org/logviewer.html#?job_id=3158005&repo=b2g-inbound
Reverted in https://github.com/mozilla-b2g/gaia/commit/11e4c572e3a2690e4ef1e8436beba55587ffed6d
Status: RESOLVED → REOPENED
Flags: needinfo?(pierre-eric)
Resolution: FIXED → ---
Comment 21•9 years ago
|
||
Assignee | ||
Comment 22•9 years ago
|
||
Comment on attachment 8679325 [details]
[gaia] Phoxygen:bug1212329-system_lockscreen_notification > mozilla-b2g:master
I'm taking this, as Pierre-Éric was on other subject recently.
I've pushed another commit on top of Pierre-Éric one, that corrects the unit tests and handle the dir parameter correctly (at least it's how I understood w3c's spec about WebNotifications).
Flags: needinfo?(pierre-eric)
Attachment #8679325 -
Flags: review?(gweng)
Attachment #8679325 -
Flags: review?(gsvelto)
Attachment #8679325 -
Flags: review?(etienne)
Assignee | ||
Updated•9 years ago
|
Assignee: pierre-eric → augustin.trancart
Comment 23•9 years ago
|
||
Comment on attachment 8679325 [details]
[gaia] Phoxygen:bug1212329-system_lockscreen_notification > mozilla-b2g:master
Anything changed in the system (but not lockscreen) part of the patch since my last r+? If not you can "carry" the r+ for this part :)
Also, looks like this PR needs rebasing.
Attachment #8679325 -
Flags: review?(etienne)
Comment 24•9 years ago
|
||
Comment on attachment 8679325 [details]
[gaia] Phoxygen:bug1212329-system_lockscreen_notification > mozilla-b2g:master
Ditto Etienne, I can't see any changes to the dialer part so you can carry my r+.
Attachment #8679325 -
Flags: review?(gsvelto)
Assignee | ||
Comment 25•9 years ago
|
||
Etienne, yes, to notifications in the drawer and toaster. Is it your part?
Flags: needinfo?(etienne)
Assignee | ||
Comment 26•9 years ago
|
||
Apparently I'm breaking some marionette tests. I'm updating.
Comment 28•9 years ago
|
||
(In reply to Augustin Trancart [:autra] from comment #25)
> Etienne, yes, to notifications in the drawer and toaster. Is it your part?
Yes!
But frankly I'm getting lost, 2 commits on the PR, some changes partially reverted between the 2 etc...
Can we keep this bug for the lockscreen-related changes and make a proper PR for the utility tray part?
Flags: needinfo?(etienne)
Comment 29•9 years ago
|
||
(In reply to Etienne Segonzac (:etienne) AFK on October 21 and 26 from comment #28)
> (In reply to Augustin Trancart [:autra] from comment #25)
> > Etienne, yes, to notifications in the drawer and toaster. Is it your part?
>
> Yes!
> But frankly I'm getting lost, 2 commits on the PR, some changes partially
> reverted between the 2 etc...
> Can we keep this bug for the lockscreen-related changes and make a proper PR
> for the utility tray part?
Well I think to split it is a good way to keep tracking and reviewing (and if it unfortunately need to be backed out). Although the review will be still good with a correct visual.
Comment 30•9 years ago
|
||
Assignee | ||
Updated•9 years ago
|
Attachment #8672656 -
Attachment is obsolete: true
Assignee | ||
Updated•9 years ago
|
Attachment #8679325 -
Attachment is obsolete: true
Attachment #8679325 -
Flags: review?(gweng)
Assignee | ||
Comment 31•9 years ago
|
||
Comment on attachment 8680600 [details]
[gaia] Phoxygen:bug1212329-system_lockscreen_rtl > mozilla-b2g:master
Hi Gabriel, Greg
THe notification work has already landed in another PR. This one is only about lockscreen and callscreen. I preferred keep them together as it is stated they should be in sync.
From the original commit, I just replaced a dir="ltr" with a direction: ltr in the css.
Please R?
Attachment #8680600 -
Flags: review?(gweng)
Attachment #8680600 -
Flags: review?(gsvelto)
Updated•9 years ago
|
Attachment #8680600 -
Flags: review?(gsvelto) → review+
Comment 32•9 years ago
|
||
Comment on attachment 8680600 [details]
[gaia] Phoxygen:bug1212329-system_lockscreen_rtl > mozilla-b2g:master
I'm taking over snowmantw's review in the interest of time. I applied this and started looking at the lockscreen in RTL.
* An SMS notification on the lockscreen shows the '+' on the right of the sender number in RTL. I think this should be on the left?
* The controls for the music player on the lockscreen are flipped in RTL and shouldn't be.
* Also, looking at the callscreen itself, the toolbar buttons have not been reversed per the spec?
Attachment #8680600 -
Flags: review?(gweng) → review-
Comment 33•9 years ago
|
||
The music controls are flipped in RTL and shouldnt be.
Assignee | ||
Comment 34•9 years ago
|
||
(In reply to Sam Foster [:sfoster] from comment #32)
> Comment on attachment 8680600 [details]
> [gaia] Phoxygen:bug1212329-system_lockscreen_rtl > mozilla-b2g:master
>
> I'm taking over snowmantw's review in the interest of time. I applied this
> and started looking at the lockscreen in RTL.
>
> * An SMS notification on the lockscreen shows the '+' on the right of the
> sender number in RTL. I think this should be on the left?
Indeed, and it only occurs when you have one sim card :-)
Filled bug 1220282 (seems to be a sms issue for me)
>
> * The controls for the music player on the lockscreen are flipped in RTL and
> shouldn't be.
Indeed. I'm uploading a fix in a moment.
> * Also, looking at the callscreen itself, the toolbar buttons have not been
> reversed per the spec?
That's a bug! As this bug is only for the lockscreen part of the callscreen, I filled bug 1220285.
Assignee | ||
Comment 35•9 years ago
|
||
Comment on attachment 8680600 [details]
[gaia] Phoxygen:bug1212329-system_lockscreen_rtl > mozilla-b2g:master
Another try!
Sam, please r?
Attachment #8680600 -
Flags: review- → review?(sfoster)
Comment 36•9 years ago
|
||
Comment on attachment 8680600 [details]
[gaia] Phoxygen:bug1212329-system_lockscreen_rtl > mozilla-b2g:master
Better! thanks for filing those follow-ups.
Attachment #8680600 -
Flags: review?(sfoster) → review+
Comment 37•9 years ago
|
||
(In reply to Augustin Trancart [:autra] from comment #35)
> Comment on attachment 8680600 [details]
> [gaia] Phoxygen:bug1212329-system_lockscreen_rtl > mozilla-b2g:master
>
> Another try!
Looks like tests are green so land at will once you've flatten the PR into one commit.
Assignee | ||
Updated•9 years ago
|
Keywords: checkin-needed
Comment 38•9 years ago
|
||
Status: REOPENED → RESOLVED
Closed: 9 years ago → 9 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: FxOS-S10 (30Oct) → FxOS-S11 (13Nov)
Assignee | ||
Comment 39•9 years ago
|
||
Comment on attachment 8680600 [details]
[gaia] Phoxygen:bug1212329-system_lockscreen_rtl > mozilla-b2g:master
[Approval Request Comment]
[Bug caused by] (feature/regressing bug #): none
[User impact] if declined: Lockscreen will be broken in RTL
[Testing completed]: on flame master
[Risk to taking this patch] (and alternatives if risky): Medium, as it is quite a big patch. A complete testing have been made to mitigate this. There is no alternative if we want to support RTL.
[String changes made]: none
Attachment #8680600 -
Flags: approval-gaia-v2.5?
Assignee | ||
Comment 40•9 years ago
|
||
Comment on attachment 8680600 [details]
[gaia] Phoxygen:bug1212329-system_lockscreen_rtl > mozilla-b2g:master
Clearing uplift, as this is already in 2.5
Attachment #8680600 -
Flags: approval-gaia-v2.5?
You need to log in
before you can comment on or make changes to this bug.
Description
•