Skip to content

plugins/blur: Fix blurred region sticking outside panel popups

Vlad Zahorodnii requested to merge work/zzag/blur-fractional-scaling-glitch into master

The blur geometry is scaled in the global coordinate space, while it works fine with integer scale factors, it's not okay with fractional scale factors as it doesn't match how the ItemRenderer snaps quads to the pixel grid.

Note that blur behind apps can be still off by one pixel, but it should be harder to notice it. In order to fix it, it would be great to apply effects behind Items, which is on my todo list.


This bug has been bugging me for quite a while on my 150% scaled output

Screenshot_20240211_211622

(^ current state in master: kickoff has a fake outline)

Screenshot_20240211_211735

Edited by Vlad Zahorodnii

Merge request reports