-
Notifications
You must be signed in to change notification settings - Fork 10
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
Shadows not rendering rounded #13
Comments
How do you are executing picom? Lke this?:
Or you have another flags? |
It works in my system, I test it in Arch Linux for these window managers:
And all works perfectly: Complete screenshot
My
|
So, first of all: Awesome desktop. Your setup looks really good. Second: I have been running picom with no flags, I just used the '-b' flag and nothing changed. Third, I don't think your system is "working perfectly" according to what I'd like to see happen. From what I can tell, on both your system and what I ended up doing on my own system, picom isn't actually curving the shadow, but rather you are cranking the blur radius to achieve an effect that is too close to tell the difference. You can see this clearly if you start with you 'shadow-radius' at something like 5 (which will be a clear rectangle), and then step your way up by 5. You will see that it's a rectangular shadow the entire time, but it just gets blurrier. According to the sample.conf file for picom, the 'shadow-radius' property is not the radius of the corner of the shadow, but rather the radius of the blur. So, my issue is that I want a clear an distinct shadow, with a defined curve, but my only option is a rectangular shadow with blur so high that it looks round. What you've done by raising the shadow-radius and the shadow-offsets to high numbers is what I would consider a work-around. It is the work around I am currently using, but I'd like to see an improvement where I can have a crisp round shadow. |
Thank you very much! :)
You are absolutely right, I had not noticed, certainly there is a problem with this, however, this is much better than how the original picom handles it, the original picom does not curve the shadow, as far as I could test, the original picom places the edges rounded but with a square shadow (assuming the window edge is square), which I personally would prefer and can live using picom the way I set it up ... certainly this is a big problem with picom :v |
Sorry for my english :( there may be some inconsistencies in some words ... |
GPU, drivers, and screen setup
"glxinfo -B" output:
Environment
I'm running i3-gaps on Arch
picom version
vgit-a9977
Configuration:
Steps of reproduction
Expected behavior
I would expect or like for the drop-shadows for the applications to share the rounded corners of the applications themselves.
Current Behavior
Picom seems to detect the application itself as not being rounded (since picom is rounding it instead of the application itself being round), and creates a non-rounded shadow
Other details
Screenshot of polybar
![squareshadow](https://user-images.githubusercontent.com/87867505/126804941-55b1d66b-d91a-46a2-9a77-3947f1d7b185.png)
I can make this significantly better by upping the blur-radius, but that option isn't really intended to shape the shadow, I'd love for the shadow to be the exact shape of the application it's shadowing even with no blur.
Options I tried that seemed not to fix it
I tried changing the
shadow-ignore-shaped
and thedetect-rounded-corners
in every combination, to no effect.It's possible that there is a configuration option I'm missing, so I'd love to know if that's the case. If not I'd be willing to try and help fix this if someone could point me in the right direction.
Thanks
The text was updated successfully, but these errors were encountered: