Skip to content

[BUG] Get an Finder error message with -type alert #233

@doekman

Description

@doekman

Describe the bug
When I show a notification with primary action opening a link, when clicking on the notification, also a Finder-error message is shown.

To Reproduce
Steps to reproduce the behavior:

  1. Have the IBM Notifier app installed in the default location
  2. Start the terminal
  3. Execute the following line in the shell: /Applications/IBM\ Notifier.app/Contents/MacOS/IBM\ Notifier -type alert -title "Er is nieuws" -subtitle $'Het goede nieuws is dat er nieuw nieuws is.' -main_button_label "Bekijk nieuws" -main_button_cta_type link -main_button_cta_payload 'https://nos.nl' -secondary_button_label "Laat maar" -secondary_button_cta_type none
  4. Click on the notification itself, so for example on the message text (not the primary or secondary buttons)
  5. The links is opened in the default browser
  6. A window opens, with the text "De app IBM Notifier Alert.app is niet meer geopend." (English "The app IBM Notifier Alert.app is not opened anymore"?). See also screenshot.
    • This window being opened isn't expected, and this is the error.

Expected behavior
I expect no error message will be shown

Screenshots

Scherm­afbeelding 2025-01-07 om 15 44 30

Desktop (please complete the following information):

  • OS: macOS 15.2 (24C101)
  • Project version 3.2.1 Build 127

Additional context

  • The error is not shown, when clicking on the primary action
  • The error is also not shown when two or more notifcations are open, and clicking on the notification itself. So it only happens when one notification is still open.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions