picom icon indicating copy to clipboard operation
picom copied to clipboard

Animations run on manual resizes

Open godalming123 opened this issue 3 years ago • 7 comments

Platform

Arch

GPU, drivers, and screen setup

amd

Environment

bspwm

Steps of reproduction

  • Just resize a window

Expected behavior

Picom does not try to animate the resize

Current Behavior

picom animates the resize (see: https://youtu.be/0f3Cj5i-s0M look 14s to when I resize the terminal)

Other details

To fix this issue I suggest have a

ignore-resize: 5

So then picom will not animate a resize unless the window dimensions change by more then 5px

godalming123 avatar Feb 03 '22 18:02 godalming123

Sounds interesting.

Do you think a similar option should also exist for translations (i.e., window movement)?

dccsillag avatar Feb 03 '22 18:02 dccsillag

Yes that sounds good

godalming123 avatar Feb 03 '22 18:02 godalming123

Not sure where I should mention this but I have revisited this compositer and it's amazing! I am getting great performance and few dropped frames on qtile. All it needs for me to switch back to xorg (I switched away because wayfire had better animations) is this feature!

godalming123 avatar May 31 '22 10:05 godalming123

Do you have some progress with this issue or workaround? Mainly manual movement and resizing of windows in floating layouts to stop animations.

raven2cz avatar Jul 05 '22 09:07 raven2cz

As far as I'm aware of no but I no longer use this project so it could have been added without this issue being closed

godalming123 avatar Jul 05 '22 16:07 godalming123

But thinking about it on some wm there might be an option to make windows only move on mouse release when you drag or resize them

godalming123 avatar Jul 07 '22 06:07 godalming123

@dccsillag Hello. I have many questions on reddit about your picom fork. All these questions are still about switch off animations for manual movement and resizing windows. It means if the window is manual moved by user, do not start animations.

Do you have some possibility or idea to find solution for it? I think that this is very important issue for any compositor to distinguish what is automatic to animate and what is manual to keep maximal speed without animation.

If you haven't idea or time, please provide any answer. I need some response for questions. Thanks for help.

raven2cz avatar Oct 01 '22 16:10 raven2cz