mirror of
https://github.com/bitcoin-core/gui-qml.git
synced 2026-12-02 07:54:42 +00:00
Wallet refreshes save unfinished address labels and reset list position #1084
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#1084
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?
An incoming payment can interrupt an active inline label edit in Addresses and persist the unfinished text. The user has not pressed Enter or moved focus themselves.
To reproduce:
incoming prefix. Leave the field focused.The editor loses focus and the wallet saves
incoming prefixas the label. Further typing no longer extends it.The same refresh mechanism also loses list position. With a sufficiently long list, incoming payments or confirmations return Addresses, View coins and Manual selection to the top. Saving an address label or locking a coin can also reset the corresponding list. Selected coins remained selected in the tested Manual selection case.
Background updates should preserve the active editor, cursor and list position. They should not cause an unfinished edit to be committed.
AddressListModel::rebuild()resets the entire model, replacing its delegates. The label field then follows its normalonEditingFinishedsave path.Observed on merged
qt6at6e54a48ab571, macOS / Qt 6.9, using the full application with offscreen regtest fixtures. Related to #971, #974 and #990.