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

MacOS Notifications are not shown on subsequent app runs after first run due to duplicate identifier #1699

Closed
AdityaHirapara opened this issue Dec 30, 2020 · 1 comment
Labels
bug Something isn't working OS:macOS Tickets affecting only macOS

Comments

@AdityaHirapara
Copy link
Contributor

Describe the bug:

On MacOS, an incremental counter is used for notification identifier. So, app shows notifications on first run, but in subsequent runs notifications are assigned same identifier from 0. If notifications with these identifiers are already present in the notification center, mac doesn't show these notifications as popup again and replaces old notification content with a new one inside the notification center itself.

To Reproduce:

Steps to reproduce the behaviour:

  1. Run the mac app with notifications
  2. Don't interact with notifications, let them go in the notification center
  3. Quit app and restart
  4. Notifications won't popup on second run

Device:

  • OS: MacOS
  • Version: 11.1
  • Go version: 1.15.5
  • Fyne version: 1.4.2
@andydotxyz
Copy link
Member

Fixed on develop and also picked to release/v1.4.x ready for release in a few days

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working OS:macOS Tickets affecting only macOS
Projects
None yet
Development

No branches or pull requests

2 participants