mirror of
https://github.com/Clipy/Clipy.git
synced 2026-04-26 01:25:58 +03:00
[GH-ISSUE #517] A "login item added" notification appears each time @ macOS 13 Ventura (beta) #336
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/Clipy#336
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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
@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.
@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",
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.
@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.
@chuckcho commented on GitHub (Jan 4, 2023):
Thanks for the work-around. It did a trick for me too.
@rzarajczyk commented on GitHub (Oct 26, 2023):
It's October 2023, the issue still exists.
@Dwlad90 commented on GitHub (Jan 7, 2024):
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
@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).