mirror of
https://github.com/bitcoin-core/gui-qml.git
synced 2026-12-02 07:54:42 +00:00
Peers search does not accept the displayed #ID #1105
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#1105
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?
The Peers page displays identifiers such as
#72, but searching for that displayed identifier returns no match. Searching for the bare number works.To reproduce:
#72, or use another displayed peer ID.#72in Search peers.72.The first search empties the list and clears the detail pane. The second restores the same peer and address. In the reproduced fixture, the underlying model retained both peers and the footer continued to count them; refreshing did not resolve the prefixed search.
Searching by peer ID should accept both the displayed
#72form and the bare72form.The GUI adds the
#prefix when displaying the ID. The model exposes the ID as a number, while the search filter compares the unchanged query against its string representation.Reproduced in two component runs on macOS / Qt 6.9 at
6e54a48ab571, using the production Peers page and models, deterministic peer snapshots, and mouse/key events. No live peer connection was used. The five owning view/model files are unchanged at mergedeed1f426fcb6.