Activity grouping changes after reopening a wallet despite an explicit selection #1103

Open
opened 2026-11-10 14:45:18 +00:00 by jarolrod · 0 comments
jarolrod commented 2026-11-10 14:45:18 +00:00 (Migrated from github.com)

With two wallets open, an explicit Activity grouping choice can be lost when one wallet is closed and reopened.

To reproduce:

  1. Open wallets Alpha and Bravo, each with transaction history, and visit Activity in both. Start with both grouped by Month.
  2. In Alpha, choose More → Group by → Day.
  3. Switch to Bravo. It still shows Month. Explicitly select More → Group by → Month.
  4. Close only Bravo, then reopen it and return to Activity.

Bravo now groups the same transaction by Day, although its last explicit selection was Month. In a separate single-wallet control, choosing Month and closing/reopening the wallet preserved Month.

Reopening a wallet should honor the selected grouping. If grouping is intended to be global, the other open Activity pages should reflect changes to that shared preference.

The state belongs to the GUI. Each wallet has a separate view, and each Activity page creates its own AppSettings instance for activityGrouping. Bravo retains its cached Month value after Alpha saves Day. Selecting Month again assigns the same local value, leaving Day to be loaded when Bravo's page is recreated.

Observed on qt6 at eed1f426fcb6, macOS arm64 / Qt 6.9, using the full application with isolated offscreen regtest profiles and test-bridge UI actions. The observed consequence is loss of the display preference.

With two wallets open, an explicit Activity grouping choice can be lost when one wallet is closed and reopened. To reproduce: 1. Open wallets Alpha and Bravo, each with transaction history, and visit Activity in both. Start with both grouped by Month. 2. In Alpha, choose More → Group by → Day. 3. Switch to Bravo. It still shows Month. Explicitly select More → Group by → Month. 4. Close only Bravo, then reopen it and return to Activity. Bravo now groups the same transaction by Day, although its last explicit selection was Month. In a separate single-wallet control, choosing Month and closing/reopening the wallet preserved Month. Reopening a wallet should honor the selected grouping. If grouping is intended to be global, the other open Activity pages should reflect changes to that shared preference. The state belongs to the GUI. Each wallet has a [separate view](https://github.com/bitcoin-core/gui-qml/blob/eed1f426fcb64daa61b004590335a03afe376274/qml/pages/wallet/DesktopWallets.qml#L444), and each Activity page creates its own [`AppSettings` instance for `activityGrouping`](https://github.com/bitcoin-core/gui-qml/blob/eed1f426fcb64daa61b004590335a03afe376274/qml/pages/wallet/ActivityListPage.qml#L161). Bravo retains its cached Month value after Alpha saves Day. Selecting Month again assigns the same local value, leaving Day to be loaded when Bravo's page is recreated. Observed on `qt6` at `eed1f426fcb6`, macOS arm64 / Qt 6.9, using the full application with isolated offscreen regtest profiles and test-bridge UI actions. The observed consequence is loss of the display preference.
Sign in to join this conversation.
No description provided.