Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Animations run on manual resizes #29

Open
godalming123 opened this issue Feb 3, 2022 · 7 comments
Open

Animations run on manual resizes #29

godalming123 opened this issue Feb 3, 2022 · 7 comments

Comments

@godalming123
Copy link

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

@dccsillag
Copy link
Owner

Sounds interesting.

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

@godalming123
Copy link
Author

Yes that sounds good

@dccsillag dccsillag changed the title Glitchy window animations on resize Animations run on manual resizes Feb 3, 2022
@godalming123
Copy link
Author

godalming123 commented May 31, 2022

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
Copy link

raven2cz commented Jul 5, 2022

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

@godalming123
Copy link
Author

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
Copy link
Author

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
Copy link

raven2cz commented Oct 1, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants