External signer wallet create and send #547

Manually merged
johnny9 merged 16 commits from external-signer into qt6 2026-05-10 08:11:07 +00:00 AGit
johnny9 commented 2026-04-09 16:00:52 +00:00 (Migrated from github.com)
06-mock-signer-detected 07-add-wallet-flow-opened 09-external-wallet-form-opened 11-external-wallet-created 19-no-signer-review-displayed 23-signer-approval-completed 20-no-signer-review-error-surfaced
<img width="800" height="800" alt="06-mock-signer-detected" src="https://git.fish.foo/attachments/e5cc1f17-4042-44e2-a697-262ade3ca9d8" /> <img width="800" height="800" alt="07-add-wallet-flow-opened" src="https://git.fish.foo/attachments/66693355-44b4-40d3-b0d8-d2795913d10a" /> <img width="800" height="800" alt="09-external-wallet-form-opened" src="https://git.fish.foo/attachments/5c56d6b4-e4d0-4da9-99bc-ccb6b3dd8aea" /> <img width="800" height="800" alt="11-external-wallet-created" src="https://git.fish.foo/attachments/b5f941c4-f1d0-469a-8377-5657a9e9ef57" /> <img width="800" height="800" alt="19-no-signer-review-displayed" src="https://git.fish.foo/attachments/6a95aafb-1bd7-4397-9d2c-b76a06d3c2e3" /> <img width="800" height="800" alt="23-signer-approval-completed" src="https://git.fish.foo/attachments/1fe724a1-f2b3-4b5f-ba78-f977f825deba" /> <img width="800" height="800" alt="20-no-signer-review-error-surfaced" src="https://git.fish.foo/attachments/68d0818b-c854-4119-9185-bb41ee926857" />
johnny9 commented 2026-04-13 17:51:35 +00:00 (Migrated from github.com)

Related to #525

Related to #525
epicleafies (Migrated from github.com) reviewed 2026-04-20 00:53:51 +00:00
epicleafies (Migrated from github.com) left a comment

All tests pass expect the qml_test_external_signer.py. There's also some other non-blocking issues.
22f0b7d

All tests pass expect the qml_test_external_signer.py. There's also some other non-blocking issues. 22f0b7d
epicleafies (Migrated from github.com) commented 2026-04-19 23:05:35 +00:00

Suggestion: Missing Accessible property for name and role of this component.

Suggestion: Missing Accessible property for name and role of this component.
epicleafies (Migrated from github.com) commented 2026-04-19 23:05:44 +00:00

Suggestion: Missing Accessible property for name and role of this component.

Suggestion: Missing Accessible property for name and role of this component.
epicleafies (Migrated from github.com) commented 2026-04-19 23:06:02 +00:00

Suggestion: Missing Accessible property for name and role of this component.

Suggestion: Missing Accessible property for name and role of this component.
epicleafies (Migrated from github.com) commented 2026-04-19 23:00:10 +00:00

Suggestion: no clean up on navigate away, it has a reset function just isn't called when navigating away.

Suggestion: no clean up on navigate away, it has a reset function just isn't called when navigating away.
epicleafies (Migrated from github.com) commented 2026-04-19 23:05:55 +00:00

Suggestion: Missing Accessible property for name and role of this component.

Suggestion: Missing Accessible property for name and role of this component.
epicleafies (Migrated from github.com) commented 2026-04-19 23:06:38 +00:00

Suggestion: Missing Accessible property for name and role of this component.

Suggestion: Missing Accessible property for name and role of this component.
epicleafies (Migrated from github.com) commented 2026-04-19 23:59:42 +00:00

Bug: Paste in link (/gui-qml/bitcoin/test/functional/mocks/signer.py) works but typing the same link into text box doesn't (check device button disabled).

Bug: Paste in link (/gui-qml/bitcoin/test/functional/mocks/signer.py) works but typing the same link into text box doesn't (check device button disabled).
epicleafies (Migrated from github.com) commented 2026-04-18 16:43:49 +00:00

This should be centered on the page.

This should be centered on the page.
epicleafies (Migrated from github.com) commented 2026-04-20 00:03:32 +00:00

UX: The button can be enabled or disabled but even when enabled the verification can still fail. Seems like it should not ever be disabled and all logic for checking the path should be in the button or the button should only be enabled when the device is valid and the button is just for proceeding. Not sure why logic is split.

UX: The button can be enabled or disabled but even when enabled the verification can still fail. Seems like it should not ever be disabled and all logic for checking the path should be in the button or the button should only be enabled when the device is valid and the button is just for proceeding. Not sure why logic is split.
epicleafies (Migrated from github.com) commented 2026-04-18 16:44:15 +00:00

Separator at the bottom is inconsistent with rest of app design.

Separator at the bottom is inconsistent with rest of app design.
epicleafies (Migrated from github.com) commented 2026-04-19 22:54:33 +00:00

Nit: unused imports: common/args.h, common/settings.h, univalue.h (may be needed by cpp, if so should only appear there).

Nit: unused imports: common/args.h, common/settings.h, univalue.h (may be needed by cpp, if so should only appear there).
epicleafies (Migrated from github.com) commented 2026-04-19 22:41:56 +00:00

Nit: only used in tests, probably should be removed if not used by qml.

Nit: only used in tests, probably should be removed if not used by qml.
epicleafies (Migrated from github.com) commented 2026-04-20 00:10:26 +00:00

UX: Error message for using name of wallet that already exists is too technical, should probably be something like "Wallet with this name already exists." Detailed error should be viewable in debug log or similar if user wants details. (May not be in scope)

UX: Error message for using name of wallet that already exists is too technical, should probably be something like "Wallet with this name already exists." Detailed error should be viewable in debug log or similar if user wants details. (May not be in scope)
epicleafies (Migrated from github.com) commented 2026-04-20 00:23:41 +00:00

Suggestion: Back button probably shouldn't be on the confirm screen as the action taken to get here isn't reversible.

Suggestion: Back button probably shouldn't be on the confirm screen as the action taken to get here isn't reversible.
epicleafies (Migrated from github.com) commented 2026-04-20 00:47:05 +00:00

Suggestion: The multiple send review page style should match the style of the send page. Maybe a single send review component?

Suggestion: The multiple send review page style should match the style of the send page. Maybe a single send review component?
epicleafies (Migrated from github.com) commented 2026-04-19 23:03:16 +00:00

Suggestion: Could use test bridge's get_list_item_property to read delegate properties instead of of page-level properties.

Suggestion: Could use test bridge's get_list_item_property to read delegate properties instead of of page-level properties.
epicleafies (Migrated from github.com) commented 2026-04-20 00:49:23 +00:00

UI: The note text is left shifted when everything else is right shifted.

UI: The note text is left shifted when everything else is right shifted.
epicleafies (Migrated from github.com) commented 2026-04-19 22:39:50 +00:00

Nit: confirmation misspelled, pre-existing but can fix here

Nit: confirmation misspelled, pre-existing but can fix here
epicleafies (Migrated from github.com) commented 2026-04-19 23:11:59 +00:00

Suggestion: This function is duplicated in qml_test_send_review.py, should be extracted from both to qml_wallet_test_lib.py

Suggestion: This function is duplicated in qml_test_send_review.py, should be extracted from both to qml_wallet_test_lib.py
epicleafies (Migrated from github.com) commented 2026-04-19 23:21:22 +00:00

Test case fail: Up to checkpoint 16 succeeds. Then:
FAILED [qml_external_signer]: Timed out waiting for trezor_t balance
...
[qml_external_signer] checkpoint 17: failure state
Can give full failure output if that would be helpful.

Test case fail: Up to checkpoint 16 succeeds. Then: FAILED [qml_external_signer]: Timed out waiting for trezor_t balance ... [qml_external_signer] checkpoint 17: failure state Can give full failure output if that would be helpful.
epicleafies (Migrated from github.com) commented 2026-04-19 23:11:28 +00:00

Suggestion: This function is duplicated in qml_test_external_signer.py, should be extracted from both to qml_wallet_test_lib.py

Suggestion: This function is duplicated in qml_test_external_signer.py, should be extracted from both to qml_wallet_test_lib.py
epicleafies (Migrated from github.com) commented 2026-04-19 23:14:43 +00:00

Suggestion: Only tests success path, should also test the following error cases:

  • Error state (onExternalSignerApprovalFailed) and retry
  • reset() behavior
  • Component destruction during pending approval (see Timer safety finding above)
  • Multiple rapid button clicks
Suggestion: Only tests success path, should also test the following error cases: - Error state (`onExternalSignerApprovalFailed`) and retry - `reset()` behavior - Component destruction during pending approval (see Timer safety finding above) - Multiple rapid button clicks
pseudoramdom (Migrated from github.com) reviewed 2026-05-08 18:30:34 +00:00
pseudoramdom (Migrated from github.com) commented 2026-05-08 18:30:34 +00:00

if you're on a worktree, you'll need to do ../gui-qml/bitcoin/..

if you're on a worktree, you'll need to do `../gui-qml/bitcoin/..`
pseudoramdom (Migrated from github.com) reviewed 2026-05-08 18:31:14 +00:00
pseudoramdom (Migrated from github.com) commented 2026-05-08 18:31:14 +00:00

+1, should be centered

+1, should be centered
pseudoramdom (Migrated from github.com) reviewed 2026-05-08 18:31:52 +00:00
pseudoramdom (Migrated from github.com) commented 2026-05-08 18:31:52 +00:00

The icon needs to be centered vertically.

The icon needs to be centered vertically.
pseudoramdom commented 2026-05-08 18:36:07 +00:00 (Migrated from github.com)

ACK e97b9db18389098a49240c636d25fde00aece204
All tests pass. Minor nits on UI layout

ACK e97b9db18389098a49240c636d25fde00aece204 All tests pass. Minor nits on UI layout
pseudoramdom commented 2026-05-08 18:40:36 +00:00 (Migrated from github.com)

I got this while trying to send though (Regtest) -
Screenshot 2026-05-08 at 11 39 36 AM

I got this while trying to send though (Regtest) - <img width="533" height="490" alt="Screenshot 2026-05-08 at 11 39 36 AM" src="https://git.fish.foo/attachments/c1f67d77-4345-4242-ba90-b07ed5a7ef7c" />
pseudoramdom (Migrated from github.com) approved these changes 2026-05-08 18:50:11 +00:00
pseudoramdom commented 2026-05-10 02:25:56 +00:00 (Migrated from github.com)
ACK 004a0591af0de6452118ab24bb6cad22cd8213ba
Sign in to join this conversation.
No description provided.