Switch to another user (lock screen doesn't cause the app to pause)
In Firefox with enabled General -> Browsing -> Use autoscrolling use middle click
Even if second user doesn't have the app running, it would click at the coordinates where the mouse was before the first user logged out
Hopefully with this fix it won't do that anymore :)
To be aware
Tested with 2 users both running the app from /Applications, not /Users/<user>/Applications. Seems to work fine, but console log is a bit sussy:
Multiple `Display reconfigured` calls right before login that schedule a restart AFTER the app has just got mouse listeners from the `BecomeActiveNotification`
May-or-may-not (I have no idea) cause mac to basically stop responding
I was testing, second user was logging in (initiated the switch with the fingerprint scanner) and it just didn't log in the second profile. Only showed lock screen with the spinning symbol (not beachball) instead of password field
Additionally I tried clicking on the first user again and typed the password - same thing, just a spinner and no progress
Maybe it is caused by some race condition from the previous log and I happened to switch too fast between them, but I really have no idea
Fix #75: Subscribe to SessionDidResignActiveNotification and
SessionDidBecomeActive
to kill and resurrect touch callbacks⚠️ This is my first try at Obj-C, beware ⚠️
Steps to reproduce
General -> Browsing -> Use autoscrolling
use middle clickTo be aware
/Applications
, not/Users/<user>/Applications
. Seems to work fine, but console log is a bit sussy:Multiple `Display reconfigured` calls right before login that schedule a restart AFTER the app has just got mouse listeners from the `BecomeActiveNotification`
I was testing, second user was logging in (initiated the switch with the fingerprint scanner) and it just didn't log in the second profile. Only showed lock screen with the spinning symbol (not beachball) instead of password field
Additionally I tried clicking on the first user again and typed the password - same thing, just a spinner and no progress
Maybe it is caused by some race condition from the previous log and I happened to switch too fast between them, but I really have no idea