Closed
Bug 1357061
Opened 8 years ago
Closed 8 years ago
0.98ms uninterruptible reflow caused by underflow event at get_scrollClientRect@chrome://global/content/bindings/scrollbox.xml:131:18
Categories
(Firefox :: Tabbed Browser, defect, P1)
Firefox
Tabbed Browser
Tracking
()
People
(Reporter: florian, Assigned: florian)
References
(Blocks 1 open bug)
Details
(Whiteboard: [ohnoreflow][photon-performance][qa-commented])
Attachments
(1 file)
1.27 KB,
patch
|
dao
:
review+
|
Details | Diff | Splinter Review |
Here's the stack:
get_scrollClientRect@chrome://global/content/bindings/scrollbox.xml:131:18
ensureElementIsVisible@chrome://global/content/bindings/scrollbox.xml:241:15
onxblunderflow@chrome://global/content/bindings/scrollbox.xml:765:13
This happens when increasing the width of a browser window. I don't understand how this action could cause the current tab to become invisible, because if there's no overflow anymore, all tabs are visible, right?
The relevant code is at http://searchfox.org/mozilla-central/rev/a7334b2896ed720fba25800e11e24952e6037d77/toolkit/content/widgets/scrollbox.xml#762
Updated•8 years ago
|
Flags: qe-verify?
Priority: -- → P2
Assignee | ||
Comment 1•8 years ago
|
||
Can we just remove these lines? http://searchfox.org/mozilla-central/rev/a7334b2896ed720fba25800e11e24952e6037d77/toolkit/content/widgets/scrollbox.xml#762-764
Flags: needinfo?(dao+bmo)
Comment 2•8 years ago
|
||
Not sure. This could be a workaround for weird layout behavior like http://searchfox.org/mozilla-central/rev/214345204f1e7d97abb571b7992b6deedb5ff98f/browser/base/content/tabbrowser.xml#5945-5953
Depends on: 1356705
Flags: needinfo?(dao+bmo)
Assignee | ||
Comment 3•8 years ago
|
||
So should we just try and ask QA to verify with some exploratory testing? Or is bug 1356705 going to fix this?
Comment 4•8 years ago
|
||
(In reply to Florian Quèze [:florian] [:flo] from comment #3)
> So should we just try and ask QA to verify with some exploratory testing?
Fine by me.
> Or is bug 1356705 going to fix this?
Given the current WIP patch, it would remove the layout flush, but leave behind this potentially useless code.
Assignee | ||
Comment 5•8 years ago
|
||
Attachment #8859596 -
Flags: review?(dao+bmo)
Assignee | ||
Updated•8 years ago
|
Assignee: nobody → florian
Status: NEW → ASSIGNED
Assignee | ||
Updated•8 years ago
|
Flags: qe-verify? → qe-verify+
Updated•8 years ago
|
Attachment #8859596 -
Flags: review?(dao+bmo) → review+
Updated•8 years ago
|
Iteration: --- → 55.4 - May 1
Priority: P2 → P1
Updated•8 years ago
|
QA Contact: adrian.florinescu
Pushed by florian@queze.net:
https://hg.mozilla.org/integration/mozilla-inbound/rev/3e59d06de614
remove potentially useless ensureElementIsVisible call (that currently causes a sync reflow) when an arrowscrollbox handles an underflow event, r=dao.
Comment 7•8 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
status-firefox55:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 55
Assignee | ||
Updated•8 years ago
|
No longer blocks: photon-performance-triage
Assignee | ||
Updated•8 years ago
|
Blocks: photon-performance-triage
Assignee | ||
Comment 8•7 years ago
|
||
We requested QA here because we don't really know what the lines we removed here were doing. It's code related to one (or more?) tab(s) making us leave the overflow mode on the tab bar.
Assignee | ||
Updated•7 years ago
|
Whiteboard: [ohnoreflow][qf][photon-performance] → [ohnoreflow][qf][photon-performance][qa-commented]
Comment 9•7 years ago
|
||
Removing the qe+ flag from this issue since the change is from 55 iteration + the areas that might've presented regressions have been already covered in different bug verification or exploratory/regression testing.
Flags: qe-verify+
Updated•7 years ago
|
Flags: qe-verify-
Updated•3 years ago
|
Performance Impact: --- → ?
Whiteboard: [ohnoreflow][qf][photon-performance][qa-commented] → [ohnoreflow][photon-performance][qa-commented]
You need to log in
before you can comment on or make changes to this bug.
Description
•