mirror of
https://github.com/bitcoin-core/gui-qml.git
synced 2026-12-02 07:54:42 +00:00
Activity: Today keeps yesterday's entries after midnight #1099
Labels
No labels
Android
Bug
Build system
Design suggestion
Doc
Needs design review
Needs rebase
Stage
UX
Up for grabs
Upstream
Wallet
duplicate
enhancement
good first issue
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
bitcoin-core/gui-qml#1099
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Leaving Activity open across local midnight keeps the previous day's entries under Today. Selecting Today again does not refresh them.
To reproduce:
Before midnight.In the recorded run, the request was dated October 16 at 11:55 PM and stayed visible under Today after the local date became October 17. Editing Search later forced the list to reevaluate and correctly excluded the old request. Selecting This week still found it, confirming that the saved record was intact.
dateMatches()uses the current local date when it runs, but the proxy does not invalidate cached matches when that date changes.setDateFilter()also returns immediately when Today is selected again because the filter enum has not changed.The active Today filter should follow the local date without requiring an unrelated search or filter edit. Reselecting Today should also reevaluate the displayed rows.
Related to the Activity date-filter feature in #569.
Reproduced in the native macOS GUI with Qt 6.9 at
d567e3eb2497. The run used a process-local timezone to cross midnight naturally, without changing the system clock. The owningactivityfilterproxymodel.cppis byte-identical in current mergedeed1f426fcb6; this is retained runtime evidence with current-source verification, not a fresh run on that revision.