DevTools Netmonitor - Analyze button icon no longer centered when Search/Blocking tab opened
Categories
(DevTools :: Netmonitor, defect, P3)
Tracking
(firefox-esr78 wontfix, firefox86 wontfix, firefox87 wontfix, firefox88 wontfix, firefox89 verified, firefox90 verified)
People
(Reporter: cfogel, Assigned: blueyoshi77)
References
(Blocks 1 open bug, Regression)
Details
(Keywords: good-first-bug, regression)
Attachments
(2 files)
Affected versions
- 88.0a1(2021-03-25); 88.0b2;
Affected platforms
- Windows 10, Ubuntu 20;
Steps to reproduce
- Launch Firefox, enable DevTools;
- Open the Search/Blocking tab;
- Grab and resize either the Search/Blocking section or the browser window shrinking the width in the requests list section;
Expected result
- buttons and elements reflow as expected, elements remain centered;
Actual result
- button for Analyze shrinks in width, but the icon is not centered it remains offset to left;
Regression range
- while checking for the regression window, issue was manifesting but only with 1-3 pixels making it not as visible; range if for when it became more obvious:
- First bad: 2020-05-13;
- Last good: 2020-05-12;
- Pushlog: URL;
- potential regressor: bug 1634380 seems the likely candidate based on the pushlog;
Additional notes
- attached screenshot to best illustrate the issue.
Reporter | ||
Updated•3 years ago
|
Reporter | ||
Updated•3 years ago
|
Comment 1•3 years ago
|
||
Thanks for the report and regression window Cristian!
I can reproduce it on my machine: Win10 + Firefox Nightly
Honza
Comment 2•3 years ago
|
||
This might be a good first bug:
-
The button is rendered using React here:
https://searchfox.org/mozilla-central/rev/d58860eb739af613774c942c3bb61754123e449b/devtools/client/netmonitor/src/components/request-list/RequestListEmptyNotice.js#74 -
Related CSS is declared here:
https://searchfox.org/mozilla-central/rev/d58860eb739af613774c942c3bb61754123e449b/devtools/client/netmonitor/src/assets/styles/RequestList.css#25
Honza
Updated•3 years ago
|
Hi - May I take this one? This will be my first contribution. I took a look at the code and I think it may be an issue with the CSS.
Comment 4•3 years ago
|
||
Sure! Assigned to you.
Feel free to ask any questions if you need help.
Thanks! I have a fix working and am ready to commit it. Is it correct to set the reviewer=Honza in the commit message?
Comment 6•3 years ago
|
||
(In reply to Larissa from comment #5)
Thanks! I have a fix working and am ready to commit it. Is it correct to set the reviewer=Honza in the commit message?
Yes that's correct. You can also send review to me if you like i.e reviewer=bomsy
Pushed by jodvarko@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/bbfd6d1b4f05 Removed flexbox from outer div (.notice-perf-mesage). r=bomsy,Honza
Comment 9•3 years ago
|
||
bugherder |
Updated•3 years ago
|
Comment 12•3 years ago
|
||
Hello,
I have reproduced the issue using STR from comment 0, on an affected Nightly build 2021-03-25.
The fix was verified using the latest Nightly (20210507095221) and Firefox 89.0b9 (2021-05-06), on both Ubuntu 20.04 and Windows 10x64.
The issue is not reproducing anymore.
Thanks!
Description
•