Skip to content

fix(keyboard): clear coordinator state for removed groups - #53

Merged
esphynox merged 1 commit into
mainfrom
fix/cleanup-keycap-coordinator-state
Jul 29, 2026
Merged

fix(keyboard): clear coordinator state for removed groups#53
esphynox merged 1 commit into
mainfrom
fix/cleanup-keycap-coordinator-state

Conversation

@esphynox

@esphynox esphynox commented Jul 29, 2026

Copy link
Copy Markdown
Collaborator

Summary

Clear keycap coordinator state when a keyboard visualizer group is removed.

The keyboard visualizer window now notifies the visualizer when groups are removed by fade-out or max-count eviction, and the coordinator removes any pending modifier, completed modifier, active key, active mouse, and stored item state for that group. Private coordinator helpers were also moved into a same-file private extension.

Tests

  • tuist generate
  • xcodebuild test -project Keyty.xcodeproj -scheme Keyty -destination 'platform=macOS'
  • Other: xcodebuild test -project Keyty.xcodeproj -scheme Keyty -destination 'platform=macOS' -only-testing:KeytyTests/KeycapEventCoordinatorTests
  • Other: xcodebuild build -project Keyty.xcodeproj -scheme Keyty -configuration Debug

Run project commands from Apps/Keyty.

UI Changes

N/A

Documentation

  • Updated relevant docs
  • No docs needed

Release Notes

N/A

@esphynox
esphynox marked this pull request as ready for review July 29, 2026 14:11
@esphynox esphynox self-assigned this Jul 29, 2026
@esphynox
esphynox merged commit 818189d into main Jul 29, 2026
1 check passed
@esphynox
esphynox deleted the fix/cleanup-keycap-coordinator-state branch July 29, 2026 14:19
@esphynox esphynox added the bug Something isn't working label Jul 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant