Skip to content

Conversation

winstonma
Copy link
Contributor

  • Defer widget width access until widgets are on stage
  • Defer animation creation until widgets are on stage
  • Add proper cleanup in destroy() to remove transitions and disconnect handlers
  • Destroy old labels before creating new ones to prevent orphaned animations

Fixes 'st_widget_get_theme_node called on widget not in stage' and 'Timelines with detached actors are not supported' warnings

- Defer widget width access until widgets are on stage
- Defer animation creation until widgets are on stage
- Add proper cleanup in destroy() to remove transitions and disconnect handlers
- Destroy old labels before creating new ones to prevent orphaned animations

Fixes 'st_widget_get_theme_node called on widget not in stage' and
'Timelines with detached actors are not supported' warnings

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
@winstonma winstonma force-pushed the fix/widget-stage-warnings branch from bd81af2 to 8ae9b7f Compare October 13, 2025 08: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.

1 participant