Limit tooltip for WS payload in Messages panel
Categories
(DevTools :: Netmonitor, defect, P2)
Tracking
(firefox75 fixed)
| Tracking | Status | |
|---|---|---|
| firefox75 | --- | fixed |
People
(Reporter: Honza, Assigned: vtsty.dev)
References
(Blocks 1 open bug)
Details
(Keywords: good-first-bug)
Attachments
(3 files)
Tooltips in the Messages panel (displaying WS payload) can be too big. Let's introduce a logic that limits them.
Honza
| Reporter | ||
Comment 1•2 years ago
|
||
STR:
- Load https://socket.io/
- Select the Network panel and reload the page
- Set the WS filter button in the Toolbar to make it easier to find 101 requests
- Select the 101 request and look at the Messages panel
- Wait for a frame with bigger payload body
- Hover over the raw in the WS frame list -> displayed tooltip is big and broken -> BUG
Honza
| Reporter | ||
Comment 2•2 years ago
|
||
See the attached screenshot showing broken tooltip.
Honza
| Reporter | ||
Comment 3•2 years ago
|
||
Some instructions for anyone interested in fixing this bug:
-
The fix can be very similar to what we did for the Search panel tooltips.
https://phabricator.services.mozilla.com/D47516 -
Here is where the tooltip is rendered
https://searchfox.org/mozilla-central/rev/74cc0f4dce444fe0757e2a6b8307d19e4d0e0212/devtools/client/netmonitor/src/components/websockets/FrameListColumnData.js#33
Honza
| Reporter | ||
Updated•2 years ago
|
| Reporter | ||
Updated•2 years ago
|
:Honza, if you think that's a regression, then could you try to find a regression range in using for example mozregression?
Updated•1 year ago
|
Pushed by jodvarko@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/79cc8a9b30e8 Limit websocket tooltips r=Honza
Comment 8•1 year ago
|
||
| bugherder | ||
Updated•1 year ago
|
Comment 9•1 year ago
|
||
I can still reproduce this issue on Ubuntu 18.04 with the latest Nightly (see the attached screenshot)
| Reporter | ||
Comment 10•1 year ago
|
||
Looking at the screenshot, the tooltip is big but, not broken correct?
According to the last three dots (...) in the tooltip, it looks like the patch is properly applied.
Honza
Comment 11•1 year ago
|
||
(In reply to Jan Honza Odvarko [:Honza] (always need-info? me) from comment #10)
Looking at the screenshot, the tooltip is big but, not broken correct?
Correct, I was focusing on the size of the tooltip there, but while most of them end with (..) I can still see tooltips like the following: https://drive.google.com/file/d/1fRktNDja0Cll69zQrneUoJBc5ehjBlVz/view?usp=sharing
| Reporter | ||
Comment 12•1 year ago
|
||
Ah, I see it on the screenshot now. So, yes, this looks like a bug.
Can you please file a follow up bug, this should be fixed.
Thanks,
Honza
Comment 13•1 year ago
|
||
(In reply to Jan Honza Odvarko [:Honza] (always need-info? me) from comment #12)
Ah, I see it on the screenshot now. So, yes, this looks like a bug.
Can you please file a follow up bug, this should be fixed.Thanks,
Honza
Filled bug 1626189!
Description
•