mjrusso / scoot

Keyboard-driven MacOS cursor actuator
BSD 3-Clause "New" or "Revised" License
333 stars 14 forks source link

Scoot crashes when invoked with Zoom as frontmost app #13

Closed mjrusso closed 2 years ago

mjrusso commented 2 years ago

Bringing Scoot to the foreground, with Zoom as the frontmost app, causes a crash. Note that this only seems to happen when actively in a Zoom meeting.

I can reproduce with Zoom 5.8.4 and 5.9.1.

The crash appears to be somewhere in AXSwift, but I haven't had a chance to dig any further yet.

mjrusso commented 2 years ago

Tracked the issue down. Somehow, Zoom is building an accessibility hierarchy where (in some cases) a node is a child of itself. For example:

Screen Shot 2022-01-17 at 7 41 45 PM

(In this case, the indicated NSButtonCell elements are the same objects in memory.)