Closed
Bug 1399909
Opened 6 years ago
Closed 6 years ago
Prevent markupview resize during inspector startup
Categories
(DevTools :: Inspector, enhancement, P3)
DevTools
Inspector
Tracking
(firefox57 fixed)
RESOLVED
FIXED
Firefox 57
Tracking | Status | |
---|---|---|
firefox57 | --- | fixed |
People
(Reporter: ochameau, Assigned: ochameau)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
Today, the inspector load is still a bit clunky. Things blink, resizes, ... The left panel of the inspector, containing its tabbar, the markup view and the breadcrumb starts loading with full panel width. Then, once the rule view (or any other sidebar tool) is ready, it is resized. We should prevent that to make the inspector load more natural. After this patch: * various parts of the inspector still load in parallel. We may try to display more things at once. Like waiting for markup view and rule view to be ready before displaying things? * the sidebar toggle button is still loaded very late and blinks * we briefly see toolbox background sometimes, that introduces a blink effect.
Comment hidden (mozreview-request) |
Comment 2•6 years ago
|
||
Just a note the sidebar toggle button is suppose to go away with the photon redesign in Bug 1396349. It was deemed too big of a change for 57 and will probably land afterwards.
Assignee | ||
Comment 3•6 years ago
|
||
Oh cool! Can't wait to be on 58 then!
Comment 4•6 years ago
|
||
mozreview-review |
Comment on attachment 8908204 [details] Bug 1399909 - Prevent the inspector resizing its left pane during load. https://reviewboard.mozilla.org/r/179868/#review185096 ::: devtools/client/shared/components/splitter/split-box.js:66 (Diff revision 1) > vert: this.props.vert, > width: this.props.initialWidth || this.props.initialSize, > height: this.props.initialHeight || this.props.initialSize > }; > }, > This should be moved after componentWillReceiveProps to make it flow with the natural React component lifecycle.
Attachment #8908204 -
Flags: review+
Updated•6 years ago
|
Attachment #8908204 -
Flags: review?(pbrosset)
Comment hidden (mozreview-request) |
Assignee | ||
Comment 6•6 years ago
|
||
Can't land because of this test failure: [task 2017-09-15T07:35:31.773783Z] 07:35:31 ERROR - 60 INFO TEST-UNEXPECTED-FAIL | devtools/client/netmonitor/test/browser_net_accessibility-01.js | The selected item in the requests menu was incorrect. - Got -1, expected 1 Would it be because of split-box change??
Assignee: nobody → poirot.alex
Updated•6 years ago
|
status-firefox57:
--- → fix-optional
Priority: -- → P3
Comment hidden (mozreview-request) |
Assignee | ||
Comment 8•6 years ago
|
||
It was the modification made to split-box.js I thought props would not change, but it does for this netmonitor test... Does shouldComponentUpdate still look good?
Flags: needinfo?(gl)
Comment 9•6 years ago
|
||
(In reply to Alexandre Poirot [:ochameau] from comment #8) > It was the modification made to split-box.js > I thought props would not change, but it does for this netmonitor test... > > Does shouldComponentUpdate still look good? Looks good.
Flags: needinfo?(gl)
Comment 10•6 years ago
|
||
Pushed by apoirot@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/930533fdd67d Prevent the inspector resizing its left pane during load. r=gl
Comment 11•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/930533fdd67d
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 57
Updated•5 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•