Skip to content

Fix watcher idle resume and cancellation - #1

Merged
marcmy merged 8 commits into
masterfrom
fix/watcher-idle-cancellation
Jul 3, 2026
Merged

Fix watcher idle resume and cancellation#1
marcmy merged 8 commits into
masterfrom
fix/watcher-idle-cancellation

Conversation

@marcmy

@marcmy marcmy commented Jul 3, 2026

Copy link
Copy Markdown
Owner

Summary

  • keep idle notifications active while a watcher run is in progress
  • serialize watcher runs so repeated idle events cannot overlap
  • use one cancellation path for idle and manual runs
  • let the background worker dispose its own resources after it has stopped
  • always reset folder state and process priority in cleanup

Validation

  • dotnet restore CompactGUI/CompactGUI.vbproj succeeded on windows-latest
  • dotnet build CompactGUI/CompactGUI.vbproj --configuration Release --no-restore succeeded

Runtime test plan

  1. Let an idle-only watcher run begin.
  2. Use the mouse or keyboard so the run pauses.
  3. Become idle again and confirm it resumes.
  4. Cancel during analysis and during compression.
  5. Confirm the UI returns to idle and another watcher run can start.

@marcmy
marcmy merged commit f6159eb into master Jul 3, 2026
@marcmy
marcmy deleted the fix/watcher-idle-cancellation branch July 3, 2026 12:58
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.

1 participant