dccsillag / picom

A lightweight compositor for X11
Other
164 stars 20 forks source link

Electron apps seems to leave artifacts #32

Open tim-kilian opened 2 years ago

tim-kilian commented 2 years ago

Platform

Arch Linux 5.16.3

Environment

xmonad

picom version

vgit-6a501

Configuration

shadow = true;
shadow-radius = 10;
shadow-offset-x = -10;
shadow-offset-y = -10;
shadow-color = "#0088cc"
shadow-exclude = [
  "!focused",
  "name = 'Notification'",
  "class_g = 'Conky'",
  "class_g ?= 'Notify-osd'",
  "class_g = 'Cairo-clock'",
  "class_g = 'jetbrains-idea'",
  "class_g = 'code-oss'",
  "class_g = 'Oblogout'",
  "_GTK_FRAME_EXTENTS@:c"
];

Steps of reproduction

  1. Open an electron app (example vs-code)
  2. Open another application (example tilix)
  3. Wait for artifacts

Expected behavior

No artifacts

Current Behavior

Peek 2022-02-04 14-51

Other details

Don't know if it happen with other then electron apps. Could be related to my shadow picom config.

dccsillag commented 2 years ago

I believe this should be solved once we merge #22.

But, just to check: do you still see these artifacts if you use the new glx backend and set use-damage = false;?

tim-kilian commented 2 years ago

Yes. There are still artifacts with those settings.

dccsillag commented 2 years ago

Are there artifacts in:

tim-kilian commented 2 years ago
tim-kilian commented 2 years ago

I do experience a worse behavior on slower applications like electron ones and do not notice any artifacts on faster applications like a terminal or firefox.