Closed Bug 1605842 Opened 6 years ago Closed 6 years ago

[Ubuntu] "Pause notifications until Firefox restarts" is not available until the first notification

Categories

(Toolkit Graveyard :: Notifications and Alerts, defect)

71 Branch
Unspecified
Linux
defect
Not set
normal

Tracking

(firefox72 wontfix, firefox73 wontfix, firefox74 wontfix)

RESOLVED WONTFIX
Tracking Status
firefox72 --- wontfix
firefox73 --- wontfix
firefox74 --- wontfix

People

(Reporter: bernat, Unassigned)

Details

(Keywords: regression, regressionwindow-wanted)

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:71.0) Gecko/20100101 Firefox/71.0

Steps to reproduce:

  • Start Firefox
  • Go to about:preferences
  • Search for "Pause notifications" → nothing
  • Wait for a notification (or generate one?)
  • Go to about:preferences
  • Search for "Pause notifications" → check box is here

Actual results:

No checkbox to pause notifications after Firefox starts

Expected results:

Checkbox to pause notifications should be here before the first notification

Hi,
I was unable to reproduce this issue on my end, I tried on Windows 10, Mac OSX 10.14.5 and Ubuntu 18.04.3 LTS with Firefox Release 72, Firefox Beta 73.0b1 and Nightly version 74.0a1 (2020-01-08) (64-bit).

Currently, 'Pause notifications' check box is only available in Firefox BETA 73.0b1 but I couldn't reproduce the behaviour reported.

Please, refer to this page for more details about how Notifications Permissions works https://support.mozilla.org/en-US/kb/push-notifications-firefox

If you can still reproduce the issue, would you send a screenshot or a video?

I've chosen a Product and Component: Toolkit - Notifications & Alerts team. If this is not the right component please route this ticket to the corresponding team, thanks!

Thanks.

Component: Untriaged → Notifications and Alerts
Flags: needinfo?(bernat)
Product: Firefox → Toolkit

(In reply to Jerónimo Torti from comment #1)

I was unable to reproduce this issue on my end, I tried on Windows 10, Mac OSX 10.14.5 and Ubuntu 18.04.3 LTS with Firefox Release 72, Firefox Beta 73.0b1 and Nightly version 74.0a1 (2020-01-08) (64-bit).

Currently, 'Pause notifications' check box is only available in Firefox BETA 73.0b1 but I couldn't reproduce the behaviour reported.

It should be available on release, beta, and Nightly only on operating systems that don't use the system for display native notifications (that means it should always be there on Windows and some Linux configurations that don't have libnotify). If you don't see the checkbox in those configurations then that means that you ARE reproducing the bug.

Flags: needinfo?(jeronimo.torti)

Hi Matthew,
thanks for taking a look at this ticket. As per your comment, I'll update the flags since I'm not able to see the checkbox and thus the bug is reproducible.

Regards!

Flags: needinfo?(jeronimo.torti)
Flags: needinfo?(bernat)

The priority flag is not set for this bug.
:MattN, could you have a look please?

For more information, please visit auto_nag documentation.

Flags: needinfo?(MattN+bmo)

Can you please figure out when this regressed with mozregression?

Flags: needinfo?(MattN+bmo) → needinfo?(jeronimo.torti)

Hi Matthew,
I tried to perform a mozregression for this bug in Ubuntu 18.04 and I tried with several Firefox versions (58, 68, 69, 70, 71, 72, 73.0b1, 73.0b9, 74.0.1, 74.0.2), and I could not reproduce the issue, "Pause notifications" checkbox does not appear either by allowing notifications from pages, refreshing a page, etc. Steps provided were not enough to reproduce the issue in any version. Can you provide any detail I'm missing in order to perform the moz regression?

Thanks,
Jerónimo.

Flags: needinfo?(jeronimo.torti) → needinfo?(MattN+bmo)

Bugbug thinks this bug is a regression, but please revert this change in case of error.

Keywords: regression

I believe its expected that "Pause notifications" isn't available on Ubuntu 18.04, so we need to narrow down which linux distros this is reproducible on.

(In reply to Jerónimo Torti from comment #6)

I tried to perform a mozregression for this bug in Ubuntu 18.04 and I tried with several Firefox versions (58, 68, 69, 70, 71, 72, 73.0b1, 73.0b9, 74.0.1, 74.0.2), and I could not reproduce the issue, "Pause notifications" checkbox does not appear either by allowing notifications from pages, refreshing a page, etc. Steps provided were not enough to reproduce the issue in any version. Can you provide any detail I'm missing in order to perform the moz regression?

You must actually show a desktop notification, not just accept the permission. You can test with the "Show notification" button at https://bugs.mattn.ca/w3c_notifications.htm

Flags: needinfo?(MattN+bmo) → needinfo?(jeronimo.torti)
OS: Unspecified → Linux
Summary: "Pause notifications until Firefox restarts" is not available until the first notification → [Ubuntu] "Pause notifications until Firefox restarts" is not available until the first notification

Hi Matthew,
thanks for provide https://bugs.mattn.ca/w3c_notifications.htm
I tested on Ubuntu 18 using it and desktop notification appears. Please, ask if any other information is needed, and if I have to perform a full test of the bug using this tool, advise! Maybe in this case I could need some help from my collegues or someone with more tech skills to complete the test.

Thanks.

Flags: needinfo?(jeronimo.torti) → needinfo?(MattN+bmo)

On linux we don't have a way to know in advance if the platform provides native notifications or if Firefox will be responsible for creating them. If we need to create them, we also need a way for the user to pause them - so the "pause notifications until FIrefox restarts" checkbox is there as a fallback. After the first notification attempt we are able to catch if the call failed and can show/hide the checkbox at that point.

Ideally, users should be using the OS' notifications. In Ubuntu this means installing the libnotify package.

Status: UNCONFIRMED → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
Flags: needinfo?(MattN+bmo)
Product: Toolkit → Toolkit Graveyard
You need to log in before you can comment on or make changes to this bug.