dccsillag / picom

A lightweight compositor for X11
Other
164 stars 20 forks source link

Animations run on manual resizes #29

Open godalming123 opened 2 years ago

godalming123 commented 2 years ago

Platform

Arch

GPU, drivers, and screen setup

amd

Environment

bspwm

Steps of reproduction

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

dccsillag commented 2 years ago

Sounds interesting.

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

godalming123 commented 2 years ago

Yes that sounds good

godalming123 commented 2 years ago

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!

raven2cz commented 2 years ago

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

godalming123 commented 2 years ago

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 commented 2 years ago

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

raven2cz commented 1 year ago

@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.