Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

-remove flag is not always removing when -group is used #238

Open
luckman212 opened this issue Nov 11, 2017 · 3 comments
Open

-remove flag is not always removing when -group is used #238

luckman212 opened this issue Nov 11, 2017 · 3 comments

Comments

@luckman212
Copy link

macOS 10.13.1
terminal-notifier 2.0.0 (via Homebrew)
Xcode 9.1 (9B55)

repro:

  1. make a notification with a group specified e.g.
    $ terminal-notifier -group Foo -title Bar -message Baz

  2. remove that notification:
    $ terminal-notifier -remove Foo
    * Removing previously sent notification, which was sent on: 2017-11-11 15:16:31 +0000

  3. list all
    $ terminal-notifier -list ALL
    GroupID Title Subtitle Message Delivered At
    Foo Bar (null) Baz 2017-11-11 15:16:31 +0000

it's still there!

Now, repeat step 2 (multiple times...sometimes takes 10 or more in my tests)
After many attempts, the notification is eventually cleared...

?

@julienXX
Copy link
Owner

Hi @luckman212 could you try the solution described here #222 (comment) I had the same issue as many terminal-notifier where registered on my system. Deleting all terminal-notifier instances in the DB except fr.julienxx.oss.terminal-notifier could resolve the issue. At least it fixed my local dev machine.

@luckman212
Copy link
Author

Will give that a try, thanks.

@luckman212
Copy link
Author

#222 (comment) was an interesting read, but did not fix this issue for me. Even after "cleaning" the sqlite3 db and killing usernoted and NotificationCenter the entries still lingered even after issuing the -remove command. Took 4 attempts when I tested just now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants