mirror of
https://github.com/bitcoin-core/gui-qml.git
synced 2026-12-02 08:21:38 +00:00
Redesign settings with reusable form design system #872
No reviewers
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!872
Loading…
Reference in a new issue
No description provided.
Delete branch "settings-redesign-v2"
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?
Summary
The legacy settings pages evolved through several different layout systems, producing inconsistent widths, typography, spacing, navigation patterns, and information hierarchy. This redesign intends to consolidate them in to one coherent, reusable system.
Implementation details
FormSection,FormRow,ValueRow,LinkRow,TextFieldRow, andPopupPickerprovide consistent layout and interaction behavior.SettingsViewowns the fixed sidebar, destination definitions, visibility rules, and selected section.SettingsPageContainerlazily creates a navigation stack for each visited section and preserves nested navigation when switching sections.SettingsPagestandardizes page headings, scrolling, horizontal padding, and readable content widths.Preview
https://github.com/user-attachments/assets/eebcdd5b-d656-46f1-aa6f-ba06dba75929
GUI: qrc:/qml/controls/TextFieldRow.qml: Cannot instantiate bound component outside its creation context
2026-08-20T22:43:42Z GUI: qrc:/qml/controls/TextFieldRow.qml: Cannot instantiate bound component outside its creation context
2026-08-20T22:43:42Z GUI: qrc:/qml/controls/ValueRow.qml: Cannot instantiate bound component outside its creation context
2026-08-20T22:43:42Z GUI: qrc:/qml/controls/LinkRow.qml: Cannot instantiate bound component outside its creation context
2026-08-20T22:43:42Z GUI: qrc:/qml/controls/LinkRow.qml: Cannot instantiate bound component outside its creation context
2026-08-20T22:43:42Z GUI: qrc:/qml/pages/settings/SettingsDesignSystem.qml: Cannot instantiate bound component outside its creation context
2026-08-20T22:43:42Z GUI: qrc:/qml/pages/settings/SettingsDesignSystem.qml: Cannot instantiate bound component outside its creation context
2026-08-20T22:43:42Z GUI: qrc:/qml/pages/settings/SettingsDesignSystem.qml: Cannot instantiate bound component outside its creation context
2026-08-20T22:43:42Z GUI: qrc:/qml/pages/settings/SettingsDesignSystem.qml: Cannot instantiate bound component outside its creation context
2026-08-20T22:43:54Z GUI: qrc:/qml/controls/TextFieldRow.qml: Cannot instantiate bound component outside its creation context
2026-08-20T22:43:54Z GUI: qrc:/qml/controls/ValueRow.qml: Cannot instantiate bound component outside its creation context
2026-08-20T22:43:54Z GUI: qrc:/qml/controls/ValueRow.qml: Cannot instantiate bound component outside its creation context from
Getting these errors in the new settings pages. I think its related to the Loaders in the FormRow. My suggestion is to remove the Loaders and use a different container and I think it should force constructing the pages in a way where this wont happen. This might be 6.4 specific too (ubuntu 24.04).
CI is happy now
Pop wallet subpages whenever the selected wallet changes or becomes unavailable.
Open “Set password” for an unencrypted wallet, switch to Display, select an encrypted wallet, then return to Wallet. The cached password page retains
updating: falsewhile its wallet binding changes, so it attempts encryption instead of a password change. Unloading the wallet while another section is selected also leaves the subpage open. Reset the cached wallet stack independently of the selected section, and add regression coverage for switching and unloading wallets while that stack is hidden.Good catch. Should be fixed now.
ACK
bd137af855The reported regression is fixed: switching or unloading wallets pops cached wallet subpages without changing the selected settings section. Both added regression tests and the original reproduction checks pass.