Open Bug 1703787 Opened 3 years ago Updated 2 years ago

The hover highlight is smaller than the actual button in a zoomed about:networking page

Categories

(Core :: Networking, defect, P3)

Desktop
All
defect

Tracking

()

Tracking Status
firefox87 --- affected
firefox88 --- affected
firefox89 --- affected

People

(Reporter: cbaica, Unassigned)

References

(Blocks 1 open bug)

Details

(Whiteboard: [necko-triaged])

Attachments

(1 file)

Attached image hover highlight bug

Affected versions

  • Fx89.0a1
  • Fx88.0b8
  • Fx87.0

Affected platforms

  • Windows 10

Steps to reproduce

  1. Launch Firefox.
  2. Navigate to about:networking.
  3. Zoom in to about 250%.
  4. Hover over the left side sections e.g. Web Sockets, DNS Lookup, Logging

Expected result

  • Entire button is highlighted on hover.

Actual result

  • Hover highlight is smaller that the button.

Regression range

  • This is not a recent regression as the issue is reproducible in Fx66.0a1.
Has STR: --- → yes

This page is technically from networking code, though it's quite possible the styling regression is just a toolkit/themes bug. Nihanth, are you able to take a quick look?

Component: Menus → Networking
Flags: needinfo?(nhnt11)
Product: Firefox → Core

The rule that causes this seems to be [1], which applies a max-width when the viewport width is "small".

I think the rule expects the text to be replaced with an icon in this case? I'm not sure what the right fix is here, but I'm sure it's very low priority because this is a troubleshooting/debugging tool and not really exposed to users who don't know that it exists.

There are some general about:networking improvement ideas and polishing this kind of UI wrinkle would fit into that work, but I suspect someone will just pick it up before then. Thanks!

[1] https://searchfox.org/mozilla-central/rev/d8194cbbeaec11962ed67f83aea9984bf38f7c63/toolkit/themes/shared/in-content/common.inc.css#993

Flags: needinfo?(nhnt11)
Priority: -- → P5

Er, as for whether this is a toolkit/themes bug... it's really hard for me to say without digging into other consumers of the "categories" style class.

Aha, indeed, the category sidebars in about:preferences and about:policies both show icons, and when the viewport is small the text is hidden altogether, which is why the height and the width are both set to 48px.

QA Whiteboard: [qa-regression-triage]

This is not a recent regression as I could reproduce the issue all the way back to Fx 63.0a1. The issue might be present since the implementation of the networking page.

Priority: P5 → P3
Whiteboard: [necko-triaged]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: