You are not logged in.

#1 2014-05-12 00:04:48

pavkonti
Member
Registered: 2013-11-06
Posts: 13

[Solved] Compton Problem

I have the following problem with Calculator and Gedit. There is transparent bar. You can also see the normal Gimp next to it. I use XFCE.

2e2qi6t.png

Compton settings

backend = "glx"; # Enables Opengl backend
paint-on-overlay = true; # These 3 can improve performance, work well in most cases
glx-no-stencil = true;
glx-no-rebind-pixmap = true;
vsync = "opengl-swc"; # Enables one of the vsync methods. Check here for more info: https://github.com/chjj/compton/wiki/vsync-guide

# Shadow
shadow = true;            # Enabled client-side shadows on windows.
no-dock-shadow = true;        # Avoid drawing shadows on dock/panel windows.
no-dnd-shadow = true;        # Don't draw shadows on DND windows.
clear-shadow = true;        # Zero the part of the shadow's mask behind the window (experimental).
shadow-radius = 7;        # The blur radius for shadows. (default 12)
shadow-offset-x = -7;        # The left offset for shadows. (default -15)
shadow-offset-y = -7;        # The top offset for shadows. (default -15)
shadow-exclude = [
 "! name~=''",
 "n:e:Notification",
 "n:e:Plank",
 "n:e:Docky",
 "g:e:Synapse",
 "g:e:Kupfer",
 "g:e:Conky",
 "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'"
];

# Due to how compton draws shadows, some apps will have "glitchy" shadows. I've added all problem apps I ran into here.
#"! name~=''" excludes shadows on "unkown" windows, which fixes a shadow glitch with XFWM's alt tab switcher.

# Fading
fading = true; # Fade windows during opacity changes.
fade-delta = 4; # The time between steps in a fade in milliseconds. (default 10).
fade-in-step = 0.03; # Opacity change between steps while fading in. (default 0.028).
fade-out-step = 0.03; # Opacity change between steps while fading out. (default 0.03).
#no-fading-openclose = true; # Fade windows in/out when opening/closing

detect-client-opacity = true; #Fixes opacity in some apps, such as xfce4-notifyd

# Window type settings
# Disables shadows on tooltips and enables fading on tooltips

wintypes:
{
  tooltip = { fade = true; shadow = false; };
};

If you need more information, let me know.

Thank you

Last edited by pavkonti (2014-05-12 00:08:56)

Offline

#2 2014-05-12 00:20:06

headkase
Member
Registered: 2011-12-06
Posts: 2,008

Re: [Solved] Compton Problem

Since you didn't post your solution, I had the same problem with GTK3 apps on Xfce with Compton.  The solution is to disable Compton's shadows.  So, "shadow = true;" to "shadow = false;" is what fixes it.

Offline

#3 2014-05-12 00:48:51

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,737
Website

Re: [Solved] Compton Problem

Disabling all shadows seems a bit overkill, just add any gtk3 apps to shadow-exclude.

Related: https://github.com/chjj/compton/issues/189


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#4 2014-05-12 01:34:12

headkase
Member
Registered: 2011-12-06
Posts: 2,008

Re: [Solved] Compton Problem

Thank you WorMzy,

Modifying my exclude to this:

shadow-exclude = [ "n:e:Notification", "_GTK_FRAME_EXTENTS@:c" ];

Fixes GTK3 apps with Compton's shadowing enabled.  As you said, no need to use a hatchet instead of a scalpel.

Offline

#5 2014-05-12 11:42:36

pavkonti
Member
Registered: 2013-11-06
Posts: 13

Re: [Solved] Compton Problem

I did the same.

shadow-exclude = [ "_GTK_FRAME_EXTENTS@:c" ]

Offline

Board footer

Powered by FluxBB