Closed Bug 860175 Opened 12 years ago Closed 12 years ago

On netmonitor examining the specific details of a network action leads to bad overlapping display

Categories

(DevTools :: Netmonitor, defect, P1)

defect

Tracking

(Not tracked)

RESOLVED FIXED
Firefox 23

People

(Reporter: standard8, Assigned: vporof)

References

Details

Attachments

(2 files)

Having a narrow window and displaying the specific details of a network action leads to some really bad looking overlap and not being able to see all of the columns - see the attached screenshot.
Apparently this is a xul <toolbar> issue. Under very extreme conditions, the same thing happens in the inspector.
Priority: -- → P3
Attached patch v1Splinter Review
Assignee: nobody → vporof
Status: NEW → ASSIGNED
Attachment #738438 - Flags: review?(rcampbell)
Depends on: 862294
Ok, all of this overlapping is really awful, marking as P1.
Priority: P3 → P1
OS: Mac OS X → All
Blocks: 863172
Comment on attachment 738438 [details] [diff] [review] v1 Review of attachment 738438 [details] [diff] [review]: ----------------------------------------------------------------- I want to play with this to see what it looks like, but should be good. ::: browser/devtools/netmonitor/netmonitor-view.js @@ +603,5 @@ > + ]; > + > + // Flush headers. > + columns.forEach(([, attribute]) => table.removeAttribute(attribute)); > + let availableWidth = toolbar.getBoundingClientRect().width; curious if this causes any slowdown due to calculating frame offsets here. Any noticeable difference? ::: browser/devtools/netmonitor/netmonitor.xul @@ +45,5 @@ > <label id="requests-menu-waterfall-label" > class="plain requests-menu-header requests-menu-waterfall" > value="&netmonitorUI.toolbar.waterfall;" > crop="end"/> > + <spacer id="toolbar-spacer" flex="1"/> not a terribly specific id. Maybe netmonitor-toolbar-spacer? ::: browser/themes/linux/devtools/netmonitor.css @@ +92,5 @@ > font-weight: 600; > } > > .requests-menu-file { > + width: 18vw; are we using viewport percentages anywhere else in our css? That was a new one on me, I admit. how'd you come to 18 of them?
Attachment #738438 - Flags: review?(rcampbell) → feedback+
Comment on attachment 738438 [details] [diff] [review] v1 Review of attachment 738438 [details] [diff] [review]: ----------------------------------------------------------------- yeah, this works well!
Attachment #738438 - Flags: feedback+ → review+
(In reply to Rob Campbell [:rc] (:robcee) from comment #5) > > curious if this causes any slowdown due to calculating frame offsets here. > Any noticeable difference? > Not that I noticed. This doesn't really allow stuff to be painted, it's mostly just letting the layer know that hey, just calculate widths regardless of hidden things. > ::: browser/devtools/netmonitor/netmonitor.xul > @@ +45,5 @@ > > <label id="requests-menu-waterfall-label" > > class="plain requests-menu-header requests-menu-waterfall" > > value="&netmonitorUI.toolbar.waterfall;" > > crop="end"/> > > + <spacer id="toolbar-spacer" flex="1"/> > > not a terribly specific id. Maybe netmonitor-toolbar-spacer? Wokay. > > ::: browser/themes/linux/devtools/netmonitor.css > @@ +92,5 @@ > > font-weight: 600; > > } > > > > .requests-menu-file { > > + width: 18vw; > > are we using viewport percentages anywhere else in our css? That was a new > one on me, I admit. > Yup, common.inc.css. (although I was the one that evangelized them there; I think they work amazing in this case). > how'd you come to 18 of them? It felt good and gave a reasonably airy feel to the list.
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Target Milestone: --- → Firefox 23
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: