pilotmoon / Scroll-Reverser

Per-device scrolling prefs on macOS.

Home Page:https://pilotmoon.com/scrollreverser/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Refuses to be added to Login Items

rangedsp opened this issue · comments

Model Name: MacBook Pro
Model Identifier: Mac14,6
Chip: Apple M2 Max
System Version: macOS 13.3.1 (22E261)

Repro steps:

  1. Download fresh copy of scroll-reverser 1.8.2
  2. Unzip
  3. Drag into Applications
  4. Launch app
  5. Goto Login Items
  6. Under "Open at Login", hit "+"
  7. Select "Scroll Reverser", hit "Open"
  8. Observe that it doesn't get added to the list

Very weird, I've never had an issue with this, worked on an Intel mac (running Monteray)

I have the same issue on macOS 13.3.1.

If this is happening, try adding it manually to the Login items list instead. Also ensure that it is in the Applications folder, and not in any other location. And that there are not any duplicate copies of the app.

I have tried to add it manually but unfortunately it does not work.
After clicking '+' and selecting the App from the Applications folder the 'Open at login' list remains unchanged. :(

This would appear to be a macOS issue. Make sure to remove any instances of Scroll Reverser from the login times list before adding it back in. Also, do ensure app is in /Applications folder. Keeping it elsewhere is known to be problematic.

This is a problem for me as well on the M2 Pro. The app is in the /Applications folder, no other location. When i press the "+" button and select the application, nothing happens. No errors, nothing, it just won't add to the login items list.

Any fix in sight?

Edit: I'm running Ventura 13.3.1

The login items list is part of the macOS settings. I can't fix that. This is a bug you need to report to Apple.

@pilotmoon I am unsure about other, but my repro steps is specifically about adding Scroll Reverser to the login items manually.

Looking at the function you are using to register on launch, I think I've figured out the reason: SMLoginItemSetEnabled has been deprecated as of Ventura, as per Apple docs.

My current workaround is to create an automator job that launches Scroll Reverser, and add that job to login items instead.

Ah, I see. SMLoginItemSetEnabled still works for me, on Ventura, even though deprecated. It adds the app to the "Allow in the Background" section below the login items list. Perhaps the settings dialog is programmed not to add apps to the manual login items list that are already in the allow in the background section. Was the normal mechanism not working for you?

@pilotmoon no, the normal mechanism didn't work, that's why I tried to add the app manually.

Perhaps the settings dialog is programmed not to add apps to the manual login items list that are already in the allow in the background section

So this is really weird, Zoom, a couple of Logitech apps, and MS Teams shows up in the 'allow in background' section, and I was able to manually add it to the 'open at login' section. BUT, DisplayLink Manager, Hidden Bar, Facebook Messenger etc can't be added just like Scroll Reverser.

I am wondering if it's to do with calling the deprecated API that causes this issue?
(if I have some time to learn mac development I might take a crack at this)

Dunno if it helps any debugging, but I'm having this issue as well. In trying to reinstall and try from scratch, I also noticed Scroll Reverser could not be removed from the "Allow in background" list. I checked /Library/LaunchAgents and LauchDaemons as well as ~/Library/Launch* and nothing was listed.

Also just using Automator as a workaround.

me too, I use Automator to start scroll reverser now

same issue,ventura(m1 pro)

I was having this issue with a different application (Magnet) and was able to resolve it by dragging the app to the Dock, then control-clicking it and selecting "Options" > "Open at Login". The app now appears on the "Login items" "Open at Login" list and stays there. Perhaps it would work for this app as well.

I was having this issue with a different application (Magnet) and was able to resolve it by dragging the app to the Dock, then control-clicking it and selecting "Options" > "Open at Login". The app now appears on the "Login items" "Open at Login" list and stays there. Perhaps it would work for this app as well.

It works. Thank you.

I was having a similar issue with Ventura on an Intel Mac where I wasn't able to add or remove login items. I would click the ➕ or ➖ icons and nothing would happen. The dialog window would not even open. However I just fixed this by going into my Privacy and Security settings panel and clicking the Turn Off FileVault button. I didn't proceed with deactivation, but for some reason when I closed the dialog window, and returned to the Login Items settings page, I was able to add and remove login items per normal. Perhaps it's just a strange coincidence?