You are not logged in.

#1 2026-01-17 01:34:07

ArchyLife
Member
Registered: 2025-11-24
Posts: 47

Anyone Use Picom? - All QT MenusTransparent Can't Make Opaque

Hi,

I'm using picom under i3, and it's my understanding that maybe a lack of QT6 support in picom as the problem, because I don't recall seeing this in the past with QT5.

All menus, especially drop down menus are transparent and I've not been able to figure out a way to remove the transparency 100% and make them opaque.

I'm hoping someone here uses picom, or has knowledge about this, and if it's possible to fix.

THANKS

Here's my picom config;

# Animations
transition-length = 50
transition-pow-x = 0.1
transition-pow-y = 0.1
transition-pow-w = 0.1
transition-pow-h = 0.1
size-transition = true

# Corners
corner-radius = 10.0;

rounded-corners-exclude = [
  #"window_type = 'normal'",
  "class_g = 'Dunst'",
  "class_g = 'Polybar'"
];

round-borders = 1;
round-borders-exclude = [
  "class_g = 'Dunst'",
  "class_g = 'Polybar'"
];

# Shadows
shadow = true;
shadow-radius = 12;
shadow-opacity = 0.9;
shadow-offset-x = -7;
shadow-offset-y = -7;

shadow-exclude = [
  "class_g = 'Conky'",
  "class_g = 'Polybar'",
  "argb && (override_redirect || wmwin) && class_g != 'Rofi' && class_g != 'rofi'"
];

# Fading
fading = true;
fade-in-step = 0.06;
fade-out-step = 0.03;
# fade-delta = 10

fade-exclude = [
  "class_g = 'fr.handbrake.ghb'"
];

# no-fading-openclose = false
no-fading-destroyed-argb = true

# Transparency / Opacity
inactive-opacity = 1;
frame-opacity = 0.7;
inactive-opacity-override = false;
active-opacity = 1.0
inactive-dim = 0.2

focus-exclude = [
  "class_g = 'Conky'",
  "class_g = 'Dunst'",
  "class_g = 'fr.handbrake.ghb'",
  "class_g = 'KeePassXC'",
  "class_g = 'Polybar'"
];

# inactive-dim-fixed = 1.0
opacity-rule = [
  "100:class_g    = 'Dunst'",
  "100:class_g    = 'feh'",
  "100:class_g    = 'fr.handbrake.ghb'",
  "100:class_g    = 'KeePassXC'",
  "100:class_g    = 'Kid3'",
  "100:class_g    = 'kitty'",
  "80:class_g     = 'Polybar'",
  "100:class_g    = 'URxvt'",
  "100:class_g    = 'XTerm'"
];

# Background-Blurring
blur: {
  # requires: https://github.com/ibhagwan/picom
  method = "dual_kawase";
  strength = 8;
  deviation = 0.0;
  kernel = "11x11gaussian";
  background = false;
  background-frame = false;
  background-fixed = false;
  kern = "3x3box";
}
blur-background-exclude = [
  "class_g = 'Conky'",
  "class_g = 'Dunst'",
  "class_g = 'feh'",
  "class_g = 'fr.handbrake.ghb'",
  "class_g = 'Polybar'",
  "argb && (override_redirect || wmwin)"
];

# daemon = false
experimental-backends = false;
backend = "glx";
vsync = true
# dbus = false
mark-wmwin-focused = true;
mark-ovredir-focused = true;
detect-rounded-corners = true;
detect-client-opacity = true;
# sw-opti =
# use-ewmh-active-win = false
unredir-if-possible = true
# unredir-if-possible-delay = 0
# unredir-if-possible-exclude = []
detect-transient = true
detect-client-leader = true
# resize-damage = 1
# invert-color-include = []
glx-no-stencil = true
# glx-no-rebind-pixmap = false
# no-use-damage = false
use-damage = false
# xrender-sync-fence = false
# glx-fshader-win = ''
# force-win-blend = false
# no-ewmh-fullscreen = false
# max-brightness = 1.0
# transparent-clipping = false
log-level = "info";
# log-file = '/path/to/your/log/file'
# show-all-xerrors = false
# write-pid-path = '/path/to/your/log/file'
# Window type settings
wintypes:
{
  normal = { fade = false; shadow = true; }
  tooltip = { fade = true; shadow = true; opacity = 1.0; focus = true; full-shadow = false; };
  dock = { shadow = false; }
  dnd = { shadow = false; }
  menu = { opacity = 1.0; }
  popup_menu = { opacity = 1.0; }
  dropdown_menu = { opacity = 1.0; }
}

P.S. After posting this, I failed to mention I use Kvantum for QT theming, and I notriced there are some Kvantum themes that have more transparent menus that I was not able to make opaque using picom. So I don't know if picom could also be an issue, or when it comes to using Kvantum themes, you have to adjust the transparency for them in Kvantum not picom. For now I'll just change the Kvantum theme to one I found with opaque menus.

Last edited by ArchyLife (2026-01-17 06:13:38)

Offline

#2 2026-01-17 09:09:29

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 73,520

Re: Anyone Use Picom? - All QT MenusTransparent Can't Make Opaque

when it comes to using Kvantum themes, you have to adjust the transparency for them in Kvantum not picom

If those windows have an alpha channel, changing the window opacity won't do anything.
You could downforce the argb aspect in picom w/ a custom shader, but that would also affect client side shadows and  rounded corners etc. => fix the client, ie. change the kvantum config.
You can run

QT_STYLE_OVERRIDE=Fusion sqriptor

to check the look w/ the Fusion style to determine whether this is coming from quantum

Offline

Board footer

Powered by FluxBB