Closed
Bug 1083518
Opened 11 years ago
Closed 10 years ago
[RTL][Web Notifications API] Setting title direction & body direction to rtl does not show the notification in right to left orientation
Categories
(Firefox OS Graveyard :: Gaia::System, defect)
Tracking
(b2g-v2.0 unaffected, b2g-v2.1 affected, b2g-v2.2 affected, b2g-v2.5 affected, b2g-master affected)
RESOLVED
INVALID
| Tracking | Status | |
|---|---|---|
| b2g-v2.0 | --- | unaffected |
| b2g-v2.1 | --- | affected |
| b2g-v2.2 | --- | affected |
| b2g-v2.5 | --- | affected |
| b2g-master | --- | affected |
People
(Reporter: ychung, Unassigned)
References
Details
(Keywords: regression, Whiteboard: [2.1-flame-test-run-3][systemsfe][2.2-flame-reduced-run][2.5-rtl-test-run])
Attachments
(5 files)
Description:
When the user tries to show a notification with dir set to rtl with a valid title and body, the actual notification text is not shown in right-to-left orientation.
Repro Steps:
1) Update a Flame device to BuildID: 20141015001201.
2) Go to http://mozilla.github.io/qa-testcase-data/webapi/notifications/index.html.
3) Get permission by selecting "Request" under "Request Permission".
4) Under "Show Notification", Enter valid title and body, and set "Dir" as "rtl".
5) Select "Show Notification".
Actual:
The text on the notification is shown in left-to-right orientation.
Expected:
The text is shown in right-to-left orientation.
Note:
The text is shown correctly in right-to-left orientation on utility tray.
Environmental Variables:
Device: Flame 2.1
BuildID: 20141015001201
Gaia: 379ea4c9dd6d3f8ca2f79ce59c15f6afe6e557c3
Gecko: 4853208cb48a
Gonk: 52c909e821d107d414f851e267dedcd7aae2cebf
Version: 34.0 (2.1)
Firmware: V180
User Agent: Mozilla/5.0 (Mobile; rv:34.0) Gecko/34.0 Firefox/34.0
Repro frequency: 100%
Link to failed test case: https://moztrap.mozilla.org/manage/case/9941/
See attached: logcat, screenshot
| Reporter | ||
Comment 1•11 years ago
|
||
This issue also reproduces on flame 2.2:
Flame 2.2
Device: Flame 2.2 Master KK (319mb) (Full Flash)
Build ID: 20141015040201
Gaia: 5f1f0960ae9d22acf2a324ad37a48174d6df87f6
Gecko: 62f0b771583c
Gonk: 52c909e821d107d414f851e267dedcd7aae2cebf
Version: 36.0a1 (Master)
Firmware Version: v180
User Agent: Mozilla/5.0 (Mobile; rv:36.0) Gecko/36.0 Firefox/36.0
The text is shown in right-to-left orientation when the direction is set to rtl.
=============================================
This issue does NOT reproduce on flame 2.0:
Flame 2.0
Environmental Variables:
Device: Flame 2.0 KK (319mb) (Full Flash)
Build ID: 20141015000206
Gaia: c6c6116ca225c2c934220ae6867e5a3256d65e00
Gecko: 24a2aa6bf1c4
Gonk: 52c909e821d107d414f851e267dedcd7aae2cebf
Version: 32.0 (2.0)
Firmware Version: v180
User Agent: Mozilla/5.0 (Mobile; rv:32.0) Gecko/32.0 Firefox/32.0
The text on the notification is shown in left-to-right orientation correctly.
QA Whiteboard: [QAnalyst-Triage?]
Flags: needinfo?(dharris)
| Reporter | ||
Comment 2•11 years ago
|
||
Not nominating this as a blocker, minor ui issue
QA Whiteboard: [QAnalyst-Triage?] → [QAnalyst-Triage+]
Flags: needinfo?(dharris)
| Reporter | ||
Updated•11 years ago
|
QA Whiteboard: [QAnalyst-Triage+] → [QAnalyst-Triage?]
Flags: needinfo?(dharris)
Whiteboard: [2.1-flame-test-run-3][systemsfe] → [2.1-flame-test-run-3][systemsfe][2.2-flame-reduced-run]
| Reporter | ||
Updated•11 years ago
|
OS: Linux → Gonk (Firefox OS)
Hardware: x86 → ARM
Updated•11 years ago
|
QA Whiteboard: [QAnalyst-Triage?] → [QAnalyst-Triage+]
Flags: needinfo?(dharris)
Updated•11 years ago
|
Summary: [Web Notifications API] Setting title direction & body direction to rtl does not show the notification in right to left orientation → [RTL][Web Notifications API] Setting title direction & body direction to rtl does not show the notification in right to left orientation
Comment 5•11 years ago
|
||
Hi Derek,
This Problem can be reproduced on latest build of Flame 2.2/3.0, N5 2.2/3.0
The text on the notification is shown in left-to-right orientation.
The difference is that while we open utility tray, the text is also shown in left-to-right orientation. Could help to check this issue agian?
See attachment: New.png
Rate: 5/5
Device information:
Flame 2.2 Build ID: 20150527002504
Flame 3.0 Build ID: 20150527160204
Nexus5 2.2 Build ID: 20150527002504
Nexus5 3.0 Build ID: 20150527160204
Flags: needinfo?(dharris)
Comment 6•11 years ago
|
||
Hey Alissa, I cant seem to get http://mozilla.github.io/qa-testcase-data/webapi/notifications/index.html to work. I keep seeing an error page. I am unable to test this right now, unless there is a different website you were using?
Flags: needinfo?(dharris) → needinfo?(huayu.li)
Comment 8•11 years ago
|
||
(In reply to Derek Harris [:DerekH] from comment #7)
> Hey Alissa, I cant seem to get
> http://mozilla.github.io/qa-testcase-data/webapi/notifications/index.html to
> work. I keep seeing an error page. I am unable to test this right now,
> unless there is a different website you were using?
Hi Derek, please try this link: http://mozqa.com/qa-testcase-data/webapi/notifications/index.html
Flags: needinfo?(huayu.li)
Thanks for the site link! Yes I am seeing the same results you are showing in the picture you attatched, as well as what you stated in comment 5.
I am also able to rproduce 10/10 on Flame 3.0
Environmental Variables:
Device: Flame 3.0 (319mb)(Kitkat)(Full Flash)
Build ID: 20150529010201
Gaia: e7d268074ee3c9eeb191c2205c0e35992fb3915d
Gecko: f986e55c4e0b
Gonk: 040bb1e9ac8a5b6dd756fdd696aa37a8868b5c67
Version: 41.0a1 (3.0)
Firmware Version: v18D-1
User Agent: Mozilla/5.0 (Mobile; rv:41.0) Gecko/41.0 Firefox/41.0
Comment 10•11 years ago
|
||
I am also able to reproduce this bug on latest Aries KK_v2.5,
STR:
Same as comment0.
Repro rate: 10/10.
Actural result:
The text on the notification is shown in left-to-right orientation.
See video:Aries_v2.5.3GP.
See log:logcat_2315.txt
Found time: 23:15
Device:Aries KK_v2.5(Affected):
Build ID 20150812230643
Gaia Revision 52f3ea58df38e5427f6afeb636bc6ad01d24022f
Gaia Date 2015-08-12 16:40:43
Gecko Revision https://hg.mozilla.org/mozilla-central/rev/7649ffe28b67aa2dad0f67ea01500c0ff91b2bac
Gecko Version 43.0a1
Device Name aries
Firmware(Release) 4.4.2
Firmware(Incremental) eng.worker.20150812.222959
Firmware Date Wed Aug 12 22:30:07 UTC 2015
Bootloader s1
Comment 11•11 years ago
|
||
QA Whiteboard: [QAnalyst-Triage+] → [QAnalyst-Triage+][MGSEI-Triage+][2.5-aries-test-run-1]
status-b2g-master:
--- → affected
Comment 12•10 years ago
|
||
This issue still can be reproduced on latest FlameKK v2.5&master, AriesKK master build by the STR in comment 0. ( Test link is "http://mozqa.com/qa-testcase-data/webapi/notifications/index.html")
Build info:
FlameKK v2.5(512mb)Build ID:20151103004501
FlameKK master(512mb)Build ID:0151103150203
AriesKK master Build ID:20151104004249
status-b2g-v2.5:
--- → affected
Whiteboard: [2.1-flame-test-run-3][systemsfe][2.2-flame-reduced-run] → [2.1-flame-test-run-3][systemsfe][2.2-flame-reduced-run][2.5-rtl-test-run]
Comment 13•10 years ago
|
||
Our specs say that alignment for items should be consistent, so for a LTR locale, a RTL-direction notification should still be aligned to the left margin. (and vice-versa for a LTR notification in a base RTL locale)
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•