Skip to content

Introduce AnimatableWidget and use Adw.PropertyAnimationTarget - #609

Open
lenemter wants to merge 2 commits into
mainfrom
lenemter/use-property-animations
Open

Introduce AnimatableWidget and use Adw.PropertyAnimationTarget#609
lenemter wants to merge 2 commits into
mainfrom
lenemter/use-property-animations

Conversation

@lenemter

@lenemter lenemter commented Aug 24, 2026

Copy link
Copy Markdown
Member

Fixes memory leak in BaseItem/Launcher by removing BaseItem.cleanup () method altogether. Adw.Animation takes a weak reference, not strong one, so the memory leak reason was the Adw.CallbackAnimationTargets we use.

Instead of using Adw.CallbackAnimationTarget use Adw.PropertyAnimationTarget via custom AnimatableWidget class that implements translation-x/y and scale properties

Closes #605
Closes #607

@lenemter
lenemter requested a review from leolost2605 August 24, 2026 17:29
@lenemter

Copy link
Copy Markdown
Member Author

@leolost2605 I removed cleanup here. Let me know what you think about it and whether it's the direction you want to go

@lenemter
lenemter force-pushed the lenemter/use-property-animations branch from dc4e691 to db9acbc Compare August 24, 2026 17:31
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