blur: toggling blur back on doesn't show until the window redraws
Wayfire version: 0.11.0 (Arch Linux package wayfire 0.11.0-1)
GPU: NVIDIA GeForce RTX 2060, nvidia-open-dkms 615.78.08, kernel 7.2
What happens
With blur enabled and a mouse-button toggle bound ([blur] toggle = <super> <alt> BTN_MIDDLE), toggling blur off on a translucent window takes effect immediately, but toggling it back on does not show until the window redraws. The window stays sharp until you type in it, move it, or something else repaints it; then the blur appears.
Steps to reproduce
[blur]enabled withblur_by_default = type is "toplevel"andtoggle = <super> <alt> BTN_MIDDLE.- Open a translucent terminal (Alacritty with opacity < 1): the desktop behind it is blurred.
- Super+Alt + middle-click the terminal: the blur goes away at once (expected).
- Super+Alt + middle-click it again and leave the terminal idle: it stays sharp.
- Type a character in the terminal, or move the window a little: now the blur is back.
Expected
The blur shows right after step 4, the same way removing it shows right after step 3.
Notes
In plugins/blur/blur.cpp (v0.11.0) the toggle callback does the right thing (pop_transformer() when a blur_node_t is present, add_transformer() otherwise), so the blur node is added; it looks like adding the transformer does not schedule a repaint/damage of the view, while removing it does. Related but different from #1556 (that one was a keyboard binding on this button option).
Steps to reproduce
[blur]enabled withblur_by_default = type is "toplevel"andtoggle = <super> <alt> BTN_MIDDLE.- Open a translucent terminal (Alacritty with opacity < 1): the desktop behind it is blurred.
- Super+Alt + middle-click the terminal: the blur goes away at once (expected).
- Super+Alt + middle-click it again and leave the terminal idle: it stays sharp.
- Type a character in the terminal, or move the window a little: now the blur is back.
I tested using these steps but the expected happens; I cannot reproduce. I would recommend checking if the latest git version of wayfire has the same problem. Here is the wayfire --version string:
$ wayfire --version
0.12.0-e91ba81d (Oct 26 2026) branch master wlroots-0.20.2
Thanks. I installed wayfire-git (0.12.0-e91ba81d, wlroots 0.20.2) and the blur now comes back immediately on the second toggle, both on Intel graphics and on an RTX 2060 with nvidia-open. Fixed on master, closing.