Closed
Bug 785952
Opened 11 years ago
Closed 11 years ago
arrow panel issues with side arrows and RTL
Categories
(Toolkit :: General, defect)
Tracking
()
VERIFIED
FIXED
mozilla18
People
(Reporter: mixedpuppy, Assigned: mixedpuppy)
Details
(Whiteboard: [Fx17])
Attachments
(5 files, 1 obsolete file)
23.47 KB,
image/png
|
Details | |
55.71 KB,
image/png
|
Details | |
57.52 KB,
image/png
|
Details | |
59.67 KB,
image/png
|
Details | |
1.34 KB,
patch
|
enndeakin
:
review+
Gavin
:
approval-mozilla-aurora+
|
Details | Diff | Splinter Review |
This is actually a regular panel bug, but it affects social directly. I haven't seen any other panels in firefox that use side arrows. I'll attach images and a patch that I believe fixes the issue. 1. first open misplaces or doesn't show the arrow 2. using the force rtl addon, the arrow is on the wrong side
Assignee | ||
Comment 1•11 years ago
|
||
Assignee | ||
Comment 2•11 years ago
|
||
this shows the correct placement of the arrow happens for any opening after the first time.
Assignee | ||
Comment 3•11 years ago
|
||
showing misplacement of arrow image when LTR
Assignee | ||
Updated•11 years ago
|
Whiteboard: [Fx17]
Assignee | ||
Comment 4•11 years ago
|
||
fixes the position of the arrow for rtl
Updated•11 years ago
|
Component: SocialAPI → General
Product: Firefox → Toolkit
Summary: flyout panel arrow issues → arrow panel issues with side arrows and RTL
Assignee | ||
Comment 5•11 years ago
|
||
we open the side panel here: https://mxr.mozilla.org/mozilla-central/source/browser/base/content/browser-social.js#290 and the status panels are opened here: https://mxr.mozilla.org/mozilla-central/source/browser/base/content/browser-social.js#554 I have had this issue in entirely different code bases as well. For the initial open of a side panel, where the arrow is not shown at all, that is fixed if you set the side attribute on the arrowpanel element prior to opening the panel.
Assignee | ||
Comment 6•11 years ago
|
||
btw, the "firstopen-top.png" image only lined up with the search icon by coincidence, I am now having an issue reproducing that issue.
Comment 7•11 years ago
|
||
The patch here looks ok, although I would change it so as not to set the 'dir' attribute on 'container' twice.
> For the initial open of a side panel, where the arrow is not shown at all,
> that is fixed if you set the side attribute on the arrowpanel element prior
> to opening the panel.
Yes, that's a known issue as the side attribute defaults to 'top' and implies a vertical arrangement. Setting the side attribute is suitable here, although you should just set it in the markup.
Assignee | ||
Comment 8•11 years ago
|
||
Assignee: nobody → mixedpuppy
Attachment #655764 -
Attachment is obsolete: true
Attachment #656057 -
Flags: review?(gavin.sharp)
Updated•11 years ago
|
Attachment #656057 -
Flags: review?(gavin.sharp) → review?(enndeakin)
Updated•11 years ago
|
Attachment #656057 -
Flags: review?(enndeakin) → review+
Assignee | ||
Comment 9•11 years ago
|
||
try: https://tbpl.mozilla.org/?tree=Try&rev=7e45fdec7cf3
Assignee | ||
Updated•11 years ago
|
Keywords: checkin-needed
Comment 10•11 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/8c8d85acebce
Flags: in-testsuite-
Keywords: checkin-needed
Comment 11•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/8c8d85acebce
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla18
Comment 12•11 years ago
|
||
Comment on attachment 656057 [details] [diff] [review] arrow panel rtl patch [Triage Comment] This is a simple RTL fix that impacts bug 779923's functionality (new in 17), so let's get this on Aurora as well.
Attachment #656057 -
Flags: approval-mozilla-aurora+
Updated•11 years ago
|
tracking-firefox17:
--- → +
Updated•11 years ago
|
Keywords: checkin-needed
Comment 13•11 years ago
|
||
https://hg.mozilla.org/releases/mozilla-aurora/rev/1a15b9f66b41
status-firefox17:
--- → fixed
Keywords: checkin-needed
Comment 14•11 years ago
|
||
What are some RTL locales I can use to test this bug?
Comment 15•11 years ago
|
||
The three main rtl locales are arabic, hebrew and persian.
Comment 16•11 years ago
|
||
Verified fixed with the latest Firefox 17.0a2 and 18.0a1 arabic builds.
You need to log in
before you can comment on or make changes to this bug.
Description
•