Backports:
- bitcoin-core/gui#631
- bitcoin-core/gui#680
Backports:
<!--e57a25ab6845829454e8d69fc972939a-->
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.
<!--021abf342d371248e50ceaed478a90ca-->
See the guideline for information on the review process.
| Type | Reviewers |
|---|---|
| ACK | jarolrod |
Is there a reason this doesn't include https://github.com/bitcoin-core/gui/pull/631, or is that no-longer being backported to 22.x? If so, can you remove the label.
Watchonly wallets do not have any private keys to encrypt. It does not
make sense to encrypt such wallets, so disable the option to encrypt
them.
This avoids an assertion that can be hit when encrypting watchonly descriptor
wallets.
Github-Pull: bitcoin-core/gui#631
Rebased-From: 4c495413e138ec1dd6874e41b44e689f0c15e0e3
MacOS 13 sends a window focus change notification after the main
window has been destroyed but before the QTApplication has been
destroyed. This results in the menu bar receiving a notification
despite it no longer existing. The solution is to pass the main
window as context when subscribing to the notifications. Qt
automatically unsubscribes to notifications if the sender OR
context is destroyed.
Github-Pull: bitcoin-core/gui#680
Rebased-From: 8a5014cd8a05b3ab86ae34a47653a82ce11bdf17
Is there a reason this doesn't include bitcoin-core/gui#631, or is that no-longer being backported to 22.x? If so, can you remove the label.
Thank you for a reminder! Updated.
ACK 272fa2530493b13e4bf7c978e9768162f10ddf7f
Performed my own backport of the two pr's and confirmed that backporting each commit has no conflicts and that I have a zero-diff with this PR. Tested the functionality of 7b7bbc145aedf149c6d8675c7e252b0767bb8652, but only a code-review ack for 272fa2530493b13e4bf7c978e9768162f10ddf7f as I do not have an intel mac to test on right now.