Closed Bug 1385742 Opened 7 years ago Closed 7 years ago

Dev tools network monitor header wraps strangely when too narrow

Categories

(DevTools :: Netmonitor, defect, P3)

56 Branch
defect

Tracking

(firefox57 fixed)

RESOLVED FIXED
Firefox 57
Tracking Status
firefox57 --- fixed

People

(Reporter: rhys, Assigned: dex, Mentored)

Details

(Keywords: good-first-bug)

Attachments

(3 files, 1 obsolete file)

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:56.0) Gecko/20100101 Firefox/56.0
Build ID: 20170730100307

Steps to reproduce:

Opened the Network Monitor when the dev tools panel was docked to the side and quite narrow


Actual results:

in the 'header' section allowing you to filter to specific request / response types, the label for the 'disable cache' checkbox wraps strangely, causing the header to grow taller


Expected results:

The header should properly lay itself out at smaller widths, perhaps wrapping items onto another line.
Component: Untriaged → Developer Tools: Netmonitor
Status: UNCONFIRMED → NEW
Has STR: --- → yes
Ever confirmed: true
OS: Unspecified → All
Hardware: Unspecified → All
Thanks for the report, agree the wrapping-layout logic should be fixed here.

Honza
Priority: -- → P3
Keywords: good-first-bug
Mentor: ntim.bugs
I'm interested in working on this ticket ? where do I start?
Allowing network monitor filter buttons to wrap.
Attachment #8896027 - Attachment is obsolete: true
Attached image Screenshot of patch
Thanks for the patch!

It's a definite improvement, however the original issue (about "Disable Cache" moving to a new line) doesn't seem to be fixed.

Can you add a white-space: nowrap; to the checkbox label to fix that?
Attachment #8897943 - Flags: review?(ntim.bugs) → feedback+
Comment on attachment 8897943 [details]
Bug 1385742 - Network monitor: allow filter buttons to wrap, avoid disable cache label to wrap

https://reviewboard.mozilla.org/r/169236/#review174860
Assignee: nobody → dex
Hi Tim, I've update the commit/review to avoid "disable cache" label to wrap, should I change something else ?
Comment on attachment 8897943 [details]
Bug 1385742 - Network monitor: allow filter buttons to wrap, avoid disable cache label to wrap

https://reviewboard.mozilla.org/r/169236/#review175046

Thanks!
Attachment #8897943 - Flags: review?(ntim.bugs) → review+
Pushed by ntim.bugs@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/0db049b28c65
Network monitor: allow filter buttons to wrap, avoid disable cache label to wrap r=ntim
https://hg.mozilla.org/mozilla-central/rev/0db049b28c65
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 57
I have reproduced this bug with 56.0a1 (2017-07-30) on Windows 7(64 Bit!)

This bug's fix is now verified on Latest Beta.

Build ID : 20171016185129
User Agent : Mozilla/5.0 (Windows NT 6.1; WOW64; rv:57.0) Gecko/20100101 Firefox/57.0
QA Whiteboard: [bugday-20171101]
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: