macOS: overlapping PSBT dialogs leave keyboard input blocked #1066

Open
opened 2026-11-05 13:05:37 +00:00 by jarolrod · 0 comments
jarolrod commented 2026-11-05 13:05:37 +00:00 (Migrated from github.com)

On qt6 at 6e54a48ab571, macOS 26.6.2 / Qt 6.9.0, opening PSBT Import while a native Save panel is open can leave keyboard input blocked after Save is cancelled.

Reproduction

  1. With a wallet loaded, open File → Load PSBT from file…, then cancel it so the native import chooser has been opened once.
  2. Load a valid unsigned PSBT and leave its transaction review open.
  3. Click Save transaction.
  4. While the native Save panel is open, choose File → Load PSBT from file… again. Save remains in front.
  5. Cancel Save.

No import panel appears, but Tab no longer moves focus through the review controls. Opening File → Open URI…, clicking its input and typing also leaves the field empty and unfocused.

At this point, sendPsbtOpenDialog.visible remains true even though no native import panel is presented.

Recovery

Choose File → Load PSBT from file… again and cancel the now-visible chooser. Keyboard input works again, and the import wrapper becomes invisible.

Expected behavior

A second chooser should either be presented correctly or be refused while the first is open. Cancelling the visible panel must restore keyboard input and leave no hidden dialog blocking the application.

This report concerns native dialog lifecycle and modality. It does not require saving or broadcasting a transaction.

Related #1046 was closed without merging; the failure remains on the merged branch.

On `qt6` at `6e54a48ab571`, macOS 26.6.2 / Qt 6.9.0, opening PSBT Import while a native Save panel is open can leave keyboard input blocked after Save is cancelled. **Reproduction** 1. With a wallet loaded, open **File → Load PSBT from file…**, then cancel it so the native import chooser has been opened once. 2. Load a valid unsigned PSBT and leave its transaction review open. 3. Click **Save transaction**. 4. While the native Save panel is open, choose **File → Load PSBT from file…** again. Save remains in front. 5. Cancel Save. No import panel appears, but Tab no longer moves focus through the review controls. Opening **File → Open URI…**, clicking its input and typing also leaves the field empty and unfocused. At this point, `sendPsbtOpenDialog.visible` remains true even though no native import panel is presented. **Recovery** Choose **File → Load PSBT from file…** again and cancel the now-visible chooser. Keyboard input works again, and the import wrapper becomes invisible. **Expected behavior** A second chooser should either be presented correctly or be refused while the first is open. Cancelling the visible panel must restore keyboard input and leave no hidden dialog blocking the application. This report concerns native dialog lifecycle and modality. It does not require saving or broadcasting a transaction. Related [#1046](https://github.com/bitcoin-core/gui-qml/pull/1046) was closed without merging; the failure remains on the merged branch.
Sign in to join this conversation.
No description provided.