コンプトン: 影の表示が間違っていますか (お気に入りの設定)?

コンプトン: 影の表示が間違っていますか (お気に入りの設定)?

Compton 複合マネージャーの影の表示に問題が発生しています。特定の状況では、影のフレームが、それが適用されるウィンドウを超えてしまい、その周囲に目に見える境界線と透明なボックスのようなものが残ります。

これは、Firefox の自動スクロール ポインターや上部に小さな矢印が付いたアドオン メニューなど、ウィンドウまたはフレーム オーバーレイが完全に長方形でない場合に必ず発生するようです (下のスクリーンショットを参照してください)。Web ブラウザー以外でも、このような状況はいくつかありますが、現時点では特に何も思い出せません。

ビデオ カードのティアリングの問題のため、XFCE デスクトップ環境のコンポジターとして Compton を使用する必要がありますが、これらの影の視覚的な問題を除けば、これまでのところ非常に満足しています。

設定ファイルが最適に設定されていないのではないかと思い、オプションを追加してみましたdetect-rounded-corners = true;が、何も変わりませんでした。

この問題の解決策はありますか? また、一般的な設定のベースとして使用できる優れた Compton 構成はありますか?

ここに画像の説明を入力してください

現時点での私の 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

答え1

Privacy Badger Shadow について話している場合は、次の行をリストに追加することでこの問題を解決できますshadow-exclude

"class_g = 'Firefox' && argb"

このようなウィンドウから影を削除しますが、メニュー(無効になっていない場合は)とメインウィンドウには影を残します。ソースはこここここの問題についてはいくつか説明があります。

関連情報