Closed
Bug 940251
Opened 11 years ago
Closed 11 years ago
Back button points in the wrong direction on RTL UI
Categories
(Firefox :: Toolbars and Customization, defect)
Firefox
Toolbars and Customization
Tracking
()
RESOLVED
FIXED
Firefox 28
People
(Reporter: smontagu, Assigned: mikedeboer)
References
(Blocks 1 open bug)
Details
(Keywords: rtl, Whiteboard: [Australis:P1])
Attachments
(3 files, 3 obsolete files)
In RTL UI the back and forward buttons should point in the opposite direction: back to the right and forward to the left.
In today's build on OSX the forward button still points to the left, but the back button is reversed and also points to the left.
Reporter | ||
Updated•11 years ago
|
Summary: Back button point in the wrong direction on RTL UI → Back button points in the wrong direction on RTL UI
Updated•11 years ago
|
Blocks: australis-merge, australis-cust
Whiteboard: [Australis:P1]
Assignee | ||
Updated•11 years ago
|
Updated•11 years ago
|
Assignee | ||
Comment 1•11 years ago
|
||
Assignee | ||
Comment 2•11 years ago
|
||
Simon, please see the attachment from comment 1.
I think this looks OK to me and fits the expected result you described in comment 0. In other words, I'm not able to reproduce the issue!
Can you post a screenshot perhaps?
Flags: needinfo?(smontagu)
Assignee | ||
Comment 3•11 years ago
|
||
You filed this as an OSX bug, perhaps you noticed this on another OS?
Reporter | ||
Comment 4•11 years ago
|
||
Flags: needinfo?(smontagu)
Reporter | ||
Comment 5•11 years ago
|
||
"OSX" is intentional, I see this there but not on Linux or Windows
Updated•11 years ago
|
Summary: Back button points in the wrong direction on RTL UI → Back button points in the wrong direction on RTL UI with lightweight theme applied
Reporter | ||
Comment 6•11 years ago
|
||
On clean profile without the themed header, and also showing the title bar buttons on the right.
Assignee | ||
Updated•11 years ago
|
Summary: Back button points in the wrong direction on RTL UI with lightweight theme applied → Back button points in the wrong direction on RTL UI
Assignee | ||
Comment 7•11 years ago
|
||
Moved RTL styling out of toolbarbuttons.inc.css, because it doesn't really belong there and we need to maintain the Windows theme exception.
Attachment #8335260 -
Attachment is obsolete: true
Attachment #8335343 -
Flags: review?(dao)
Assignee | ||
Updated•11 years ago
|
Attachment #8335343 -
Attachment description: bug-940251-backButtonRTLlodpi.patch → Patch 1: fix back-button arrow direction in RTL mode on non-retina displays
Comment 8•11 years ago
|
||
Comment on attachment 8335343 [details] [diff] [review]
Patch 1: fix back-button arrow direction in RTL mode on non-retina displays
>--- a/browser/themes/linux/browser.css
>+++ b/browser/themes/linux/browser.css
>+#back-button:-moz-locale-dir(rtl),
>+#forward-button:-moz-locale-dir(rtl) {
>+ transform: scaleX(-1);
>+}
I think the button shape is symmetric, so it probably doesn't matter, but wouldn't it be safer to mirror only the icon rather than the whole button?
Assignee | ||
Comment 9•11 years ago
|
||
(In reply to Dão Gottwald [:dao] from comment #8)
> I think the button shape is symmetric, so it probably doesn't matter, but
> wouldn't it be safer to mirror only the icon rather than the whole button?
Indeed, the button shape is symmetric. If I scale only the icon - like we do in the Windows theme - on Linux and OSX, the arrow icon seems to visually creep toward an edge. So I opted for the most visually appealing version.
Comment 10•11 years ago
|
||
(In reply to Mike de Boer [:mikedeboer] from comment #9)
> (In reply to Dão Gottwald [:dao] from comment #8)
> > I think the button shape is symmetric, so it probably doesn't matter, but
> > wouldn't it be safer to mirror only the icon rather than the whole button?
>
> Indeed, the button shape is symmetric. If I scale only the icon - like we do
> in the Windows theme - on Linux and OSX, the arrow icon seems to visually
> creep toward an edge.
I don't understand why this would happen. Is there an asymmetrical horizontal padding around the icon or something?
Assignee | ||
Comment 11•11 years ago
|
||
On Windows we indeed have asymmetric horizontal padding. This was introduced by Jared in
http://hg.mozilla.org/mozilla-central/annotate/b3a5e2a65d1f/browser/themes/windows/browser.css#l574 (bug 571454).
You can see it in its current state at:
http://hg.mozilla.org/mozilla-central/annotate/1e3712793e7d/browser/themes/windows/browser.css#l636
So what do you think we should do about this? Keep the exception for Windows and accept this patch or do you know of a solution that'd obsolete the asymmetric padding whilst maintaining the desired behavior from bug 571454?
Flags: needinfo?(dao)
Assignee | ||
Updated•11 years ago
|
OS: Mac OS X → All
Hardware: x86 → All
Comment 12•11 years ago
|
||
(In reply to Mike de Boer [:mikedeboer] from comment #11)
> On Windows we indeed have asymmetric horizontal padding. This was introduced
> by Jared in
> http://hg.mozilla.org/mozilla-central/annotate/b3a5e2a65d1f/browser/themes/
> windows/browser.css#l574 (bug 571454).
Why is that relevant? I was referring to Linux in comment 8 and you were talking about Linux and OS X in comment 9.
Flags: needinfo?(dao)
Assignee | ||
Comment 13•11 years ago
|
||
Dão, apology for the miscommunication here, I was out of it the past couple of days.
You're right, Linux theme rule can be more specific. I can also make it more specific for the forward button. I'll do that, if you think that's a good idea.
Attachment #8335343 -
Attachment is obsolete: true
Attachment #8335343 -
Flags: review?(dao)
Attachment #8342328 -
Flags: review?(dao)
Comment 14•11 years ago
|
||
(In reply to Mike de Boer [:mikedeboer] from comment #13)
> I can also make it more
> specific for the forward button. I'll do that, if you think that's a good
> idea.
yep
Assignee | ||
Comment 15•11 years ago
|
||
Attachment #8342328 -
Attachment is obsolete: true
Attachment #8342328 -
Flags: review?(dao)
Attachment #8342335 -
Flags: review?(dao)
Updated•11 years ago
|
Attachment #8342335 -
Flags: review?(dao) → review+
Assignee | ||
Comment 16•11 years ago
|
||
Whiteboard: [Australis:P1] → [Australis:P1][fixed-in-fx-team]
Comment 17•11 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Whiteboard: [Australis:P1][fixed-in-fx-team] → [Australis:P1]
Target Milestone: --- → Firefox 28
You need to log in
before you can comment on or make changes to this bug.
Description
•