-
-
Notifications
You must be signed in to change notification settings - Fork 80
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
Broken application blur on Wayland if fractional scaling is off #528
Comments
Thanks for the testing, so I'm not alone with this issue! I will try to find a variable to know whether or not the user uses fractional scaling, and change the behaviour accordingly. That's a shame though that it is so hard to get right... |
Should we perhaps revert the commit until a solution is found? After all, fractional scaling is an experimental feature, it's better to break it than to break the default. |
@aunetx I just checked and if "scale-monitor-framebuffer" experimental feature is turned off the size of blur actors is double the size of what it should be. Presumably that's what it should have branched on. On the screenshot I assume that's also what happened - the blur actor from the left window extended to the right one over the right terminal and the background between terminals on the screenshot is also blurred. So this bug I assume is incorrect, it has nothing to do with blurring unfocused windows, probably just looked that way because of tiling |
I agree. I will edit the title accordingly. |
Hello, does #534 works for you? It should check if the experimental feature is enabled before using the scaling divisor! |
Works well for me, both with and without scale-monitor-framebuffers. I didn't test x11 apps though, would be good if someone else checks it |
I checked both on x11 session and wayland session; the latter both with native wayland and xwayland apps, with and without scale-monitor-framebuffers. Everything works. (Other than what I assume is a missing import, as I wrote in the #534 discussion. I had to add a line |
v55, when fractional scaling is off, unfocused windows are incorrectly blurredThe window on the left is focused. On the unfocused windows, the entire thing is blurred instead of only the background.(See EDIT below.)
I think commit e242657 is the culprit, because when I revert it the problem disappears. But the commit fixes #362. So basically the situation is:
EDIT: I had an incorrect understanding of the issue (thanks to @alesya-h for pointing it out). It's not inherently about blurring of unfocused windows, but about the size and placement of the blur box. This screenshot shows it more clearly.
![Screenshot from 2024-02-20 17-05-24](https://private-user-images.githubusercontent.com/34260584/306460661-fd1d70f2-7a4d-46ea-85e4-feb6505f0085.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTg0NDQ3NTEsIm5iZiI6MTcxODQ0NDQ1MSwicGF0aCI6Ii8zNDI2MDU4NC8zMDY0NjA2NjEtZmQxZDcwZjItN2E0ZC00NmVhLTg1ZTQtZmViNjUwNWYwMDg1LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA2MTUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNjE1VDA5NDA1MVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWYwMGMwMGIxYThhMjYwZDI5NWJhZjgwNTJjMWJiNzdmMWRmZWZlZTIxZjUwNjk3M2IxZjIzODVjN2I2YTNhOWUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.IUxbwwI_kSbOKZ0Yfx5rB40TT9YT54iuVmHmxpyf6O0)
If there are multiple windows on-screen, the unfocused ones will be put behind the blur box of the focused window, thus it looks like unfocused windows are incorrectly blurred.
![Screenshot from 2024-02-20 17-05-58](https://private-user-images.githubusercontent.com/34260584/306461053-ea5443a8-3ce5-4568-8542-f9a7243753ea.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTg0NDQ3NTEsIm5iZiI6MTcxODQ0NDQ1MSwicGF0aCI6Ii8zNDI2MDU4NC8zMDY0NjEwNTMtZWE1NDQzYTgtM2NlNS00NTY4LTg1NDItZjlhNzI0Mzc1M2VhLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA2MTUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNjE1VDA5NDA1MVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTAwMjQ5YzRjZmViY2UxYmZmYjJkNWFkM2E0Y2ZiYzg1ZWJkYWFlMDQzODM4ZTU0NTlkYTkzNDFmYjQ1NTY3OTgmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.a5EUviZP6i-jZStbdhzE6OUitxM8VD40J4FB0P0qffk)
The text was updated successfully, but these errors were encountered: