You are not logged in.

#1 2025-09-23 10:44:54

Picnic
Member
From: Digital Bath
Registered: 2025-09-20
Posts: 10

No shadow around Chrome window

I've noticed that Google Chrome doesn't use the window shadows configured in picom.conf. Is there something in Chrome's settings that might be preventing this? Transparency itself works fine, though. I'm using the BL Boron.

Regards, Picnic

Offline

#2 2025-09-23 14:19:54

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,093
Website

Re: No shadow around Chrome window

Looks like Chrom{e,ium} is deliberately excluded from the shadow effects:

https://github.com/BunsenLabs/bunsen-co … #L102-L103

Edit the relevant lines in ~/.config/picom.conf to change this but be aware that the devs may have had a good reason to apply that configuration OOTB. The shadows are excluded to prevent visual glitches, according to the comments in the linked source code.

Last edited by Head_on_a_Stick (2025-09-23 14:27:52)

Offline

#3 2025-09-23 23:37:03

Picnic
Member
From: Digital Bath
Registered: 2025-09-20
Posts: 10

Re: No shadow around Chrome window

I've already tried disabling those lines there. It works for VLC, for example, but Chrom/Chromium doesn't show any change.

Offline

#4 2025-09-24 02:10:06

PackRat
jgmenu user Numero Uno
Registered: 2015-10-02
Posts: 2,658

Re: No shadow around Chrome window

Change these lines:

"name *= 'Chromium'",
"name *= 'Chrome'",

to

"class_g = 'Chromium'",
"class_g = 'Chrome'",

and see if that works.

You can use xprop to get the name and class of chromium.


You must unlearn what you have learned.
    -- yoda

Offline

#5 2025-09-26 09:07:42

Picnic
Member
From: Digital Bath
Registered: 2025-09-20
Posts: 10

Re: No shadow around Chrome window

@PackRat thx now it works.

Last edited by Picnic (2025-09-26 09:08:36)

Offline

#6 2025-10-06 17:23:39

Picnic
Member
From: Digital Bath
Registered: 2025-09-20
Posts: 10

Re: No shadow around Chrome window

Yesterday, I noticed that the shadow was no longer displayed in Chrome. It must have been an update that had something to do with it. I remember a recent update popped up saying something had changed and I wanted to overwrite it, or something. I clicked No.

Offline

#7 2025-10-06 17:49:06

PackRat
jgmenu user Numero Uno
Registered: 2015-10-02
Posts: 2,658

Re: No shadow around Chrome window

Check the picom.conf file an see if the changes are still there.

Also use xprop to see if an update to Google Chrome changed the class name.


You must unlearn what you have learned.
    -- yoda

Offline

#8 2025-10-06 18:48:02

Picnic
Member
From: Digital Bath
Registered: 2025-09-20
Posts: 10

Re: No shadow around Chrome window

I think everything is entered correctly in picom.conf.

Offline

Board footer

Powered by FluxBB