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

Fade out not working on qt applications in KDE plasma #906

Open
Inu90 opened this issue Oct 15, 2022 · 9 comments
Open

Fade out not working on qt applications in KDE plasma #906

Inu90 opened this issue Oct 15, 2022 · 9 comments

Comments

@Inu90
Copy link

Inu90 commented Oct 15, 2022

Platform

Arch Linux x64
AMD Vega 8 (integrated from a Ryzen 5 3550H laptop apu) latest stable mesa
glxinfo -B, picom --diagnostics and config file

Environment

KDE plasma 5.26

picom version

9.1 according to pacman, vgit-7e568 according to --version

Details

As per the title Dolphin, qbittorrent, Clementine, etc. dont fade out, on the other hand GTK apps (firefox, thunderbird, GIMP) are working as intended.
Also, using xdg-portal's filepicker/save dialog on firefox and that one also doesn't fade out.
Also steam, whatever framework that is using, doesn't fade out.
Fade in works correctly for all apps.

edit:
Only now realized that only fade out on close is broken, fade out on minimize works for everything -except- qbittorrent, since I have it set to minimize to notification area.

@Inu90
Copy link
Author

Inu90 commented Oct 20, 2022

So after a second of clarity I realized the futility of reporting this on stable. Tried git version and still happens, same symptoms.

picom --version
vgit-8a373

@TotallyEz
Copy link

Facing a similar issue ,wherein windows does fade out on destroy/migration to different workspaces ,according to a raised github issue it is a bug,hoping it gets fixed in the next patch as it is a bit off putting. for context im running i3-gaps and im using nvidia drivers with the glx backend but i doubt that has to do anything with it

@yshui
Copy link
Owner

yshui commented Nov 15, 2022

@Inu90 did you disable fade out on close?

@Inu90
Copy link
Author

Inu90 commented Nov 15, 2022

@yshui No, like I said this only happens with qt apps, GTK apps fade out correctly.
Updated earlier today to vgit-9d7cb

@yshui
Copy link
Owner

yshui commented Nov 15, 2022

@Inu90 can you upload your config file please.

@Inu90
Copy link
Author

Inu90 commented Nov 19, 2022

### Fading
fading = true;
fade-in-step = 0.05;
fade-out-step = 0.05;
fade-delta = 17;
fade-exclude = [
        "class_g = 'yakuake'"
]

### Opacity
opacity-rule = [
        "96:class_g = 'plasmashell'"
];



### Shadows
shadow = true;
shadow-exclude = [
        "class_g = 'yakuake'",
        "class_g = 'lattedock'",
        "_GTK_FRAME_EXTENTS@:c",
        "QTILE_INTERNAL@:c",
        "name = 'cpt_frame_xcb_window'",
        "class_g ?= 'zoom'",
        "_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'",
        "_NET_WM_OPAQUE_REGION@:c",
        "class_g = 'TelegramDesktop' && argb",
#       "class_g = 'firefox' && argb",
        "class_g = 'firefox' && window_type = 'popup_menu'",
        "class_g = 'firefox' && window_type = 'utility'",
        "class_g = 'firefox' && window_type = 'tooltip'",
]
xinerama-shadow-crop = true;

### Blur
blur:{
        method = "dual_kawase";
        strength = 7;
#       background = false;
#       background-frame = true;
#       background-fixed = true;
        kern = "3x3box";
}


blur-background-exclude = [
#       "window_type = 'desktop'",
        "_GTK_FRAME_EXTENTS@:c",
        "class_g ?= 'zoom'",
#       "class_g = 'firefox' && argb",
        "class_g = 'firefox' && window_type = 'popup_menu'",
        "class_g = 'firefox' && window_type = 'utility'",
];


### Wintypes
wintypes:{
#       normal = { blur-background = true; };
        splash = { blur-background = false; };
#       popup_menu = { opacity = 0.8; shadow = false; full-shadow = false; };
#       dropdown_menu = { opacity = 0.8; shadow = false; };
        dock = { shadow = false; clip-shadow-above = true; };
        tooltip = { fade = true; shadow = true; opacity = 0.9; focus = true; full-shadow = false; };
        menu = { blur-background = false; };
};

### Backend
backend = "glx";
#backend = "xrender";
vsync = false;

glx-no-stencil = true;
glx-no-rebind-pixmap = false;
xrender-sync-fence = true;
unredir-if-possible = true;

dbus=true;

### Corners
detect-rounded-corners = true;
corner-radius = 5;
rounded-corners-exclude = [
        "class_g = 'yakuake'",
        "window_type = 'dock'",
        "window_type = 'desktop'",
#       "window_type = 'popup_menu'",
        "window_type = 'tooltip'",
];

round-borders = 9;

detect-client-opacity = true;
detect-transient = true;
detect-client-leader = true;

mark-wmwin-focused = true;
mark-ovredir-focused = true;
use-ewmh-active-win = true;

@absolutelynothelix
Copy link
Collaborator

absolutelynothelix commented Dec 5, 2022

can't reproduce in xfce with qbittorrent. kde-specific? but someone reported it to happen in i3 as well...

edit 1: noticed the edit:

Only now realized that only fade out on close is broken

do we even have fade out on close? i don't see it on anything at all, even on xfce4-terminal.

edit 2:
looks like fading on close is broken on glx backend, since it works on xrender one. and i suspect the issue is about this, not about something kde-specific.

@absolutelynothelix
Copy link
Collaborator

absolutelynothelix commented Dec 6, 2022

@yshui, bisecting led me to commit dfe4a36, after it was introduced fading out on close stopped working on glx backend

edit 1: however, reverting it in the current next branch doesn't fix the issue.
edit 2: looks like it's related to commits dfe4a36 and ae62269, i assume fixing #394 mentioned in the second commit broke fading out on close on glx backend.

@yshui
Copy link
Owner

yshui commented Jan 21, 2024

Potentially a duplicate of #704. Can someone test with the latest next branch?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants