peterfajdiga / kwin4_effect_geometry_change

A KWin animation for windows moved or resized by programs or scripts
GNU General Public License v3.0
43 stars 3 forks source link

[FEATURE] Add a delay to the window animation #3

Closed BrunoG1987 closed 1 year ago

BrunoG1987 commented 1 year ago

Summary

Add a customizable delay to trigger the window animation to wait for other effects to conclude.

Behavior on my machine

Screencast_20230621_182753.webm

A clear and concise description of what I want to happen

(First ever post on Github. Please have patience if I have done something wrong!)

peterfajdiga commented 1 year ago

Hi, thanks for the clear and concise report!

I agree that such a work-around would mitigate the visual artifact you demonstrate in the video. However, I don't want to implement it, because in my experience, chaining animations like this feels less responsive/snappy. I haven't seen this in other Kwin effects either. Additionally, I'd prefer to keep this effect as simple as is reasonable.

I would guess that the visual artifact you get is caused by the blur effect (see if disabling blur or transparency solves it). Perhaps a better work-around would be to somehow disable blur while the close animation is playing.

BrunoG1987 commented 1 year ago

Thank you for your point of view! Disabling the blur effect improved quite a lot the overall aesthetic!