-
Notifications
You must be signed in to change notification settings - Fork 631
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 stop when resizing or moving windows #5791
Comments
It's hard to tell from your video and you don't mention, are you running this on Windows? If so I'm wondering if it's related to this bug: #5720 If you are running it on Windows have you tried on Linux? I don't seem to have this issue Linux. |
Sorry for not mentioning it earlier but yeah, I'm running on Windows. I don't have a Linux system to test this on so I can't really say anything about that. I took a look at the issue you linked and it does seem like the same problem. I'm also manually recreating a title bar, and it seems like the event loop hangs whenever the window manager is involved, whether its moving, resizing, or right clicking the titlebar. |
Maybe chime in on that bug and mention the resizing, so the information is all in the same place for whoever looks into fixing it. |
Thanks for filing the issue. I'm going close this one as duplicated of #5720 which itself is a bug in winit. |
I made a my app have a custom GridLayout-like behavoir for displaying an arbitrary number of objects (since
GridLayout
doesn't supportfor
). And I noticed that if I add animations to the objects, they stop moving until window resizing is over or the window stops being dragged.No animations:
2024-08-07.14-07-23.mp4
With animations:
2024-08-07.14-07-54.mp4
It might be slightly hard to tell, but when I start resizing or moving the window, the animation essentially freezes (but the it seems to still be progressing in the background), then when I let go the animation just resumes at a further point.
The text was updated successfully, but these errors were encountered: