Skip to content

Fix incomplete days caused by suspend and resume notifications - #1

Merged
attixray merged 2 commits into
attixray:mainfrom
tib8:fix/suspend-lock-duplicates
Oct 26, 2026
Merged

attixray merged 2 commits into
attixray:mainfrom
tib8:fix/suspend-lock-duplicates

Conversation

@tib8

@tib8 tib8 commented Oct 26, 2026 •

Copy link
Copy Markdown
Contributor

Windows can timestamp suspend just before a session lock, or report another lock while resuming a session that was already closed. These sequences could incorrectly mark a complete day as incomplete and exclude its work sections from workbook export.

Keep sleep/resume context independently of the retained work transitions. Prefer the native closing record within five seconds after suspend, preserving exact timestamps and break-pair identities. Recognize lock-screen notifications from five seconds before through 60 seconds after wake, including equal timestamps with unrelated Security/System record IDs. A real unlock or reconnect ends duplicate suppression immediately; unexplained repeated events and cross-session ambiguity remain visible for review.

Validation:

  • 97 Core checks passed, including the original contributor's regression checks and additional suspend/resume cases.
  • 11 Windows checks and 35 UI/bridge checks passed.
  • 117 synthetic event sequences passed the comparative review matrix.
  • Full Release solution build completed with no warnings or errors.

No personal event-log data is included.

@attixray attixray changed the title Fix false incomplete-day warnings when suspend precedes a session lock Fix incomplete days caused by suspend and resume notifications Oct 26, 2026
@attixray
attixray merged commit ed4da35 into attixray:main Oct 26, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants