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

Correct issues with animated widgets on GTK #1827

Merged
merged 2 commits into from
Mar 24, 2023

Conversation

freakboy3742
Copy link
Member

The rendering optimisation introduced by #1794 was a little bit too optimised; while a recalculation of geometry isn't required on every redraw, we do need to involve set_allocation() on all child widgets. If this doesn't happen, animations on widgets like Switch and ProgressBar don't get rendered correctly.

Fixes #1826.

PR Checklist:

  • All new features have been tested
  • All new features have been documented
  • I have read the CONTRIBUTING.md file
  • I will abide by the code of conduct

@mhsmith mhsmith merged commit 3306098 into beeware:main Mar 24, 2023
@freakboy3742 freakboy3742 deleted the gtk-animation branch March 26, 2023 23:11
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

Successfully merging this pull request may close these issues.

GTK animated widgets freeze until first resize
2 participants