Repository navigation
fix(macos): create fresh mouse events for each submission - #183
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #183 +/- ##
==========================================
+ Coverage 73.51% 73.60% +0.09%
==========================================
Files 45 45
Lines 9895 9892 -3
Branches 3692 3690 -2
==========================================
+ Hits 7274 7281 +7
- Misses 1994 2230 +236
+ Partials 627 381 -246
Flags with carried forward coverage won't be shown. Click here to find out more.
... and 10 files with indirect coverage changes Continue to review full report in Codecov by Harness.
|
|
Avoid retaining a CoreGraphics mouse event for the backend lifetime. Preserve movement, button, and modifier metadata while reporting transient event allocation failures. Add regression coverage for aged cursor snapshots, dragging, modifier flags, and allocation failure recovery.
cd374a9 to
37f0211
Compare
ReenigneArcher
left a comment
There was a problem hiding this comment.
One correctness issue remains in button-allocation failure recovery; see the inline comment for the reproduction, tested correction, and regression test.
Validation: the macOS Debug library and both examples built; formatting and git diff --check passed; 27 existing macOS backend and gamepad adapter/lifecycle tests passed. The added regression fails on this head and passes with the suggested correction. The suppression behavior from #205 remains covered.
CI is still running. The multi-hour streaming failure reported in Sunshine #5874 was not reproduced; live streaming/device validation remains unverified.
Review completed by Codex | Model: gpt-6.1-sol | Thinking: xhigh
Update drag state and click timing only after a fresh mouse event is posted. Cover a failed press, a normal move, and a successful retry.
|



Description
Avoid retaining a CoreGraphics mouse event for the backend lifetime. Preserve movement, button, and modifier metadata while reporting transient event allocation failures.
Add regression coverage for aged cursor snapshots, dragging, modifier flags, and allocation failure recovery.
Screenshot
Issues Fixed or Closed
Roadmap Issues
Type of Change
Checklist
AI Usage
See our AI usage policy.