Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

100% opacity option is broken again #221

Closed
gmtrd opened this issue Aug 10, 2019 · 3 comments
Closed

100% opacity option is broken again #221

gmtrd opened this issue Aug 10, 2019 · 3 comments
Labels
not reproduced The developers have tried but failed to reproduce the issue

Comments

@gmtrd
Copy link

gmtrd commented Aug 10, 2019

Platform

5.2.6-arch1-1-ARCH

GPU, drivers, and screen setup

GeForce GTX 970, nvidia-drivers 430.40, one monitor

name of display: :0
display: :0  screen: 0
direct rendering: Yes
Memory info (GL_NVX_gpu_memory_info):
    Dedicated video memory: 4096 MB
    Total available memory: 4096 MB
    Currently available dedicated video memory: 3794 MB
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: GeForce GTX 970/PCIe/SSE2
OpenGL core profile version string: 4.6.0 NVIDIA 430.40
OpenGL core profile shading language version string: 4.60 NVIDIA
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile

OpenGL version string: 4.6.0 NVIDIA 430.40
OpenGL shading language version string: 4.60 NVIDIA
OpenGL context flags: (none)
OpenGL profile mask: (none)

OpenGL ES profile version string: OpenGL ES 3.2 NVIDIA 430.40
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20

Environment

Openbox with some XFCE4 components and Polybar

Compton version

v7.1

Compton configuration:

# Shadow
shadow = true;
shadow-radius = 7;
shadow-offset-x = -7;
shadow-offset-y = -7;
log-level = "warn";
# log-file = "/path/to/your/log/file";
# shadow-opacity = 0.7;
# shadow-red = 0.0;
# shadow-green = 0.0;
# shadow-blue = 0.0;
shadow-exclude = [
	"name = 'Notification'",
	"class_g = 'Conky'",
	"class_g ?= 'Notify-osd'",
	"class_g = 'Cairo-clock'",
	"_GTK_FRAME_EXTENTS@:c"
];
# shadow-exclude = "n:e:Notification";
# shadow-exclude-reg = "x10+0+0";
# xinerama-shadow-crop = true;

# Opacity
inactive-opacity = 1.0;
# active-opacity = 1.0;
frame-opacity = 1.0;
inactive-opacity-override = false;
# inactive-dim = 0.2;
# inactive-dim-fixed = true;
blur-background = true;
#blur-background-frame = true;
# TESTING NOTICEABLE BLUR
blur-kern = "7x7gaussian";
#blur-kern = "5,5,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1";
#blur-background-fixed = true;
blur-background-exclude = [
	"window_type = 'dock'",
	"window_type = 'desktop'",
	"_GTK_FRAME_EXTENTS@:c"
];

opacity-rule = [ "100:class_g = 'kitty'" ];

# Fading
fading = true;
# fade-delta = 30;
fade-in-step = 0.03;
fade-out-step = 0.03;
# no-fading-openclose = true;
# no-fading-destroyed-argb = true;
fade-exclude = [ ];

# Other
backend = "glx";
mark-wmwin-focused = true;
#REMEMBER THIS
mark-ovredir-focused = false;
# use-ewmh-active-win = true;
detect-rounded-corners = true;
detect-client-opacity = true;
refresh-rate = 60;
vsync = true;
# sw-opti = true;
# unredir-if-possible = true;
# unredir-if-possible-delay = 5000;
# unredir-if-possible-exclude = [ ];
focus-exclude = [ "class_g = 'Cairo-clock'" ];
detect-transient = true;
detect-client-leader = true;
invert-color-include = [ ];
# resize-damage = 1;

# GLX backend
# glx-no-stencil = true;
# glx-no-rebind-pixmap = true;
xrender-sync-fence = true;
use-damage = true;

# Window type settings
wintypes:
{
  tooltip = { fade = true; shadow = true; opacity = 0.75; focus = true; full-shadow = false; };
  dock = { shadow = false; }
  dnd = { shadow = false; }
  popup_menu = { opacity = 0.86; }
  dropdown_menu = { opacity = 0.86; }
};

Steps of reproduction

opacity-rule = [ "100:class_g = 'kitty'" ]; doesn't give 100% opacity to set window which still gets transparency, the option scales properly with values<100

the composite manager was installed from Arch repos

#1

I'm aware of the pull request linked above, that's why the title says it is broken again? It would seem the problem had already been fixed

also to hopefully gather your attention on the issue

@yshui
Copy link
Owner

yshui commented Aug 10, 2019

Make sure your kitty doesn't have transparency itself.

@yshui yshui added the not reproduced The developers have tried but failed to reproduce the issue label Aug 10, 2019
@gmtrd
Copy link
Author

gmtrd commented Aug 10, 2019

Actually yes, that was the problem but kitty was just an example, actually I tried with Firefox and was mistaken there too, while trying to fix some menus.

What deceived me is, some of them would seem to not be linked to their main software, also looking bad with weird borders, and I still did not solve that.

But the specific one I posted about was actually a non-issue

my bad.

@yshui
Copy link
Owner

yshui commented Aug 10, 2019

Thanks for clarifying

@yshui yshui closed this as completed Aug 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
not reproduced The developers have tried but failed to reproduce the issue
Projects
None yet
Development

No branches or pull requests

2 participants