Window decoration shadow setting not working for GTK/electron apps?

I have set large white shadow for window shadow, because I’m using dark mode and the default black shadow is almost invisible.

The problem is that, only GTK/electron apps do not follow my setting, and show black shadow or no shadow. I am not sure if this was so from the beginning, or it became like this recently. But if it’s the latter, is there a way to have my shadow setting followed by all apps?

One weird thing is the main window of FireFox is showing black shadow, but the developer tools window follows my shadow setting.

FireFox main window.

FireFox developer tools window

KWrite

VS Code

1 Like

I’m going to assume GTK3 you’re talking about since electron doesn’t yet use GTK4. Are you using a specific theme for GTK? Or stock adwaita?

Both GTK3 and 4 are not following my window decoration setting, because Pinta 3, which is using GTK4 is also showing black shadow.

I did not change the default theme for GTK. In Application Style → Configure Gnome/GTK Application Style, it is set to ‘Breeze’. I tried changing it to ‘Default’, but there was no difference in the shadow.

If it’s related, I am using Arch Linux. On your computer, if you change the shadow colour of Breeze or Oxyzen, do GTK apps follow that setting?

Yeah, in KDE, shadow is provided by the window decoration. They don’t use the Breeze decoration, so no shadow / their own shadow

1 Like