Closed
Bug 682741
Opened 13 years ago
Closed 9 years ago
version number in the about box is not properly aligned in a right-to-left language
Categories
(Firefox :: Menus, defect)
Firefox
Menus
Tracking
()
VERIFIED
FIXED
Firefox 45
Tracking | Status | |
---|---|---|
firefox45 | --- | verified |
People
(Reporter: amir.aharoni, Assigned: aryx)
References
Details
Attachments
(4 files, 1 obsolete file)
217.71 KB,
image/png
|
Details | |
875 bytes,
patch
|
Details | Diff | Splinter Review | |
160.85 KB,
image/png
|
Details | |
895 bytes,
patch
|
Gijs
:
review+
|
Details | Diff | Splinter Review |
User Agent: Mozilla/5.0 (Windows NT 5.1; rv:8.0a2) Gecko/20110828 Firefox/8.0a2
Build ID: 20110828042010
Steps to reproduce:
Used the Hebrew localized version of Firefox (Aurora), pressed Help->About, and looked at the About box.
Actual results:
The version number didn't appear correctly aligned. The closing parenthesis appeared on the wrong side, because it was defined as right-to-left.
Expected results:
The version number line should have been defined as left-to-right so that the closing parenthesis would appear at the correct end.
Comment 1•13 years ago
|
||
On the other hand, one might wonder exactly what the point of these parenthesis are in the first place.
Comment 2•13 years ago
|
||
I reproduced this with Force RTL.
![]() |
Assignee | |
Comment 3•9 years ago
|
||
Hi Ahmed, what's the expected format of the string with the build date here in RTL (or should it depend on the language) and how should the final string look like? At the moment, "(2015-11-04) 45.0a1" is what I use in my patch.
Assignee: nobody → aryx.bugmail
Status: NEW → ASSIGNED
Flags: needinfo?(nefzaoui)
OS: Windows XP → All
Hardware: x86 → All
Version: 8 Branch → Trunk
Comment 4•9 years ago
|
||
(In reply to Sebastian H. [:aryx][:archaeopteryx] from comment #3)
> Hi Ahmed, what's the expected format of the string with the build date here
> in RTL (or should it depend on the language) and how should the final string
> look like? At the moment, "(2015-11-04) 45.0a1" is what I use in my patch.
Given the Aurora logo is written in latin, I would suggest to force-LTR the version+builddate string so if it initially is
45.0a1 (2015-11-04) in LTR it should look the same in RTL. The reason for that is because we're in a non-RTL context so the user will continue reading what's after the logo the same way the read "Aurora", i.e. in LTR.
Moreover and more importantly, numbers are always read and written left-to-right in RTL environments.
So in short, I suggest the sequence of version + (build date) should stay LTR.
Thanks!
Blocks: firefox-rtl
Flags: needinfo?(nefzaoui)
Comment 5•9 years ago
|
||
chrome://browser/content/aboutDialog.xul - It's #version that has to be hardcoded for LTR. Please keep in mind that changing its direction does also change the paragraph alignment, so the version string won't be displayed below the wordmark (chrome://branding/content/about-wordmark.svg), and I suggest making sure that the version would be just below the wordmark.
![]() |
Assignee | |
Comment 6•9 years ago
|
||
Attachment #8683660 -
Flags: review?(gijskruitbosch+bugs)
![]() |
Assignee | |
Comment 7•9 years ago
|
||
Comment 8•9 years ago
|
||
Comment on attachment 8683660 [details] [diff] [review]
fx-682741-aboutDialogRtlVersion-v1.patch
Review of attachment 8683660 [details] [diff] [review]:
-----------------------------------------------------------------
The screenshot looks like there's still margin on the element which means the right-hand-side doesn't quite line up with the other elements. Does margin-right: 0; fix that? (or padding-right; or more generally: can we fix that while we're here? :-) )
Attachment #8683660 -
Flags: review?(gijskruitbosch+bugs)
![]() |
Assignee | |
Comment 9•9 years ago
|
||
Attachment #8683661 -
Attachment is obsolete: true
![]() |
Assignee | |
Comment 10•9 years ago
|
||
Now uses margin-right: 0; to align the text.
Attachment #8683705 -
Flags: review?(gijskruitbosch+bugs)
Comment 11•9 years ago
|
||
Comment on attachment 8683705 [details] [diff] [review]
fx-682741-aboutDialogRtlVersion-v2.patch
Review of attachment 8683705 [details] [diff] [review]:
-----------------------------------------------------------------
Looks good!
r=me
Attachment #8683705 -
Flags: review?(gijskruitbosch+bugs) → review+
Comment 13•9 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
status-firefox45:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 45
Comment 14•9 years ago
|
||
Confirming the fix using the Hebrew locale and the en-US one by creating a "intl.uidirection.en" and setting it's value to rtl.
Verified with latest Nightly, build ID: 20151120030227 on Windows 10 x64, Mac OS X 10.9.5 and Ubuntu 12.04 x86..
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•