Open Bug 1623022 Opened 4 years ago Updated 3 years ago

One pixel wide gap below address bar

Categories

(Core :: Widget: Gtk, defect, P3)

74 Branch
x86_64
Linux
defect

Tracking

()

UNCONFIRMED

People

(Reporter: fin.christensen, Unassigned, NeedInfo)

References

(Blocks 1 open bug)

Details

Attachments

(3 files)

Attached image pixel-bar.png

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

Steps to reproduce:

I had white corners in my Firefox Titlebar like described in https://bugzilla.mozilla.org/show_bug.cgi?id=1558065 and set layers.acceleration.force-enabled to true in about:config.

Actual results:

The white corners disappeared, but a 1 pixel wide gap between the window content and the address bar appeared. This might be a duplicate of https://bugzilla.mozilla.org/show_bug.cgi?id=1422922 I'm not sure as this bug is quite old.

Expected results:

No gap between address bar and window content.

I can't reproduce it on my Ubuntu 18.04 x64 machine when using Firefox 74 or the latest Nightly 76.0a1.

Christensen, are you using Ubuntu 19.04?

Flags: needinfo?(christensen.fin)
OS: Unspecified → Linux
Hardware: Unspecified → x86_64

My System:
Gentoo GNU/Linux
Gnome 3.34.4
Xorg: 1.20.7
Firefox: 74
Graphics Driver: nvidia-drivers-440.64

Flags: needinfo?(christensen.fin)

Bugbug thinks this bug should belong to this component, but please revert this change in case of error.

Component: Untriaged → Address Bar

This could either be Graphics, Layout or Widget: GTK...

Component: Address Bar → Widget: Gtk
Product: Firefox → Core
Blocks: gtktitlebar
Priority: -- → P3

It's because we use ARGB visual for the background. I guess default window background was there before you enabled the layers.acceleration.force-enabled.

As a simple test, can you try to set layers.acceleration.force-enabled to false (which turns off GL acceleration) and add mozilla.widget.use-argb-visuals boolean preference, set it to true, restart browser and check if the line is still there?

Thanks.

Flags: needinfo?(christensen.fin)

Because this bug's Severity has not been changed from the default since it was filed, and it's Priority is P3 (Backlog,) indicating it has been triaged, the bug's Severity is being updated to S3 (normal.)

Severity: normal → S3

@stransky I'm sorry I did not answer your question. My laptop mainboard failed and I could not reproduce this issue with another graphics card yet. I am on Intel and AMD graphics now. A friend of mine ran into the same problem on another device, he will provide more information on that.

Attached image before-floating.png

Hi, I ran into this problem today too (Fedora 33, sway v1.5, Firefox 84.0.1) and Martin's solution worked just fine.
Furthermore, I noticed that this occurs when the first tab is indented (as happens in a floating window).
I attached some screenshots to illustrate how it behaves on my system.

Attached image before-pinned.png

This is the same window as before but non-floating.

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

Attachment

General

Created:
Updated:
Size: