Closed
Bug 1027057
Opened 10 years ago
Closed 10 years ago
Panel animations have wrong anchor in RTL mode
Categories
(Firefox :: Toolbars and Customization, defect)
Tracking
()
People
(Reporter: phlsa, Assigned: enndeakin)
References
Details
Attachments
(3 files)
4.51 KB,
patch
|
dao
:
review+
|
Details | Diff | Splinter Review |
2.70 KB,
patch
|
neil
:
review+
|
Details | Diff | Splinter Review |
612 bytes,
patch
|
dao
:
review+
|
Details | Diff | Splinter Review |
When using RTL mode, the new arrowpanel animations have their origin on the wrong side.
Flags: firefox-backlog+
Assignee | ||
Comment 1•10 years ago
|
||
This is fairly simple. We just need to flip the transform-origins in rtl mode.
Assignee | ||
Updated•10 years ago
|
Assignee: nobody → enndeakin
Updated•10 years ago
|
Flags: needinfo?(mmucci)
Whiteboard: p=2 s=33.1
Assignee | ||
Comment 2•10 years ago
|
||
Comment 3•10 years ago
|
||
Added to Iteration 33.1 Neil, would you recommend this bug as [qa+] or [qa-] for verification?
Status: NEW → ASSIGNED
Flags: needinfo?(mmucci)
Whiteboard: p=2 s=33.1 → p=2 s=33.1 [qa?]
Assignee | ||
Updated•10 years ago
|
Attachment #8442946 -
Flags: review?(dao)
Assignee | ||
Updated•10 years ago
|
Whiteboard: p=2 s=33.1 [qa?] → p=2 s=33.1 [qa+]
Updated•10 years ago
|
Iteration: --- → 33.2
Points: --- → 2
QA Whiteboard: [qa+]
Whiteboard: p=2 s=33.1 [qa+]
Comment 4•10 years ago
|
||
Comment on attachment 8442946 [details] [diff] [review] Add rtl mode transform-origins >--- a/toolkit/content/xul.css >+++ b/toolkit/content/xul.css >+panel[arrowposition="start_before"]:-moz-locale-dir(ltr) { > transform-origin: right 20px; > } >+panel[arrowposition="end_before"]:-moz-locale-dir(rtl) { >+ transform-origin: right 20px; >+} >+panel[arrowposition="start_after"]:-moz-locale-dir(ltr) { > transform-origin: right calc(100% - 20px); > } >+panel[arrowposition="end_after"]:-moz-locale-dir(rtl) { >+ transform-origin: right calc(100% - 20px); > } >+panel[arrowposition="end_before"]:-moz-locale-dir(ltr) { > transform-origin: left 20px; > } >+panel[arrowposition="start_before"]:-moz-locale-dir(rtl) { >+ transform-origin: left 20px; > } >+panel[arrowposition="end_after"]:-moz-locale-dir(ltr) { > transform-origin: left calc(100% - 20px); > } >+panel[arrowposition="start_after"]:-moz-locale-dir(rtl) { >+ transform-origin: left calc(100% - 20px); >+} These rules should be merged in pairs of two. (I reordered them to make my point.)
Attachment #8442946 -
Flags: review?(dao) → review+
Assignee | ||
Comment 5•10 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/ed7a9a1038c5
Comment 6•10 years ago
|
||
Backed out for being the likely cause of Windows mochitest-5 permafail. https://hg.mozilla.org/integration/mozilla-inbound/rev/8643f8fb07a2 https://tbpl.mozilla.org/php/getParsedLog.php?id=42375547&tree=Mozilla-Inbound
Assignee | ||
Comment 7•10 years ago
|
||
The change here for some reason changed the transition detection so a popup from an earlier test doesn't close properly. Fortunately, we have a proper way to detect whether a transition exists now. This patch just changes to use nsLayoutUtils::HasCurrentAnimations after a flush. The conditions are moved around to ensure that the flush is done is less circumstances.
Attachment #8442946 -
Attachment is obsolete: true
Attachment #8447688 -
Flags: review?(neil)
Assignee | ||
Comment 8•10 years ago
|
||
Try build now passes: https://tbpl.mozilla.org/?tree=Try&rev=b2b958947fa3
Updated•10 years ago
|
Iteration: 33.2 → 33.3
Assignee | ||
Comment 9•10 years ago
|
||
Comment on attachment 8447688 [details] [diff] [review] Fix transition handling Maybe someone else can review.
Attachment #8447688 -
Flags: review?(mstange)
Comment 10•10 years ago
|
||
Comment on attachment 8447688 [details] [diff] [review] Fix transition handling I'm starting to catch up with reviews; sorry for the delay. The patch context is sadly insufficient to include the start of the comment, where you assume that it has a closing transition. Now that you're actually checking rather than assuming, it would be nice of the comment could be fixed too :-)
Attachment #8447688 -
Flags: review?(neil) → review+
Assignee | ||
Updated•10 years ago
|
Attachment #8447688 -
Flags: review?(mstange)
Assignee | ||
Updated•10 years ago
|
Attachment #8442946 -
Attachment is obsolete: false
Assignee | ||
Comment 11•10 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/1080f2330d51 https://hg.mozilla.org/integration/mozilla-inbound/rev/c93d64f6a76a
Comment 12•10 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/1080f2330d51 https://hg.mozilla.org/mozilla-central/rev/c93d64f6a76a
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 33
Comment 13•10 years ago
|
||
Hi Florin, can a QA contact be assigned to this bug for verification.
Flags: needinfo?(florin.mezei)
Updated•10 years ago
|
Flags: needinfo?(florin.mezei)
QA Contact: cornel.ionce
Comment 14•10 years ago
|
||
I don't understand why this is being fixed while same issue reported for regular Firefox browser with menu button on the left side was marked as wontfix. https://bugzilla.mozilla.org/show_bug.cgi?id=1032186
Assignee | ||
Comment 15•10 years ago
|
||
This bug affects people using the default build. That other bug does not. That said, I think bug 1032186 would be fixed by 974389.
Comment 16•10 years ago
|
||
Hi Cornel, following up to see if this bug can be verified by Monday which is the end of the Desktop iteration.
Flags: needinfo?(cornel.ionce)
Comment 17•10 years ago
|
||
Thested on latest Firefox Nightly 33.0a1, build ID: 20140716030202 using the RTL builds (Ar, Fa, He, Ug and Ur) on the following OSs: 1. Windows 7 64bit - Mozilla/5.0 (Windows NT 6.1; WOW64; rv:33.0) Gecko/20100101 Firefox/33.0 2. Ubuntu 14.04 32bit - Mozilla/5.0 (X11; Linux i686; rv:33.0) Gecko/20100101 Firefox/33.0 3. Mac OS X 10.9.4 - Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:33.0) Gecko/20100101 Firefox/33.0 The arrow-panel animations have their origin on their right side. Marking issue verified.
Status: RESOLVED → VERIFIED
QA Whiteboard: [qa+] → [qa!]
Flags: needinfo?(cornel.ionce)
Assignee | ||
Comment 18•10 years ago
|
||
Philipp found an issue here where the closing animation isn't correct from what it used to be. It shouldn't resize closed. He tested this patch and is ok with the result.
Attachment #8458728 -
Flags: review?(dao)
Updated•10 years ago
|
Attachment #8458728 -
Flags: review?(dao) → review+
Assignee | ||
Comment 19•10 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/d323591130d0
Assignee | ||
Comment 20•10 years ago
|
||
This fixes up the comment as indicated by comment 10. https://hg.mozilla.org/integration/mozilla-inbound/rev/7c9ad40d8183
https://hg.mozilla.org/mozilla-central/rev/d323591130d0 https://hg.mozilla.org/mozilla-central/rev/7c9ad40d8183
You need to log in
before you can comment on or make changes to this bug.
Description
•