pilotmoon / Scroll-Reverser

Per-device scrolling prefs on macOS.
https://pilotmoon.com/scrollreverser/
Apache License 2.0
2.51k stars 135 forks source link

Big Sur: Scroll Reverser exits during system sleep #90

Closed rgov closed 3 years ago

rgov commented 3 years ago

Please do not post "me too" comments on this issue!

I've been using Scroll Reverser 1.7.6 on Catalina without issue for a while. Since upgrading to Big Sur, when my system wakes up, scrolling is back to the default system behavior.

In the Console, at the same time that the system begins to sleep, I see these messages indicating that the program is exiting:

default 19:11:19.844279-0500    Scroll Reverser NSApp cache appearance:
-NSRequiresAquaSystemAppearance: 1
-appearance: (null)
-effectiveAppearance: <NSCompositeAppearance: 0x600002345880
 (
    "<NSAquaAppearance: 0x600002345780>",
    "<NSSystemAppearance: 0x600002344600>"
)>
default 19:11:20.345994-0500    kernel  PM response took 517 ms (89958, Scroll Reverser)
default 19:11:20.374226-0500    distnoted   register name: com.apple.nsquiet_safe_quit_give_reason object: com.pilotmoon.scroll-reverser token: 390000003d pid: 89958
default 19:12:09.489957-0500    Scroll Reverser [logger "waiting for pid 89958"; while kill -0 89958 >/dev/null 2>&1; do sleep 0.01; done; logger "restarting Scroll Reverser"; open "/Applications/Scroll Reverser.app"]
default 19:12:09.645026-0500    Scroll Reverser Entering exit handler.
default 19:12:09.652257-0500    Scroll Reverser Exiting exit handler.
default 19:12:10.087100-0500    runningboardd   Calculated state for app<application.com.pilotmoon.scroll-reverser.8683812124.8683812163(501)>: none (role: None)
default 19:12:10.259541-0500    launchservicesd Hit the server for a process handle 4ebe38700015f66 that resolved to: [app<application.com.pilotmoon.scroll-reverser.8683812124.8683812163(501)>:89958]
default 19:12:16.609355-0500    WindowServer    Add filter:IOHIDServiceFilter uuid:320990E6-DAAD-4738-A6F1-149766D2E167 name:com.apple.iokit.hid.IOHIDPointerScrollFilter  for service:0x1000590e6

Perhaps this issue is fixed in master since the last release was 3.5 years ago, but it has only become a problem for me now.

rgov commented 3 years ago

Same issue with master.

FelixGraf commented 3 years ago

I can confirm this issue on macOS BigSur 11.0.1 and ScrollReverser 1.7.6.

lustasag commented 3 years ago

I can confirm this issue on macOS BigSur 11.0.1 and ScrollReverser 1.7.6.

Same here after the upgrade.

JBYoshi commented 3 years ago

Also having this problem - same versions.

rgov commented 3 years ago

Looks like the issue is confirmed. Click the thumbs up 👍 above (under the first post) and use the Subscribe button on the right to get notified of updates.

(Kindly don't post more "me too" comments.)

vinsonma commented 3 years ago

Also having this problem - same versions.

vinsonma commented 3 years ago

I can confirm this issue on macOS BigSur 11.0.1 and ScrollReverser 1.7.6. image image

politsin commented 3 years ago

same

rsha256 commented 3 years ago

I managed to temporarily fix this when my system sleeps from being idle by going into System Preferences → Security & Privacy → Privacy → Input Monitoring and giving it permission but after restarting, the issue persists, even though Start at login is checked, I think the startup script broke with MacOS Big Sur image

EDIT: nvm this doesn’t persist after a restart

saiftheboss7 commented 3 years ago

I can confirm the issue.

sijianian commented 3 years ago

Same issue.

pilotmoon commented 3 years ago

Reopening issue for visibility until release build ships.

pilotmoon commented 3 years ago

Test build available: https://github.com/pilotmoon/Scroll-Reverser/releases/tag/v1.8-beta.1

rgov commented 3 years ago

After a sleep-wake cycle test, I can confirm that the issue is resolved.