Closed Bug 1925332 Opened 3 months ago Closed 3 months ago

"Not Secure" Label Is Illegible When the Width Is Too Small to Show Its Text

Categories

(Firefox :: Address Bar, defect, P2)

defect

Tracking

()

RESOLVED FIXED
133 Branch
Tracking Status
firefox133 --- fixed
firefox134 --- verified

People

(Reporter: cbellini, Assigned: daisuke, NeedInfo)

References

(Blocks 1 open bug)

Details

(Whiteboard: [sng-scotchbonnet])

Attachments

(3 files)

At a 716px breakpoint, remove the "Not Secure" label when on an HTTP site and only display the padlock icon.

Blocks: ScotchBonnet
Type: task → defect
Summary: Remove the "Not Secure" Label When the Width Is Too Small to Show Its Text → "Not Secure" Label Is Obscured When the Width Is Too Small to Show Its Text
Whiteboard: [sng-scotchbonnet]
Severity: -- → S3
Priority: -- → P2
Summary: "Not Secure" Label Is Obscured When the Width Is Too Small to Show Its Text → "Not Secure" Label Is Ilegible When the Width Is Too Small to Show Its Text
Summary: "Not Secure" Label Is Ilegible When the Width Is Too Small to Show Its Text → "Not Secure" Label Is Illegible When the Width Is Too Small to Show Its Text
Assignee: nobody → daisuke
Status: NEW → ASSIGNED

As it seems that 716px is not defined yet in media-query, I will add this rule to 770px which hide the label of container tab for Switch to Tab.
https://searchfox.org/mozilla-central/rev/b9e7c4300ba972a4c98bf463fc046e8cd9367175/browser/themes/shared/urlbar-searchbar.css#372,404,416

Hi! As Itiel mentioned in phabricator, the label is used not only for Not Secure but Extension name, Brand name etc. So, I'd like to confirm, may we hide it even so?

Flags: needinfo?(cbellini)
Duplicate of this bug: 1925509

Depends on D226057

Pushed by dakatsuka.birchill@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/db8be639185e Hide 'Not Secure' label when window width is narrow r=desktop-theme-reviewers,urlbar-reviewers,mak,dao https://hg.mozilla.org/integration/autoland/rev/2cea94c2cade Set tooltip for not secure label r=daleharvey
Status: ASSIGNED → RESOLVED
Closed: 3 months ago
Resolution: --- → FIXED
Target Milestone: --- → 133 Branch

Reproducible on a 2024-10-17 Nightly build on Windows 10.
Verified as fixed on Firefox Nightly 134.0a1 on Windows 10, Ubuntu 22, macOS 14.
With reduced browser width, only the padlock icon is displayed. Tooltip also displays 'Connection is not secure' string.

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: