-
Notifications
You must be signed in to change notification settings - Fork 234
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
All windows (and polybar) have very low opacity, blur doesn't always work. Restarting compton has weird results #51
Comments
Not entirely sure what is causing this, but I guess it is related to You can check the value of said atom with for id in $(xwininfo -tree -root | grep -e '^\s*0x' | sed -re 's/^\s*(0x[0-9a-fA-F]+)\s.*$/\1/g'); do
xprop -frame -id $id -remove "_NET_WM_WINDOW_OPACITY"
done should remove the opacity atoms from all current windows. Please try if this fixes the transparent windows. Other than that it might be also related to similar issues (yshui/picom#470, yshui/picom#471) that seem to originate from some recent dependency update on arch. |
Thanks for the very quick answer. Commenting that line seems to have fixed all opacity issues. The only problem that's left is the blurring: background blur doesn't seem to work until I restart compton a couple of times. |
If this is caused by the same underlying problem, commenting out this line should fix the blur as well. |
Yes! That fixed it! Thank you very much for your help! |
Commenting out those line is just a quickfix around a (currently unidentified) bug. I can not confirm this as I haven't updated my system yet. You can try if a simple clean rebuild of picom fixes the issue. |
I'm using the Arch Linux community version of picom. I reinstalled it and it does not survive a reboot. Thanks for the temp fix though. |
Platform:
Arch 5.8.3-arch1-1
GPU, drivers, and screen setup:
i7 7700HQ, Nvidia GTX 1050, nvidia proprietary drivers
450.66-14
, one laptop monitor, one monitor connected to HDMI, one connected to DisplayPort. Configured withxrandr
. Running on bspwm.Compton version:
git-v0.1_beta2-95-g241bbc5-2018-02-22
Compton configuration:
https://github.com/zjeffer/dotfiles/blob/master/compton/compton.conf
Started from bspwmrc, which is started from .xinitrc. X is started by LightDM.
Steps of reproduction
Here it has a high chance that all windows including polybar will be very transparent. Even windows that aren't mentioned in the config. The cursor is fine.
Launch some apps like Firefox and your terminal emulator. (for me Firefox doesn't have an opacity rule, but my terminal emulator does)
Restart compton using either a keyboard shortcut that reruns bspwmrc or use a terminal to kill compton, then start it.
In this step, most of the time it makes some windows have very low opacity, some windows have the desired opacity described in the opacity-rules. After 1 restart, polybar has the correct opacity.
Rarely, some windows can have blur. If that's the case, all windows opened from that point forward will also have blur
When everything has low opacity, opening new apps creates windows that have normal opacity.
Here are two images: top is with compton, bottom is without. As you can see, Firefox is very transparent in the first image, even though it isn't in the opacity-rules in compton.conf.
Expected behavior
Windows should have the correct opacity and blur described in
compton.conf
.Other details
This started happening a couple of days ago, seemingly after I reinstalled a lightdm theme. It was installed manually a long time ago but I realized I could install it using pacman.
The next day I completely reinstalled Linux and deleted everything. I used the same config files and had the same exact problem. Is there something wrong with my config file?
The text was updated successfully, but these errors were encountered: