How to undo Firefox changes to the titlebar controls buttons?
from ISOmorph@feddit.org to linux@lemmy.ml on 29 Jun 18:29
https://feddit.org/post/14996929

Firefox seemingly very recently shipped their own titlebar controls buttons, which worsens even further the lackluster OS integration. In the screenshot you see my regular control buttons on the window to the left (default KDE Plasma theme) and the new custom buttons Firefox is serving now.

Would anyone know how to undo that change in about:config or anywhere else?

#linux

threaded - newest

dabu@lemmy.world on 29 Jun 18:39 next collapse

Right click on the toolbar, select “customize toolbar” and at the bottom left corner check “title bar”. Or in about:config type 0 for browser.tabs.inTitlebar

ISOmorph@feddit.org on 29 Jun 18:54 collapse

Thank you for replying, but that just adds a standalone titlebar with just a title and the controls, while moving all the other functions like the address input to a regular toolbar, as the options suggests. I’d like to keep all the functions and the titlebar controls in one single titlebar, but with the OS control buttons, as it used to be before the last Firefox update.

56_@lemmy.ml on 29 Jun 23:17 collapse

Firefox relies on gtk for for those integrated buttons. It’s maybe worth checking that your gtk theme is set to breeze in System Settings > Colours and themes > Application style > GNOME/GTK Application Style (top right …), and that firefox is set to use the system theme.

ISOmorph@feddit.org on 30 Jun 06:16 collapse

My GTK Theme is already set to “Breeze”.

<img alt="" src="https://feddit.org/pictrs/image/2c9ead85-9e31-43bf-85a7-4834694dd47f.png">

And my Firefox Theme is set to “System”.

<img alt="" src="https://feddit.org/pictrs/image/cbd67fd4-da37-4707-83fe-e61c5ac6bdf2.png">

Thanks though.

pogodem0n@lemmy.world on 29 Jun 20:03 next collapse

What you are referring to are the window decorations.

Apart from Linux Mint, Firefox almost always uses client-side decorations. What you are showing here is still client-side.

It is just that Mozilla recently enabled vertical tabs option for everyone, so the top bar is now slightly smaller than before. You can disable vertical tabs easily by searching in the settings.

ISOmorph@feddit.org on 30 Jun 06:08 collapse

Disabling vertical tabs didn’t help. But thanks for trying

Blisterexe@lemmy.zip on 29 Jun 20:25 next collapse

Did you change the gtk theme recently? Firefox follows the gtk3 titlebars, not the qt ones. You would have to change the gtk3 theme back to breeze to have it match again.

If you changed off the default firefox theme, it will also no longer use native titlebar buttons, to make it use native ones with a different firefox theme, go to about:config, search non-native, find the titlebar buttons option, and turn it off.

ISOmorph@feddit.org on 30 Jun 06:12 collapse

My GTK Theme is already set to breeze:

<img alt="" src="https://feddit.org/pictrs/image/2c9ead85-9e31-43bf-85a7-4834694dd47f.png">

Changing the value in about:config had no effect. Thanks anyway though!

angel@sopuli.xyz on 29 Jun 21:42 next collapse

I have the same issue since one or two months, I’m on Firefox Nightly 142.0a1 currently.

For me it looks like this:
<img alt="" src="https://sopuli.xyz/pictrs/image/ad965182-a738-40a0-88f2-2657020a23c9.webp">
Firefox on the left, Dolphin (which uses the system titlebar control buttons) on the right.

A few months ago, firefox also used the system titlebar control buttons. When I noticed the change at first, I also searched for solution online and in about:config, but didn’t find anything. All other solutions posted here sadly don’t work:

  • browser.tabs.inTitlebar only adds a standalone titlebar, like you noted.
  • When searching for non-native in about:config, I don’t see any titlebar buttons option that I can turn off.
  • Vertical Tabs are already disabled for me in the settings.

If anyone finds a solution to this, I would be happy to be notified. Thanks in advance!

ISOmorph@feddit.org on 30 Jun 06:15 collapse

bugzilla.mozilla.org/show_bug.cgi?id=1967099

If @Frellwit is right, this seems to be intended and not a bug :(

angel@sopuli.xyz on 30 Jun 10:07 collapse

Damn, but I’m not sure if I agree with gregp’s resolution of the bug. The way I understand the changes in bugzilla.mozilla.org/show_bug.cgi?id=1964046, it should still use the system theme, but rendered by firefox itself. However, the current state is that it doesn’t follow the system theme anymore :/

EDIT: I just saw this comment: lemmy.world/comment/17957836 And yep, that’s correct. I’m also using the Papirus icon theme, when I change the theme to breeze or something else, the buttons in firefox titlebar also reflect this change after a restart. So Firefox is now using the window-{maximize,minimize,close,…}-symbolic icons from the icon theme and not from the window decorations setting.

DrunkAnRoot@sh.itjust.works on 29 Jun 23:48 next collapse

i hate this it broke my user styles

isVeryLoud@lemmy.ca on 30 Jun 04:01 collapse

Use user styles at your own risk.

DrunkAnRoot@sh.itjust.works on 30 Jun 06:00 collapse

ik

Frellwit@lemmy.world on 30 Jun 02:10 collapse

bugzilla.mozilla.org/show_bug.cgi?id=1967099

[deleted] on 30 Jun 06:04 next collapse

.

ISOmorph@feddit.org on 30 Jun 06:04 collapse

Resolution: — → WONTFIX

ouch…

deafboy@lemmy.world on 30 Jun 11:26 collapse

#YearOfTheLinuxDesktop