mirror of
https://github.com/bitcoin-core/gui-qml.git
synced 2026-12-02 07:54:42 +00:00
Onboarding: add Lottie animations to first-run pages #694
Labels
No labels
Android
Bug
Build system
Design suggestion
Doc
Needs design review
Needs rebase
Stage
UX
Up for grabs
Upstream
Wallet
duplicate
enhancement
good first issue
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
bitcoin-core/gui-qml#694
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Parent: #566
Release Target
Post-v1.0.
Priority
Lower-priority polish after the core onboarding flow is release-ready.
Goal
Add motion illustrations to the QML onboarding pages so first-run setup feels more polished and better explains each step without changing the underlying onboarding flow.
Current onboarding pages include:
OnboardingCover.qmlOnboardingStrengthen.qmlOnboardingBlockclock.qmlOnboardingStorageLocation.qmlOnboardingStorageAmount.qmlOnboardingConnection.qmlCode Gap
The onboarding pages currently use static imagery and ordinary QML page transitions. The design assets may include Lottie animations, but the app does not yet have a settled Lottie pipeline for Qt/QML or a compatibility policy for converting and shipping those assets.
Qt Guidance Snapshot
Qt's current Qt 6.11 documentation describes three relevant paths:
LottieAnimationfromQt.labs.lottieqtto load Lottie files directly in QML. This is useful for validation, but Qt documents that it renders through a QPainter/software path and may have performance limits for larger or complex illustrations.lottietoqmlorqt_target_qml_from_lottie()to convert known Lottie files into QML. Qt documents this as a Qt Quick / hardware-rendered path, and thelottietoqmlexample says pregenerating QML is usually preferable for known assets because it allows preprocessing for faster loading.VectorImagewith the Lottie plugin for runtime loading of trusted Lottie files. This is convenient, but likely less attractive for app-owned onboarding assets if we can pre-generate the QML.References:
Suggested Approaches
Prefer a build-time conversion path for final app-owned assets.
lottietoqmland, if the project can require the needed Qt version/tooling,qt_target_qml_from_lottie().CURVE_RENDERERandOPTIMIZE_PATHSwhere they improve output quality or load/runtime performance.Use direct
LottieAnimationas an exploration and compatibility harness.Decide how to handle the current Qt baseline.
qt_target_qml_from_lottie()is documented as introduced in Qt 6.11, andVectorImageLottie loading depends on newer Qt Quick VectorImage/Lottie plugin behavior.Audit the current Lottie assets before implementation.
Add an onboarding animation component rather than one-off page code.
Acceptance Criteria