Skip to content

perf(notifications): drive the toast fall from the frame clock - #427

Merged
OakChaser merged 1 commit into
devfrom
fix/toast-fall-framerate
Oct 30, 2026
Merged

OakChaser merged 1 commit into
devfrom
fix/toast-fall-framerate

Conversation

@OakChaser

Copy link
Copy Markdown
Member

The toast checkmark fall was stepped by a 16ms Slint timer, so it advanced in coarse increments decoupled from the render frame and looked choppier than the rest of the UI. It now derives its progress from animation-tick() in ui/overlays/notifications.slint, with the timer kept only as the 450ms completion signal, so the parabola is sampled once per rendered frame and a reused toast row starts clean.

@OakChaser
OakChaser force-pushed the fix/toast-fall-framerate branch from 57c9c76 to 1bb47db Compare October 30, 2026 09:13
@OakChaser OakChaser changed the title fix(notifications): drive the toast fall from the frame clock perf(notifications): drive the toast fall from the frame clock Oct 30, 2026
@OakChaser
OakChaser merged commit b472974 into dev Oct 30, 2026
19 checks passed
@OakChaser
OakChaser deleted the fix/toast-fall-framerate branch October 30, 2026 09:14
@github-actions github-actions Bot added bug Something isn't working performance labels Oct 30, 2026
@OakChaser OakChaser removed the bug Something isn't working label Oct 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant