Closed Bug 1184994 Opened 9 years ago Closed 6 years ago

Characters in URL bar are cut-off

Categories

(Firefox :: Address Bar, defect)

Unspecified
Linux
defect
Not set
normal

Tracking

()

RESOLVED INACTIVE

People

(Reporter: valentin, Unassigned)

Details

Attachments

(4 files)

Attached image url_bar_1.png
During the past week I've noticed characters in the URL bar are sometimes cut off, usually by a couple of pixels. This started happening around the same time the new tracking-protection & permissions dropdown was introduced.

From what I can see, it usually cuts off part of the first character in either the scheme, domain name, or even the green cert on bugzilla. See attachments.

- I'm using Gnome-Ubuntu with Firefox Nightly 42.0a1 (2015-07-16)
Attached image url_bar_2.png
Attached image url_bar_3.png
Is this reproducible? This this always happen for some URLs?
Flags: needinfo?(valentin.gosu)
Yes, it always happens, and I've just discovered the reason. I have a high res screen, so I set the layout.css.devPixelsPerPx pref to 1.5
Resetting it seems to fix it, but I would still rather it worked.
Flags: needinfo?(valentin.gosu)
Adding Paolo, he has done a lot of work on the identity box lately.
We're using regular margin and padding properties there, although in some cases I've seen in the code that we use values that are a bit off by a small fractional values, to work around bugs.

This, and the fact it happens in the middle of the text too, makes me think this problem might be a font layout bug. To verify whether it's a regression from the identity block changes or not, can you try this with a build made right before and right after bug 1180202 landed?
(In reply to :Paolo Amadini from comment #6)
> We're using regular margin and padding properties there, although in some
> cases I've seen in the code that we use values that are a bit off by a small
> fractional values, to work around bugs.
> 
> This, and the fact it happens in the middle of the text too, makes me think
> this problem might be a font layout bug. To verify whether it's a regression
> from the identity block changes or not, can you try this with a build made
> right before and right after bug 1180202 landed?

That seems to be the exact point when this bug started occuring (the fx-team merge to mc)
I don't see the bug in rev c9f187c55060 [1] but I do in rev 7ec3e4b2a45f [2]

[1] http://ftp.mozilla.org/pub/mozilla.org/firefox/tinderbox-builds/mozilla-central-linux64/1436484218/
[2] http://ftp.mozilla.org/pub/mozilla.org/firefox/tinderbox-builds/mozilla-central-linux64/1436484279/

Thanks!
I have a very similar issue, with characters cut off at the bottom in the URL area.  Is this likely to be the same problem, or should I file a new ticket?
Per policy at https://wiki.mozilla.org/Bug_Triage/Projects/Bug_Handling/Bug_Husbandry#Inactive_Bugs. If this bug is not an enhancement request or a bug not present in a supported release of Firefox, then it may be reopened.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → INACTIVE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: