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)
DevTools
Netmonitor
Tracking
(Not tracked)
RESOLVED
FIXED
Firefox 23
People
(Reporter: standard8, Assigned: vporof)
References
Details
Attachments
(2 files)
86.30 KB,
image/png
|
Details | |
11.20 KB,
patch
|
rcampbell
:
review+
|
Details | Diff | Splinter Review |
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.
Assignee | ||
Comment 1•12 years ago
|
||
Apparently this is a xul <toolbar> issue. Under very extreme conditions, the same thing happens in the inspector.
Assignee | ||
Updated•12 years ago
|
Priority: -- → P3
Assignee | ||
Comment 3•12 years ago
|
||
Assignee | ||
Comment 4•12 years ago
|
||
Ok, all of this overlapping is really awful, marking as P1.
Priority: P3 → P1
Assignee | ||
Updated•12 years ago
|
OS: Mac OS X → All
Comment 5•12 years ago
|
||
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 6•12 years ago
|
||
Comment on attachment 738438 [details] [diff] [review]
v1
Review of attachment 738438 [details] [diff] [review]:
-----------------------------------------------------------------
yeah, this works well!
Attachment #738438 -
Flags: feedback+ → review+
Assignee | ||
Comment 7•12 years ago
|
||
(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.
Assignee | ||
Comment 8•12 years ago
|
||
Whiteboard: [fixed-in-fx-team]
Comment 9•12 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Target Milestone: --- → Firefox 23
Updated•6 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•