Open
Bug 1450728
Opened 8 years ago
Updated 3 years ago
[RTL] A download's date and host origin are mixed due to RTL issues
Categories
(Firefox :: Downloads Panel, defect, P3)
Firefox
Downloads Panel
Tracking
()
NEW
People
(Reporter: itiel_yn8, Unassigned)
Details
Attachments
(2 files)
See attached for examples.
For the 'Bad VS Good' screenshot, in English it'd look like this:
6.7MB – 16 – mercurial-scm.org February
which doesn't make any sense.
I can't seem to workaround it through changing translations.
I think this is due to this part:
https://dxr.mozilla.org/mozilla-central/source/browser/components/downloads/DownloadsViewUI.jsm#291
Firefox is separating the state, host and date without taking RTL languages into account.
As the "mercurial-scm.org" (as can be seen in the 'Bad VS Good' screenshot) is the dominant text, the "16 בפברואר" part gets LTR'd right afterwards. In the 'Good' part of the screenshot was made by manually inserting RLM marker after the host name.
In the second attachment instead of having:
data resource – 19:48
in fact it's:
resource 19:48 – data
And so on.
Updated•8 years ago
|
Flags: needinfo?(gandalf)
Comment 2•8 years ago
|
||
ehh, yeah, that could use some bidi isolation marks, Fluent here would be perfect but this seems like a non-trivial refactor to get it into DownloadUtils.
For now, we probably should just hardcode FSI/PDI around each component separately.
Flags: needinfo?(gandalf)
Updated•8 years ago
|
Priority: -- → P3
Updated•3 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•