yshui / picom

A lightweight compositor for X11 with animation support
https://picom.app/
Other
4.15k stars 589 forks source link

ugly shadows when windows overlap each other #664

Open siduck opened 3 years ago

siduck commented 3 years ago

shadows get duplicated when there are windows overlapping each other , like in monocle mode .

behaviour :

image

normal shadows :

image

version : v8.2 distro : void linux

config : https://github.com/siduck76/dotfiles/blob/master/picom/picom.conf

exorcist365 commented 3 years ago

This is issue i agree.

siduck commented 3 years ago

This is issue i agree.

the solution might be wm specific but would work , like hide all the windows in monocle mode except the focused one so picom wouldnt draw multiple shadows

pijulius commented 3 years ago

First of all thanks for keeping this project alive, really appreciated!

Now re this bug unfortunately it's not just "window" related, it happens with popups too, for e.g. context menus. Also it happens with FluxBox toolbar (where one can simply exclude it) but for popups not sure what to do.

blackshadowoneclipse

FYI: it only happens with --experimental-backends and only on some places, for e.g. in Eclipse 4.20. The easiest to reproduce is to simply launch eclipse and go to File -> Switch Workspace