nextcloud / nextcloud/mail

Stuck browser notifications

Open
#8,672 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

0. to triage bug
Dominant language
JavaScript
Stars
1k
Forks
348
Avg merge
12h 28m
Merged PRs (30d)
91

Description

Steps to reproduce
  1. Configure email
  2. Receive an email
  3. Get a notification of the new mail from the browser
Expected behavior

Mail notification shows once, and then disappears.

Or it clears when you read the message.

Or have some way to get the notification to stop reappearing every 30 seconds.

Or go away and never notify at all.

Actual behavior

It pops up over and over and over again, and once this starts happening, the only way to get it to stop is to remove the notification permission from NextCloud.

Mail app version

3.3.0-alpha1

Mailserver or service

Self-hosted Dovecot server

Operating system

Ubuntu (in Docker container)

PHP engine version

PHP 8.1

Web server

Nginx

Database

MariaDB

Additional info

This is a client issue, not a server issue. I actually really like the app, but this notification is super annoying -- and I really want to disable mail notifications entirely, I don't need the interruptions. I'll file a separate feature request for that.

I'm using Firefox on Ubuntu 23.04, if that makes any difference - currently 115.0.2 - snap.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No source files, tests, or entry points are named. Start by reproducing the repeated browser notification in Firefox with the listed Mail app, Nextcloud, and Dovecot setup, then trace the client notification lifecycle. Done means the notification no longer reappears every 30 seconds and its intended clearing or disabling behavior is defined and verified.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.