[GH-ISSUE #517] A "login item added" notification appears each time @ macOS 13 Ventura (beta) #336

Open
opened 2026-03-03 01:11:47 +03:00 by kerem · 7 comments
Owner

Originally created by @kujax-ossan on GitHub (Sep 17, 2022).
Original GitHub issue: https://github.com/Clipy/Clipy/issues/517

If I have Clipy set as a login item, I get a "login item added" notification every time I start my Mac and log into my account; I also have Dropbox set up, but this one only showed up the first time I started it.

Clipyをログイン項目に設定してあると、Macを起動してアカウントにログインするたびに「ログイン項目が追加されました」の通知が出ます。Dropboxも設定してあるが、こちらは初回の起動時に表示されただけでした。

Clipy v1.2.1 at

  • 2022.09.17: macOS 13 Beta (build 22A5342f)
  • 2022.10.02: mac OS 13 Beta (build 22A5358e)
Originally created by @kujax-ossan on GitHub (Sep 17, 2022). Original GitHub issue: https://github.com/Clipy/Clipy/issues/517 If I have Clipy set as a login item, I get a "login item added" notification every time I start my Mac and log into my account; I also have Dropbox set up, but this one only showed up the first time I started it. Clipyをログイン項目に設定してあると、Macを起動してアカウントにログインするたびに「ログイン項目が追加されました」の通知が出ます。Dropboxも設定してあるが、こちらは初回の起動時に表示されただけでした。 Clipy v1.2.1 at + 2022.09.17: macOS 13 Beta (build 22A5342f) + 2022.10.02: mac OS 13 Beta (build 22A5358e)
Author
Owner

@arubdesu commented on GitHub (Oct 5, 2022):

This is almost certainly because Clipy is 'wired' to add itself to LoginItems on every launch, and since it was legitimately added each subsequent 'automated' launch triggers the detection of it being added. I've filed feedback with Apple regarding this, FB11650380.
If we could identify where it is happening in the code (since it should be discoverable/visible in this repo) we could build a new version that disables that action, since it is not critical to 'force'.
A more 'robust' handling that Apple may be interpreted as trying to guide developers to would be to detect if it isn't in login items and prompt the user to do so rather than automatically 'shoving' it in on every launch.

<!-- gh-comment-id:1267989929 --> @arubdesu commented on GitHub (Oct 5, 2022): This is almost certainly because Clipy is 'wired' to add itself to LoginItems on every launch, and since it was legitimately added each subsequent 'automated' launch triggers the detection of it being added. I've filed feedback with Apple regarding this, FB11650380. If we could identify where it is happening in the code (since it should be discoverable/visible in this repo) we could build a new version that disables that action, since it is not critical to 'force'. A more 'robust' handling that Apple may be interpreted as trying to guide developers to would be to detect if it _isn't_ in login items and prompt the user to do so rather than automatically 'shoving' it in on every launch.
Author
Owner

@arubdesu commented on GitHub (Oct 5, 2022):

Actually it looks like this is because there's a preference (I had forgot about) attempting to be 'helpful' independent of SysPrefs/SystemSettings, which seems to be controlled/called from here: github.com/Clipy/Clipy@082c9e4c15/Clipy/Sources/AppDelegate.swift (L155-L159)
With the current release version if you deselect the 'Launch on login' setting from Clipy's preferences under Genral -> Behavior, and on next launch be greeted with the dialog asking if you want to add it. Clicking BOTH "Don't Launch" AND "Don't ask again",
Screenshot 2022-10-05 at 15 20 59
and if you then add the app to General->LoginItems->Open at Login it opens automatically without showing the notifications ONCE, but then appears to remove itself again. 😅

Removing this entire management functionality and generating a new build seems to be the only fix, short of Apple stopping their notification behavior.

<!-- gh-comment-id:1268009048 --> @arubdesu commented on GitHub (Oct 5, 2022): Actually it looks like this is because there's a preference (I had forgot about) attempting to be 'helpful' independent of SysPrefs/SystemSettings, which seems to be controlled/called from here: https://github.com/Clipy/Clipy/blob/082c9e4c15a458d25895cc5162f2ce3b2a6b1042/Clipy/Sources/AppDelegate.swift#L155-L159 With the current release version if you deselect the 'Launch on login' setting from Clipy's preferences under Genral -> Behavior, and on next launch be greeted with the dialog asking if you want to add it. Clicking BOTH "Don't Launch" AND "Don't ask again", <img width="372" alt="Screenshot 2022-10-05 at 15 20 59" src="https://user-images.githubusercontent.com/388808/193994809-0e326a67-e49f-487e-9f06-f8ef5fa7be20.png"> and if you then add the app to General->LoginItems->Open at Login it opens automatically without showing the notifications ONCE, but then appears to remove itself again. 😅 Removing this entire management functionality and generating a new build seems to be the only fix, short of Apple stopping their notification behavior.
Author
Owner

@bvandergiessen commented on GitHub (Dec 22, 2022):

@arubdesu Have you put in a pull request for this fix? I don't know whether it leads to anything - perhaps the project is dead (last commit is more than 1.5 years ago) - but it might be worth a try.

<!-- gh-comment-id:1363028071 --> @bvandergiessen commented on GitHub (Dec 22, 2022): @arubdesu Have you put in a pull request for this fix? I don't know whether it leads to anything - perhaps the project is dead (last commit is more than 1.5 years ago) - but it might be worth a try.
Author
Owner

@chuckcho commented on GitHub (Jan 4, 2023):

Actually it looks like this is because there's a preference (I had forgot about) attempting to be 'helpful' independent of SysPrefs/SystemSettings, which seems to be controlled/called from here:

github.com/Clipy/Clipy@082c9e4c15/Clipy/Sources/AppDelegate.swift (L155-L159)

With the current release version if you deselect the 'Launch on login' setting from Clipy's preferences under Genral -> Behavior, and on next launch be greeted with the dialog asking if you want to add it. Clicking BOTH "Don't Launch" AND "Don't ask again",
Screenshot 2022-10-05 at 15 20 59
and if you then add the app to General->LoginItems->Open at Login it opens automatically without showing the notifications ONCE, but then appears to remove itself again. 😅
Removing this entire management functionality and generating a new build seems to be the only fix, short of Apple stopping their notification behavior.

Thanks for the work-around. It did a trick for me too.

<!-- gh-comment-id:1371477163 --> @chuckcho commented on GitHub (Jan 4, 2023): > Actually it looks like this is because there's a preference (I had forgot about) attempting to be 'helpful' independent of SysPrefs/SystemSettings, which seems to be controlled/called from here: > > https://github.com/Clipy/Clipy/blob/082c9e4c15a458d25895cc5162f2ce3b2a6b1042/Clipy/Sources/AppDelegate.swift#L155-L159 > > > With the current release version if you deselect the 'Launch on login' setting from Clipy's preferences under Genral -> Behavior, and on next launch be greeted with the dialog asking if you want to add it. Clicking BOTH "Don't Launch" AND "Don't ask again", > <img alt="Screenshot 2022-10-05 at 15 20 59" width="372" src="https://user-images.githubusercontent.com/388808/193994809-0e326a67-e49f-487e-9f06-f8ef5fa7be20.png"> > and if you then add the app to General->LoginItems->Open at Login it opens automatically without showing the notifications ONCE, but then appears to remove itself again. 😅 > Removing this entire management functionality and generating a new build seems to be the only fix, short of Apple stopping their notification behavior. Thanks for the work-around. It did a trick for me too.
Author
Owner

@rzarajczyk commented on GitHub (Oct 26, 2023):

It's October 2023, the issue still exists.

<!-- gh-comment-id:1781847246 --> @rzarajczyk commented on GitHub (Oct 26, 2023): It's October 2023, the issue still exists.
Author
Owner

@Dwlad90 commented on GitHub (Jan 7, 2024):

Actually it looks like this is because there's a preference (I had forgot about) attempting to be 'helpful' independent of SysPrefs/SystemSettings, which seems to be controlled/called from here:

github.com/Clipy/Clipy@082c9e4c15/Clipy/Sources/AppDelegate.swift (L155-L159)

With the current release version if you deselect the 'Launch on login' setting from Clipy's preferences under Genral -> Behavior, and on next launch be greeted with the dialog asking if you want to add it. Clicking BOTH "Don't Launch" AND "Don't ask again",
Screenshot 2022-10-05 at 15 20 59
and if you then add the app to General->LoginItems->Open at Login it opens automatically without showing the notifications ONCE, but then appears to remove itself again. 😅
Removing this entire management functionality and generating a new build seems to be the only fix, short of Apple stopping their notification behavior.

This trick solved the problem of automatic removal from "open at login" for me:
https://stackoverflow.com/questions/67527371/osx-terminal-command-to-make-app-run-at-startup

<!-- gh-comment-id:1880022375 --> @Dwlad90 commented on GitHub (Jan 7, 2024): > Actually it looks like this is because there's a preference (I had forgot about) attempting to be 'helpful' independent of SysPrefs/SystemSettings, which seems to be controlled/called from here: > > https://github.com/Clipy/Clipy/blob/082c9e4c15a458d25895cc5162f2ce3b2a6b1042/Clipy/Sources/AppDelegate.swift#L155-L159 > > > With the current release version if you deselect the 'Launch on login' setting from Clipy's preferences under Genral -> Behavior, and on next launch be greeted with the dialog asking if you want to add it. Clicking BOTH "Don't Launch" AND "Don't ask again", > <img alt="Screenshot 2022-10-05 at 15 20 59" width="372" src="https://user-images.githubusercontent.com/388808/193994809-0e326a67-e49f-487e-9f06-f8ef5fa7be20.png"> > and if you then add the app to General->LoginItems->Open at Login it opens automatically without showing the notifications ONCE, but then appears to remove itself again. 😅 > Removing this entire management functionality and generating a new build seems to be the only fix, short of Apple stopping their notification behavior. This trick solved the problem of automatic removal from "open at login" for me: https://stackoverflow.com/questions/67527371/osx-terminal-command-to-make-app-run-at-startup
Author
Owner

@rob4226 commented on GitHub (Mar 14, 2024):

It's a shame this project doesn't appear active anymore to fix this. Last release was on Oct 10, 2018 (over 5 years ago) and last commit was Apr 9, 2021 (3 years ago).

<!-- gh-comment-id:1996326106 --> @rob4226 commented on GitHub (Mar 14, 2024): It's a shame this project doesn't appear active anymore to fix this. Last release was on Oct 10, 2018 (over 5 years ago) and last commit was Apr 9, 2021 (3 years ago).
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/Clipy#336
No description provided.