picom icon indicating copy to clipboard operation
picom copied to clipboard

Menu's/Dropdown's and modal's ignore opacity rules?

Open nPHYN1T3 opened this issue 2 years ago • 0 comments

Platform

Garuda (Arch) Soaring

GPU, drivers, and screen setup

nVidia 515.57 GTX 1060 GTX 1660

glxinfo -B Output

name of display: :0.1 display: :0 screen: 0 direct rendering: Yes Memory info (GL_NVX_gpu_memory_info): Dedicated video memory: 6144 MB Total available memory: 6144 MB Currently available dedicated video memory: 5466 MB OpenGL vendor string: NVIDIA Corporation OpenGL renderer string: NVIDIA GeForce GTX 1660/PCIe/SSE2 OpenGL core profile version string: 4.6.0 NVIDIA 515.57 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 515.57 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 515.57 OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20

display: :0 screen: 1 direct rendering: Yes Memory info (GL_NVX_gpu_memory_info): Dedicated video memory: 6144 MB Total available memory: 6144 MB Currently available dedicated video memory: 5746 MB OpenGL vendor string: NVIDIA Corporation OpenGL renderer string: NVIDIA GeForce GTX 1060 6GB/PCIe/SSE2 OpenGL core profile version string: 4.6.0 NVIDIA 515.57 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 515.57 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 515.57 OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20

Environment

ctwm

picom version

vgit-7e568 Version: vgit-7e568

Extensions:

  • Shape: Yes
  • XRandR: Yes
  • Present: Present

Misc:

  • Use Overlay: No (Another compositor is already running)
  • Config file used: /home/shed/.config/picom.conf

Drivers (inaccurate):

NVIDIA

Backend: glx

  • Driver vendors:
  • GLX: NVIDIA Corporation, NVIDIA Corporation
  • GL: NVIDIA Corporation
  • GL renderer: NVIDIA GeForce GTX 1060 6GB/PCIe/SSE2

Configuration:

Configuration file backend = "glx"; glx-no-stencil = true; glx-copy-from-front = false; shadow = false; shadow-radius = 5; shadow-offset-x = -5; shadow-offset-y = -5; shadow-opacity = 0.5; log-level = "warn"; log-file = "/tmp/picom.log"; shadow-red = 1; shadow-green = 0.0; shadow-blue = 0.0; shadow-exclude = [ "_GTK_FRAME_EXTENTS@:c", "_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'" ]; shadow-ignore-shaped = false; inactive-opacity = 1; active-opacity = 1; frame-opacity = 1; inactive-opacity-override = false; blur-background-fixed = false; blur-background-exclude = [ "window_type = 'dock'", "window_type = 'desktop'", "_GTK_FRAME_EXTENTS@:c" ]; fading = false; fade-delta = 4; fade-in-step = 0.03; fade-out-step = 0.03; fade-exclude = []; mark-wmwin-focused = true; mark-ovredir-focused = true; use-ewmh-active-win = true; detect-rounded-corners = true; detect-client-opacity = true; vsync = false; dbe = false; unredir-if-possible = true; focus-exclude = [ ]; detect-transient = true; detect-client-leader = true; wintypes: { tooltip = { fade = false; shadow = false; opacity = 1; focus = true;}; dock = { shadow = false; } dnd = { shadow = false; } popup_menu = { opacity = 1; } dropdown_menu = { opacity = 1; } }; xrender-sync-fence = true; opacity-rule = [ "98:class_g = 'Geany' && focused", "60:class_g = 'Geany' && !focused", # "100:class_g = 'Pale moon' && focused", # "60:class_g = 'Pale moon' && !focused", "92:class_g = 'Sakura' && focused", "60:class_g = 'Sakura' && !focused", "92:class_g = 'term0' && focused", "60:class_g = 'term0' && !focused", "92:class_g = 'term1' && focused", "60:class_g = 'term1' && !focused", "92:class_g = 'term2' && focused", "60:class_g = 'term2' && !focused", "92:class_g = 'term3' && focused", "60:class_g = 'term3' && !focused", "92:class_g = 'term4' && focused", "60:class_g = 'term4' && !focused", "92:class_g = 'term5' && focused", "60:class_g = 'term5' && !focused", "80:class_g = 'journalctl'", ];

Steps of reproduction

Start up picom and interact with anything declared to have an opacity change that has modal, dropdown or popup menus. The menu's will ignore the focused opacity and render with an undeclared opacity.

Expected behavior

Given wintypes is set to popup_menu = { opacity = 1; } dropdown_menu = { opacity = 1; } I'd expect all menu's, modal's and popup's to be completely opaque. At the very least they should mirror their parent window but they don't. While a parent window is rendered at say 92% the problematic UI will be rendered at much less making them unreadable at times.

Current Behavior

Bits of UI ignore the config and are unreadable at times.

nPHYN1T3 avatar Jul 17 '22 04:07 nPHYN1T3