I love Kwin's blur effect, especially the new one in Plasma 5.13. The only bad thing is that the blur effect does not work during window animations (supposedly one has a special window decoration that has transparency, so that blur is enabled within the window). For example, with the "Slide back" effect, a transparent window loses its nice blur effect during the whole slide back animation. Same thing for the "Magic lamp" effect. Would it be difficult to modify Kwin so that the blur effect occurs even during animations ?
It depends. In some animations it might be possible. E.g. for slideback I imagine it could be possible, for magic lamp on the other hand it's probably not possible as the windows are distorted. Also for some animations it is enabled.
As far as I remember, effects like Blur or Background contrast tend to do nothing for transformed windows. Unless some special roles are set. So, with Magic Lamp it is expected to not have blur behind transformed windows. I think forcing blur for Magic Lamp would produce really bad results. Yet, forcing blur for Slide back could be ok. I think it's doing only translation and scaling.
Oh, Martin already answered. :D
(In reply to Vlad Zagorodniy from comment #3) > Oh, Martin already answered. :D and we are consistent in the answer :-)
In addition to the blur and slide back effect, it seems like maximize effect has also the same problem.
*In addition to the magic lamp and slide back effect
The problem is that the blur works with rectangular regions only, transformed windows won't work properly. I'll upload a few videos as attachments that demonstrate this. For maximize and slide back it can be done (see attachments) with a simple fix, but this would also enable blur for wobbly windows and magic lamp, I don't know how to differentiate between these animation types.
Created attachment 111378 [details] Wobbly windows with blur
Created attachment 111380 [details] Maximize window currently
Created attachment 111381 [details] Maximize window patched
Created attachment 111382 [details] Slide back currently
Created attachment 111383 [details] Slide back patched
As you can see, as long as the blur area is rectangular then it's not a problem, and can be easily patched.
Thanks for all the answers, and the patches ! Yeah I disabled wobbly windows (one of my favorites effects) because of the lack of blur during moving windows. And it is true that the problem occurs in the Maximized efffect too. I think it's really cool if some of the effects can already be patched (slide back and maximized). For now I can't think of any other effect that needs blurring.
This has been fixed for animations and effects that do not modify the shape of the window: - Slideback: https://phabricator.kde.org/D12625 - Maximize: https://phabricator.kde.org/D12623 - Desktop grid: https://phabricator.kde.org/D12620 - Present windows: https://phabricator.kde.org/D12619
I can confirm on Plasma beta !
Plasma 5.13 beta
(In reply to tromzy from comment #16) > I can confirm on Plasma > beta ! By this you mean that you confirm that it is fixed, right?
Yes, I can confirm it is fixed on Plasma 5.13 beta.
*** Bug 395494 has been marked as a duplicate of this bug. ***
I noticed an animation where the blur effect can be added : When alt-tabbing between applications, there are several animation effects to chose from, the first one (which is "défilement circulaire" in french, I don't know in english) could be tweaked to add blur effect.
Created attachment 113562 [details] flip_switch I assume you mean "flip switch". This is a bit more difficult since the window shape is not really rectangular. I currently have no intention to implement non-rectangular blur areas.
I'm talking about this effect : https://i.imgur.com/0EQYf0n.png It is not rectangular ?
(In reply to tromzy from comment #23) > I'm talking about this effect : https://i.imgur.com/0EQYf0n.png > > It is not rectangular ? If the window is in the middle then it is rectangular, but if the blurred window would be on the left or right side then it wouldn't be, and not to speak of the reflections under the windows... Having only the middle window blurred would be annoying too. We can only hope someone with a brave soul will implement it.