Closed fulalas closed 1 year ago
I believe this is expected behaviour, similar to #32. Firefox probably renders these controls in a way that GTK 3 can't patch. There are 2 solutions:
Tell Firefox to use the window title bar by right clicking the tab bar → "Customise Toolbar..." and then checking "Title Bar" in the bottom-left:
Otherwise, the patched GTK can use the original behaviour (show CSDs) by adding GTK_CSD=0
to the start of the command in the desktop launcher for Firefox, depending on your desktop environment. For example:
GTK_CSD=0 /usr/lib/firefox/firefox %u
I see. Does @ZaWertun repository still fix this issue?
Checked it out of curiously. Yes, that works too (against regular GTK 3), but it's essentially solution 1 above by forcing the title bar (with the checkbox disappearing)
gtk3 (title bar off, default) | gtk3 (title bar on) | gtk3-nocsd (title bar forced on) |
---|---|---|
In contrast, gtk3-classic
shows the window borders regardless of what the application says (hence double controls), so checking "Title Bar" would be the easiest fix.
gtk3-classic (default) | gtk3-classic (title bar on) | gtk3-classic (GTK_CSD=0) | gtk3-classic (GTK_CSD=1) |
---|---|---|---|
Turns out that Firefox recognises GTK_CSD=0
in their code which forces the title bar on (like gtk3-nocsd
), even under normal gtk3
. So, if you really wanted the default behaviour under gtk3-classic
, you'd actually set it to GTK_CSD=1
(or anything not 0
)
Awesome! Thanks a lot! :)
gtk3-classic:
gtk3 original:
I know there's a Firefox css tweak, but still...