Notification Delay or Timeout

Users and developers helping users with generic and technical Pale Moon issues on all operating systems.

Moderator: trava90

Forum rules
This board is for technical/general usage questions and troubleshooting for the Pale Moon browser only.
Technical issues and questions not related to the Pale Moon browser should be posted in other boards!
Please keep off-topic and general discussion out of this board, thank you!
User avatar
suzyne
Lunatic
Lunatic
Posts: 364
Joined: 2023-06-28, 22:43
Location: Australia

Notification Delay or Timeout

Unread post by suzyne » 2024-03-01, 00:33

Using 33.0.1 Win64 AX2

My webmail shows notifications in the bottom left corner. Great!

Image

I want to increase the amount of time the notification is shown, but I must be looking in the wrong area of the config because I increased this value to 20 with no change in behaviour. I also tried setting requireinteraction to true, but the notification still disappeared after 3~4 seconds.

Image

Is there a different setting I should use?
Laptop 1: Windows 10 64-bit, i7 @ 2.80GHz, 16GB, NVIDIA GeForce MX450.
Laptop 2: Windows 10 32-bit, Atom Z3735F @ 1.33GHz, 2GB, Intel HD Graphics.

mrnhmath
Fanatic
Fanatic
Posts: 122
Joined: 2017-06-21, 02:37

Re: Notification Delay or Timeout

Unread post by mrnhmath » 2024-03-01, 13:03

requireinteraction works for me, have you tried restarting the browser after changing it?

User avatar
suzyne
Lunatic
Lunatic
Posts: 364
Joined: 2023-06-28, 22:43
Location: Australia

Re: Notification Delay or Timeout

Unread post by suzyne » 2024-03-01, 20:33

mrnhmath wrote:
2024-03-01, 13:03
requireinteraction works for me, have you tried restarting the browser after changing it?
Thank you for the suggestion, but a restart had no effect. Currently my settings are:

Code: Select all

dom.webnotifications.requireinteraction.count = 20
dom.webnotifications.requireinteraction.enabled = true
and notifications from my Zoho webmail remove themselves after the same 3¬4 seconds. All I can think is that a web page is allowed to ignore those settings?

The reason I am interested in this, is that sometimes being on the other side of the room I hear the ping and when I get over to look at the screen, it's gone.
Laptop 1: Windows 10 64-bit, i7 @ 2.80GHz, 16GB, NVIDIA GeForce MX450.
Laptop 2: Windows 10 32-bit, Atom Z3735F @ 1.33GHz, 2GB, Intel HD Graphics.

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 35651
Joined: 2011-08-28, 17:27
Location: Motala, SE

Re: Notification Delay or Timeout

Unread post by Moonchild » 2024-03-01, 20:51

The "requireinteraction" prefs are not relevant to what you want to control.

Please check alerts.durationImmediate -- by default it should be set to 20000 (=20 seconds) but maybe you have a custom value there?
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

User avatar
suzyne
Lunatic
Lunatic
Posts: 364
Joined: 2023-06-28, 22:43
Location: Australia

Re: Notification Delay or Timeout

Unread post by suzyne » 2024-03-01, 21:07

Moonchild wrote:
2024-03-01, 20:51
Please check alerts.durationImmediate -- by default it should be set to 20000 (=20 seconds) but maybe you have a custom value there?
Thanks, I checked there, and this is what Pale Moon currently has.

Image
Laptop 1: Windows 10 64-bit, i7 @ 2.80GHz, 16GB, NVIDIA GeForce MX450.
Laptop 2: Windows 10 32-bit, Atom Z3735F @ 1.33GHz, 2GB, Intel HD Graphics.

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 35651
Joined: 2011-08-28, 17:27
Location: Motala, SE

Re: Notification Delay or Timeout

Unread post by Moonchild » 2024-03-01, 21:23

I just tested this with https://mdn.github.io/dom-examples/to-do-notifications/ and it works correctly. the notification stays up for 20 seconds then closes.
Maybe you want more time, like a minute? set it to 60000 in that case.
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

User avatar
suzyne
Lunatic
Lunatic
Posts: 364
Joined: 2023-06-28, 22:43
Location: Australia

Re: Notification Delay or Timeout

Unread post by suzyne » 2024-03-01, 22:00

Moonchild wrote:
2024-03-01, 21:23
I just tested this with https://mdn.github.io/dom-examples/to-do-notifications/ and it works correctly. the notification stays up for 20 seconds then closes.
Maybe you want more time, like a minute? set it to 60000 in that case.
I can confirm that the To Do example does work with alert staying visible for the 20 seconds! So what I did is increase the value to 60000 to see if a Zoho notification would be visible for three times the current 3~4 seconds. I set it to this, and restarted Pale Moon, just to be sure.

Image

But the duration of the notification was unchanged! I then looked in the Zoho mail settings wondering if they have something that controls the time, but all I found is this.

Image

With no sign of any time related options.

Generally, I have notifications turned off, but after the recent Pale Moon updates I started using the Zoho webmail because it now works so much better . So this is the first time I have been interested in notifications from pages in Pale Moon.

Anyways, even if it shouldn't be possible(?), I am satisfied with saying that Zoho Mail is doing something non-standard and leave it at that.
Laptop 1: Windows 10 64-bit, i7 @ 2.80GHz, 16GB, NVIDIA GeForce MX450.
Laptop 2: Windows 10 32-bit, Atom Z3735F @ 1.33GHz, 2GB, Intel HD Graphics.