Bugfix on TransactionsView - Disable if privacy mode is set during wallet selection#815
Conversation
|
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers. ReviewsSee the guideline for information on the review process.
If your review is incorrectly listed, please copy-paste ConflictsReviewers, this pull request conflicts with the following ones:
If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first. |
alfonsoromanz
left a comment
There was a problem hiding this comment.
Tested ACK d3da502
luke-jr
left a comment
There was a problem hiding this comment.
This feels like the wrong place to fix it. Why not inside setWalletActionsEnabled (or whatever is enabling it to begin with)?
Yeah, it makes more sense, I'll rework it. Thanks! |
d3da502 to
6c3b027
Compare
luke-jr
left a comment
There was a problem hiding this comment.
I'm pretty sure you can just modify the existing line in setWalletActionsEnabled to:
historyAction->setEnabled(enabled && !isPrivacyModeActivated());
|
6c3b027 to
6180086
Compare
|
This one-line change works without anything else: |
Sorry, I made another mistake, thanks for double checking. To other reviewers: please hold on till next push, thanks. |
6180086 to
260d6eb
Compare
|
Updates:
|
|
@pablomartin4btc Did you consider bitcoinknots/bitcoin#83? |
Yeah, in fact the "switch to Overview" tab when changing/ selecting wallets, was introduced in #718, I can fix it here in a 2nd. commit which will do soon. |
Sure about PR number? ('cause there is no such a number in this repo) |
oh! my bad.. a typo there... how lucky! I'll play the lottery with that one today... I meant #708, I think it's the only place related to the "mask value" where I switched to the overview tab when the mask value checkbox on the menu is ticked but still need to check it. |
|
@hebasto, I couldn't reproduce the issue described in bitcoinknots/bitcoin#83, trying both |
|
@hebasto, the issue mentioned in bitcoinknots/bitcoin#83 is fixed by this PR. |
|
🤔 There hasn't been much activity lately and the CI seems to be failing. If no one reviewed the current pull request by commit hash, a rebase can be considered. While the CI failure may be a false positive, the CI hasn't been running for some time, so there may be a real issue hiding as well. A rebase triggers the latest CI and makes sure that no silent merge conflicts have snuck in. |
Making sure that if the privacy mode is activaded during the wallet selection, the transaction view is not shown.
260d6eb to
0dc337f
Compare
|
Updates:
|
|
There hasn't been much activity lately. What is the status here? Finding reviewers may take time. However, if the patch is no longer relevant, please close this pull request. If the author lost interest or time to work on this, please close it and mark it 'Up for grabs' with the label, so that it can be picked up in the future. |
hebasto
left a comment
There was a problem hiding this comment.
ACK 0dc337f, tested on Fedora 43.
I agree with this comment. Following this direction, further improvements to the m_mask_values_action connections could be made by switching to a lambda.
|
Backported to |
b241f3c doc: update example bitcoin conf for 31.0rc2 (fanquake) 718c31c doc: update manual pages for v31.0rc2 (fanquake) a30e505 build: bump version to v31.0rc2 (fanquake) ac13aca test: scale IPC mining wait timeouts by timeout_factor (Enoch Azariah) 39c8762 test: verify IPC error handling for invalid coinbase (Enoch Azariah) 6609473 test: move make_mining_ctx to ipc_util.py (Enoch Azariah) acd7e3d test: verify createNewBlock wakes promptly when tip advances (Enoch Azariah) e3d5716 test: Remove confusing assert_debug_log in wallet_reindex.py (MarcoFalke) 87d1691 wallet: feebumper, fix crash when combined bump fee is unavailable (furszy) 11b6992 wallet: fix amount computed as boolean in coin selection (furszy) d171afa ci: Temporarily use clang in valgrind tasks (MarcoFalke) 198bc4d ci: Clarify why valgrind task has gui disabled (MarcoFalke) 6993aa1 test: Scale feature_dbcrash.py timeout with factor (MarcoFalke) 051afe9 depends: Remove no longer necessary `dsymutil` (Hennadii Stepanov) 3b79852 depends: Fix cross-compiling on macOS for Windows (Hennadii Stepanov) e53c20d gui: Fix TransactionsView on setCurrentWallet (pablomartin4btc) 7118559 tests: applied PYTHON_GIL to the env for every test (kevkevinpal) d9a5791 ci: Avoid intermittent Windows generate download failures (MarcoFalke) 335a098 kernel: acquire coinstats cursor and block info atomically (w0xlt) e930c6d rpc: fix race condition in gettxoutsetinfo (w0xlt) ca781e4 cmake: Migrate away from deprecated SQLite3 target (Daniel Pfeifer) 0689512 test: [refactor] Use verbosity=0 named arg (MarcoFalke) 8379f00 test: Fix intermittent issue in feature_assumeutxo.py (MarcoFalke) 72d6c88 test: Move event loop creation to network thread (MarcoFalke) c7127f2 test: Use asyncio.SelectorEventLoop() over deprecated asyncio.WindowsSelectorEventLoopPolicy() (MarcoFalke) a69f8c3 ci: Use arch-appropriate binaries in lint install (will) e3383ac ci: check macos bundle structure and codesigning (fanquake) ab37d3d macdeploy: use plugins dir to find plugins (fanquake) bb9fcff macdeploy: subprocess out to zip rather than shutil.make_archive (fanquake) d20ba02 build: Set AUTHOR_WARNING on warnings (MarcoFalke) 2724c39 guix: Make guix-clean less destructive (Hodlinator) a28d78c test: use static methods and clarify comment in addr_relay (stratospher) 5642a2b test: protect outbound connection from eviction in getaddr_test (stratospher) a3c1eda test: fix addr relay test silent pass and wrong peerinfo index (stratospher) 207087b ci: bump cirruslabs actions versions (will) a74dfe3 lint: Temporarily revert to vulture==2.14 (MarcoFalke) f7f7e68 ci: Bump GHA actions versions (MarcoFalke) a3ffff0 depends: delete Boost extra files (fanquake) 9852bbd depends: disable Qt sbom generation (fanquake) Pull request description: Backports: * #33144 * #34451 * #34589 * #34727 * #34750 * #34755 * #34776 * #34787 * #34802 * #34814 * #34815 * #34820 * #34852 * #34832 * #34848 * #34850 * #34857 * #34859 * #34869 * #34870 * #34878 * #34888 Gui: * bitcoin-core/gui#815 ACKs for top commit: Sjors: ACK b241f3c achow101: ACK b241f3c Tree-SHA512: bb68f5b6e569781805c741d63a6ad6f955c1964d9186defa892936160e8444900f1e4175a1ef4fff268b655d664ddf0b914795ef554ea60cb23a054b080b4805
Currenlty on
master, when the "mask values" checkbox is ticked if the user selects a different wallet, the history action is enable and if the user clicks on it can see all the transactions in the transaction view.This PR fixes it.
Note for maintainers: this needs to be backported to 25.x and 26.x.