this post was submitted on 29 Jun 2025
7 points (76.9% liked)

Firefox

20168 readers
94 users here now

A place to discuss the news and latest developments on the open-source browser Firefox

founded 5 years ago
MODERATORS
 

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?

you are viewing a single comment's thread
view the rest of the comments
[–] that_leaflet@lemmy.world 3 points 17 hours ago (1 children)

Are you using an icon theme? Papirus?

[–] ISOmorph@feddit.org 2 points 16 hours ago (1 children)

Yup, does that break something in the newest update?

[–] that_leaflet@lemmy.world 7 points 16 hours ago (2 children)

Firefox is taking that icon from your GTK theme. And that’s the maximize button in the Papirus theme. So this is intended behavior.

You’d have to modify the theme or tell Firefox to use a title bar to fix it.

[–] ISOmorph@feddit.org 2 points 16 hours ago (1 children)

I'm surprised all other GTK apps manage to use the plasma theme defaults. But it gives me enough to do some more research. Thank you very much!

[–] Valso@lemmy.ml 1 points 1 hour ago

Plasma has a not so bad GTK integration which allows GTK apps to use plasma defaults. Also, GTK apps that weren't written by Gnome also have some good integration with other desktops. Only those written by Gnome are hardcoded to use only GTK styles.

[–] Valso@lemmy.ml 1 points 14 hours ago* (last edited 14 hours ago) (1 children)

If Firefox is using GTK (GTK3 to be precise) to decorate the window, even in KDE, that might be some good news for him, altough I could be wrong bc I've never used Plasma for this long (30 days tops, long ago) to get to the point of wanting to change the title bar of anything. In Cinnamon (6.4.7) I'm using an old workaround for cases like this. It's still somewhat maintained. I can't guarantee it will work with Plasma but it doesn't hurt to try: https://aur.archlinux.org/packages/gtk3-nocsd-git After installation, open (or create) ~/.XSession and put these two lines in it: export GTK_CSD=0 export LD_PRELOAD=/usr/lib/libgtk3-nocsd.so.0 and reboot.

This is how I've been replacing GEdit's CSD with a normal title bar, as well as Firefox's:

[–] angel@sopuli.xyz 2 points 1 hour ago (1 children)

This works, but it's the same as disabling browser.tabs.inTitlebar. The result is a separate titlebar above the tab bar.

[–] Valso@lemmy.ml 1 points 1 hour ago

Yes, but IDK of any other way to change the buttons ISOmorph was asking about. The only other way is to find and change/remove them in FF source code and recompile which needs a supercomputer to do, otherwise it may take days to recompile. I assume he doesn't want to waste days on recompiling, so that's one way to change things. With GTK3-NOCSD (mostly + some other customizations) my title bar always looks the same way, no matter what changes Mozilla make to it: