Open worldofpeace opened 3 years ago
I have this same issue on FireFox, but in my case, only when running a web site in "App Mode" (SSB). It started happening a few weeks ago for me.
i have a similar issue if i remove titlebar its gone then downloads has a separate window which has black square behind it
It would be great to be able to know if:
Reporting the tests on Firefox side too might be a good thing
i have gentoo, debian: stylesheet (5.4.2) and gala (3.3.2) gentoo: firefox 82 - there is this bug debian: firefox 78 (esr) - this bug is missing I think this is a firefox problem
It would be great to be able to know if:
* This is a bug from Gala: can someone replicate the issue in GNOME Shell with the latest elementary Stylesheet, is there the same issue with Adwaita using Gala * This is a bug in the new Stylesheet only
Reporting the tests on Firefox side too might be a good thing
I could do these checks. Though, Firefox ESR not having the problem might be our answer that Upstream just turned this away without enough information.
I checked the elementary stylesheet (from master branch) on Ubuntu 20.04, and I don't have the same problem there. How do I install the adwaita stylesheet on elementary?
@finetuned89 it's installed by default; run:
gsettings set org.gnome.desktop.interface gtk-theme Adwaita
to enable it, and:
gsettings reset org.gnome.desktop.interface gtk-theme
to restore the default setting,.
I first noticed this bug after upgrading firefox to 81, firefox 80 does not have this issue. This issue only happens on windows with titlebars with me. CSD enabled windows look normal even on firefox 82. (Menu -> Customize, At the bottom uncheck "title bar")
The issue worldofpeace linked has a commit attached as possible regression. I've rebuild firefox 82 (firefox_82.0+build2-0ubuntu0.18.04.1) reversing this patch. This issue no longer shows on my system now.
I see this issue in Firefox 82 (via Flatpak) on elementary OS 5.1 Hera as well—even with Adwaita. So my guess is it's some combination of a Firefox and Gala issue. :smile:
Please also confirm it's using Mutter 3.36, is that available on ubuntu 20.04?
Please also confirm it's using Mutter 3.36, is that available on ubuntu 20.04?
Ubuntu 20.04.1 GNOME runs on Mutter 3.36.6. Firefox 82.0.2 doesn't have this problem there.
Starting Firefox according to this fixed it for me:
env GTK_CSD=0 Firefox
Workaround was provided by @Zbergen-cli at https://github.com/Zonnev/elementaryos-firefox-theme/issues/90#issuecomment-729619811
The catch is it will go away when fullscreen or only if you enable the broken csd for Firefox
This is mentioned in the OP
Heads up that in Firefox 85+ this seems to be solved. Anyone else available to confirm?
Glad I found this. Been like this for months now. elementary OS 5.1.7 Hera - Linux 5.4.0-56-generic (GTK 3.22.30) AMD Ryzen7 3700X - Radeon 5700 - B550 Velocita Shows up with stock AppCenter install. Firefox version 83.0 (64-bit)
Heads up that in Firefox 85+ this seems to be solved. Anyone else available to confirm? @Alecaddd
the issue is not present in Firefox Version = 85.0 BuildID = 20210107185759
left : v84 right : v85
I will try this later today in NixOS
What Happened
This has been reported at stylesheet https://github.com/elementary/stylesheet/issues/845 but I have reason to believe it might not be stylesheet related because other CSD gtk apps don't have the problem. It's just firefox.
The catch is it will go away when fullscreen or only if you enable the broken csd for Firefox, where the close and maximize buttons are both on the left instead of split on each side. It seems at the time of implementing csd they only tested button orientations for unity :rofl: In chromium it works perfectly, though.
Another thing is in what environment I noticed this. I upgraded gala to master and built with mutter 3.36, and only then did it trigger the issue. I tried to look at Mutter GitLab if there's a reported fix but I didn't find one. If this can't be reproduce on focal then maybe there is a patch and Ubuntu has it for Mutter :shrug:
Lastly, this is reported in the Firefox tracker, it could be a Firefox bug for all I know https://bugzilla.mozilla.org/show_bug.cgi?id=1666839. But considering they marked it as
wontfix
I decided it would be best to get some engagement going here.Expected Behavior
Not have this ugly offset region
Steps to Reproduce
Logs
NA
Platform Information
NixOS 21.03 pre-git Compiled from git, whatever commit is dated 2020-10-23. GTK 3.24.21 GNOME 3.36 Stack