PiP (Picture-in-Picture) window does not update its frames properly
I am currently using Hyprland 0.54.2, and once I had a properly functioning Picture-in-Picture, but after updating to some version, I don't know exactly when, it was probably 0.51 or 0.52 or 0.53, I'm not entirely sure when exactly (I assume 0.52), at that point PiP window was broken and never was fixed since then.
I didn't report anything because I thought they might notice themselves and I just need to wait and it will be fixed eventually but apparently not: this bug haunts me for many months already. So currently after many syntax updates I have something like this:
windowrule = match:title ^(Picture in picture)$, float on, pin on, no_focus on, workspace special:pip silent, render_unfocused = on
Honestly most of these options don't do anything, I tried removed them, tried adding them, nothing fixed the behavior so I think there nothing I can do about in via the means of simply changing the config.
The only time when the window actually works – is when the tab from which the PiP video comes from, is currently active. Then the PiP video works well. But if I go to another tab, or to another workspace – the video starts to strongly lag, it's not even 10 fps, maybe like 3-4 unstable fps. Also interesting behavior – if background window does update its frames (due to scrolling for example) then this foreground PiP window is also updated properly. Before that, PiP window did work well no matter on which tab I am or on which workspace. Now broken.
I don't know whether they brought some «optimization» for unused windows that falsely considers PiP window as a background task not worth updating or if that's just a bug, anyway –
Anyone heard of this issue / knows how to solve?