Compton: 잘못된 그림자 표시(즐겨찾는 설정)?

Compton: 잘못된 그림자 표시(즐겨찾는 설정)?

Compton 복합 관리자의 그림자 표시에 문제가 있습니다. 특정 상황에서는 그림자의 프레임이 적용되는 창을 초과하여 눈에 보이는 테두리와 그 주위에 일종의 투명한 상자가 남습니다.

이 문제는 Firefox의 자동 스크롤 포인터나 상단에 작은 화살촉이 있는 추가 메뉴와 같이 창이나 프레임 오버레이가 완벽한 직사각형이 아닐 때마다 발생하는 것 같습니다(참조를 위해 아래 스크린샷을 참조하세요). 내 웹 브라우저 외부에서 이와 같은 경우가 몇 가지 더 있지만 현재로서는 특별히 기억나는 것이 없습니다.

내 비디오 카드의 찢어짐 문제로 인해 Compton을 XFCE 데스크탑 환경의 합성기로 사용해야 했으며 이러한 그림자의 시각적 문제를 제외하고는 지금까지 매우 만족했습니다.

내 구성 파일이 최적으로 설정되지 않았을 수도 있다고 생각하여 옵션을 추가해 보았지만 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-exclude.

"class_g = 'Firefox' && argb"

그러한 창에서 그림자를 제거하지만 메뉴(비활성화되지 않은 경우)와 기본 창에는 그대로 둡니다. 출처는여기&여기. 문제에 대한 설명이 있습니다.

관련 정보