You are not logged in.

#1 2022-06-08 12:19:37

mdcclxv
Member
Registered: 2022-04-26
Posts: 207

[SOLVED] [#4,#9] Force window decorations on Firefox/Edge

Hi,

I'm having this weird issue with KDE Plasma 5.24 where window decorations (the borders) that I have configured are not applied to Firefox and Edge. See the screenshot bellow, Firefox has the focus, but Edge behaves exactly the same, no borders. These two are the only ones not obeying the borders.

Is there any way I can enforce the window decorations or otherwise make these two apps' windows have the borders more or less like the rest of the windows?



Thank you.

https://i.ibb.co/j6YwY1R/screenshot-borders.png


moderator edit -- replaced oversized image with link.
Pasting pictures and code

Last edited by mdcclxv (2022-06-08 23:05:02)

Offline

#2 2022-06-08 13:35:30

Maniaxx
Member
Registered: 2014-05-14
Posts: 760

Re: [SOLVED] [#4,#9] Force window decorations on Firefox/Edge

Firefox is GTK. Try 'System Settings/GNOME Application Style (GTK)' to tweak that.
https://userbase.kde.org/System_Setting … tyle_(GTK)


sys2064

Offline

#3 2022-06-08 14:18:37

CatCatCatCatCatCatCat
Member
Registered: 2021-12-23
Posts: 4

Re: [SOLVED] [#4,#9] Force window decorations on Firefox/Edge

Bizarrely, I wasn't even aware that Firefox was GTK because I haven't had that issue. My window borders on Lutris, a GTK application, are Breeze because that's one of the few styles available for GTK apps, but my window borders for Firefox are Plastik, which I selected for my QT applications. I wonder why it works for me, but not for OP.

Offline

#4 2022-06-08 14:35:50

progandy
Member
Registered: 2012-05-17
Posts: 5,305

Re: [SOLVED] [#4,#9] Force window decorations on Firefox/Edge

In the screenshot you can see the tabs in firefox are in the title bar, that means it is drawing the window decorations and does not care about the theme.
If you can find a switch to disable that you may get the standard decorations.

Last edited by progandy (2022-06-08 14:39:31)


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |

Offline

#5 2022-06-08 21:41:23

mdcclxv
Member
Registered: 2022-04-26
Posts: 207

Re: [SOLVED] [#4,#9] Force window decorations on Firefox/Edge

progandy wrote:

In the screenshot you can see the tabs in firefox are in the title bar, that means it is drawing the window decorations and does not care about the theme.
If you can find a switch to disable that you may get the standard decorations.

You're the man, thank you! This is probably the reason why it's also working for @CatCatCatCatCatCatCat.

No luck with Edge though, I couldn't find a way to have a title bar on its own.

But, on another tone, is there any way that I can force the Window Manager(?) to draw stuff (borders) over what the application is drawing?

Last edited by mdcclxv (2022-06-08 21:43:54)

Offline

#6 2022-06-08 21:46:49

mdcclxv
Member
Registered: 2022-04-26
Posts: 207

Re: [SOLVED] [#4,#9] Force window decorations on Firefox/Edge

Maniaxx wrote:

Firefox is GTK. Try 'System Settings/GNOME Application Style (GTK)' to tweak that.
https://userbase.kde.org/System_Setting … tyle_(GTK)

Those settings do not provide window decorations options, only controls decorations. Seems to me a dead end sad

Offline

#7 2022-06-08 22:04:14

progandy
Member
Registered: 2012-05-17
Posts: 5,305

Re: [SOLVED] [#4,#9] Force window decorations on Firefox/Edge

There may be a "Tabs in titlebar" checkbox or so at the bottom of "Customize Toolbar" in firefox. I cannot be sure since my firefox does not do that, I'd guess the devs did not enable that feature for i3 smile
You could also try to find a firefox theme that matches better, but I guess you might have to live with the buttons or try to build gtk3-classic from the AUR.

Last edited by progandy (2022-06-08 22:08:27)


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |

Offline

#8 2022-06-08 22:42:21

mdcclxv
Member
Registered: 2022-04-26
Posts: 207

Re: [SOLVED] [#4,#9] Force window decorations on Firefox/Edge

progandy wrote:

There may be a "Tabs in titlebar" checkbox or so at the bottom of "Customize Toolbar" in firefox. I cannot be sure since my firefox does not do that, I'd guess the devs did not enable that feature for i3 smile
You could also try to find a firefox theme that matches better, but I guess you might have to live with the buttons or try to build gtk3-classic from the AUR.

Sorry if I wasn't clear enough: you're the man, enabling the title bar works with Firefox smile

There is no gtk3-classic package on the AUR sad

Last edited by mdcclxv (2022-06-08 22:44:30)

Offline

#9 2022-06-08 23:02:18

mdcclxv
Member
Registered: 2022-04-26
Posts: 207

Re: [SOLVED] [#4,#9] Force window decorations on Firefox/Edge

So I figured it out for Edge as well. The option is hidden in plain sight. Right-click on empty space on the tab bar. See the screenshot bellow. Mind the blue borders smile

Edge tab bar context menu

Thanks a lot to everyone for helping me.

Offline

#10 2026-01-29 17:10:24

ULTD
Member
Registered: 2026-01-29
Posts: 1

Re: [SOLVED] [#4,#9] Force window decorations on Firefox/Edge

Just to add a short way in Firefox: Go to about:config and set browser.tabs.inTitlebar = 0 (default is = 2)

Offline

#11 2026-01-30 09:59:23

schard
Forum Moderator
From: Hannover
Registered: 2016-05-06
Posts: 2,551
Website

Re: [SOLVED] [#4,#9] Force window decorations on Firefox/Edge

Thanks for sharing. Closing this old thread.


Inofficial first vice president of the Rust Evangelism Strike Force

Offline

Board footer

Powered by FluxBB