康普顿:阴影显示不正确(喜欢的设置)?

我遇到了Compton复合管理器的阴影显示问题。 在某些情况下,阴影的框架超出了它应用的窗口,在其周围留下了可见的边框和一些透明框。

每当窗口或框架覆盖不是完美矩形时,这似乎就会发生,例如Firefox中的自动滚动指针或顶部带有小箭头的插件菜单(请参阅下面的屏幕截图以供参考)。 在我的网络浏览器之外还有其他一些像这样的场合,但我现在无法记住任何特别的事情。

由于我的video卡撕裂问题,我需要使用Compton作为我的XFCE桌面环境的合成器,到目前为止我一直非常满意,除了这些阴影的视觉问题。

我认为我的配置文件可能没有最佳设置,我也尝试添加选项detect-rounded-corners = true; 它,但没有任何区别。

这个问题有解决方案吗? 是否有一些良好的康普顿配置,我可以用它作为我的设置的基础一般?

在此处输入图像描述

我的Compton配置文件目前看起来像这样:

 #-------------------------------- #-------Backend Settings:-------- #-------------------------------- backend = "glx"; # Use GLX backend for rendering vsync = "opengl"; # Use OpenGL to implement vsync glx-swap-method = 3; # Use a triple-buffer paint-on-overlay = true; # Improves performance (usually) and reduces flickering glx-no-stencil = true; # Improves performance glx-no-rebind-pixmap = true; # Improves performance with rapid window changes, might not work with some drivers #-------------------------------- #--------Shadow Settings:-------- #-------------------------------- shadow = true; # Enable drawing shadows on windows shadow-radius = 8; # The blur radius for shadows shadow-offset-x = -8; # The horizontal offset for shadows shadow-offset-y = -8; # The vertical offset for shadows clear-shadow = true; # Zero the part of the shadow's mask behind the window, may break some applications no-dock-shadow = true; # Do not draw shadows on docks/panels no-dnd-shadow = true; # Do not draw shadows on DND windows shadow-exclude = [ # Do not draw shadows on these specific applications: #"! name~=''", "n:e:Notification", "n:e:Plank", "n:e:Docky", "g:e:Synapse", "g:e:Kupfer", "g:e:Conky", "n:w:*dockbarx*", #"n:w:*Firefox*", #"n:w:*Chrome*", #"n:w:*Chromium*", "class_g ?= 'Notify-osd'", "class_g ?= 'Cairo-dock'", "class_g ?= 'Xfce4-notifyd'", "class_g ?= 'Xfce4-power-manager'" ]; #-------------------------------- #--------Fading Settings:-------- #-------------------------------- fading = true; # Enable fading windows during opacity changes fade-delta = 4; # The time between steps in a fade in milliseconds fade-in-step = 0.03; # The opacity change between steps while fading in fade-out-step = 0.03; # The opacity change between steps while fading out detect-client-opacity = true; # Prevent opacity from being ignored for some applications #-------------------------------- #--------Window Settings:-------- #-------------------------------- wintypes: # Change behavior for these specific types of windows: { tooltip = { fade = true; shadow = false; }; }; detect-rounded-corners = true; 

我之前有过另一个配置,但是这个问题也存在。

我的硬件如下:

  MB Gigabyte GA-H97 HD3 CPU Intel Xeon E3-1231 (No AGP) RAM 32GB DDR3 GPU Nvidia Quadro 5000 2560x1080 Display, 60 Hz, connected via DisplayPort 

如果您正在谈论隐私獾阴影,那么可以通过在shadow-exclude列表中添加以下行来解决此问题:

 "class_g = 'Firefox' && argb" 

它将从这些窗口中删除阴影,但将其保留在菜单(如果未禁用)和主窗口上。 来源就在 这里 。 关于这个问题有一些解释。