Skip to content

SG-43626 Fix bug when details panel collapses/expands#142

Merged
carlos-villavicencio-adsk merged 2 commits into
ticket/SG-43460_migration_4from
ticket/SG-43626_collapse_details_bug
Jun 10, 2026
Merged

SG-43626 Fix bug when details panel collapses/expands#142
carlos-villavicencio-adsk merged 2 commits into
ticket/SG-43460_migration_4from
ticket/SG-43626_collapse_details_bug

Conversation

@carlos-villavicencio-adsk

Copy link
Copy Markdown
Contributor

Base branch: #140

The bug: DeleteWhenStopped makes Qt destroy the C++ animation object when it finishes, but self._current_animation still holds the dead Python wrapper. On the next toggle, .state() crashes on the deleted object.

Fix: connect finished to clear self._current_animation, so the guard if self._current_animation becomes False after it's gone.

When the animation finishes, Qt deletes the C++ object and the finished signal fires — clearing self._current_animation to None before anything can touch the dead wrapper again.

@chenm1adsk chenm1adsk left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@carlos-villavicencio-adsk carlos-villavicencio-adsk merged commit 167d05b into ticket/SG-43460_migration_4 Jun 10, 2026
9 of 24 checks passed
@carlos-villavicencio-adsk carlos-villavicencio-adsk deleted the ticket/SG-43626_collapse_details_bug branch June 10, 2026 18:40
carlos-villavicencio-adsk added a commit that referenced this pull request Jun 10, 2026
* Migrate `BuildAssetDialog` and `BuildTemplateDialog` classes

* Migrate template helpers

* Code review feedback

* Update setting name

* Change MEDM to FlowAM in comments

* Replace MEDM in log messages

* SG-43626 Fix bug when details panel collapses/expands (#142)

* Fix bug when details panel collapses/expands

* SG-43627 Fix empty space gap on the details panel (#143)
carlos-villavicencio-adsk added a commit that referenced this pull request Jun 10, 2026
* Migrate config hooks

* Add type annotations

* Wrap `get_am_base_obj` into the loader action manager

* Wraps constant

* SG-43460 [Part4] Build dialogs and template utils (#140)

* Migrate `BuildAssetDialog` and `BuildTemplateDialog` classes

* Migrate template helpers

* Code review feedback

* Update setting name

* Change MEDM to FlowAM in comments

* Replace MEDM in log messages

* SG-43626 Fix bug when details panel collapses/expands (#142)

* Fix bug when details panel collapses/expands

* SG-43627 Fix empty space gap on the details panel (#143)
carlos-villavicencio-adsk added a commit that referenced this pull request Jun 10, 2026
* Migration of the MEDM resources

* Migration of MEDM core logic

* Fix thumbnail display on version history

* Tentative wrap-up

* Format

* Fix CI: add missing fw

* Update Azure pipelines additional_repositories

* Revert framework additions for CI

* Comment framework for CI

* Test CI green

* Add remaining types

* Fix types

* Code review feedback

* Move  `DRAFT_VERSION_IDENTIFIER`  to constants

* SG-43458 [Part3] Config Hooks (#139)

* Migrate config hooks

* Add type annotations

* Wrap `get_am_base_obj` into the loader action manager

* Wraps constant

* SG-43460 [Part4] Build dialogs and template utils (#140)

* Migrate `BuildAssetDialog` and `BuildTemplateDialog` classes

* Migrate template helpers

* Code review feedback

* Update setting name

* Change MEDM to FlowAM in comments

* Replace MEDM in log messages

* SG-43626 Fix bug when details panel collapses/expands (#142)

* Fix bug when details panel collapses/expands

* SG-43627 Fix empty space gap on the details panel (#143)
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.

2 participants