A KWin effect to smoothly maximize/restore windows.
Please note this is *not* the right approach to implement smooth size change, so please don't take it too seriously. There's a sudden change in the beginning of animation. That's because the application has already finished maximizing/restoring at that moment, and I simply scale down/up the window to match its old size, and smoothly transit to the new size. So you'll see all text/icons in the window suddenly become smaller, then the whole window scales up.
I don't think this problem can be fixed in a KWin effect. Instead, it should be done in the KWin core to gradually resize the window to the target size, and let the application repaint itself in each step.
But before that happens, maybe you can have some fun with this (flawed) effect. :-)
Extract the package first. In the extracted directory, run:
Then please follow instructions on screen.
If you are updating from an older version of this effect, also run:
to restart KWin.