Open Bug 1733748 Opened 3 years ago Updated 3 years ago

Urlbar border is misaligned with fractional gnome text scaling

Categories

(Firefox :: Theme, defect, P3)

Firefox 94
Desktop
Linux
defect

Tracking

()

Tracking Status
firefox-esr78 --- unaffected
firefox-esr91 --- unaffected
firefox92 --- unaffected
firefox93 --- wontfix
firefox94 --- fix-optional
firefox95 --- fix-optional

People

(Reporter: tom, Unassigned)

References

(Regression)

Details

(Keywords: regression)

Attachments

(1 file)

Attached image normal-scaled.png

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0

Steps to reproduce:

Reproducible on firefox nightly, Build ID 20211001214601

Set gnome text scaling with "gsettings set org.gnome.desktop.interface text-scaling-factor 1.25"
Start firefox.

Actual results:

The blue border of the urlbar is sometimes shifted a pixel or two from the edge of the bar. The gap changes when resizing the window. See attached image.

Expected results:

The blue border should always be at the edge of the urlbar, with no gap. The correct behavior is observed when setting the text scaling factor to 1.0 or 2.0.

The Bugbug bot thinks this bug should belong to the 'Firefox::Address Bar' component, and is moving the bug to that component. Please revert this change in case you think the bot is wrong.

Component: Untriaged → Address Bar

I was able to replicate this usin ubuntu 20 64bit
Affects Firefox nightly 94.0a1 and beta 93
Does not affect release 92.0.1

Mozregression:
Bug 1727935 - Use the same focus border implementation for the address bar and search bar. r=Itiel

Differential Revision: https://phabricator.services.mozilla.com/D123864

pushlog_url: https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=010ddecfd41c4d4caf2ef0e1954230fbc59a5761&tochange=a750355520585ded9c54eeaa02811a2068342372
repo_name: autoland

Severity: -- → S4
Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: regression
OS: Unspecified → Linux
Hardware: Unspecified → Desktop
Has Regression Range: --- → yes

Moving to theme since the regressing bug 1727935 is there.

Component: Address Bar → Theme
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: