Closed Bug 1498912 Opened 6 years ago Closed 1 year ago

Websites notifications are not be displayed > Bug 1155505 Implement ToastNotification for Action Center on Windows 10

Categories

(Toolkit Graveyard :: Notifications and Alerts, defect, P2)

64 Branch

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: rgeisler, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:64.0) Gecko/20100101 Firefox/64.0

Steps to reproduce:

Calling the website https://pdehaan.github.io/push-notification-test/
Click on the button 'Click on the button'
Click on the button 'Allow Notifications'

The notification is not displayed under the local user but under the administrator. There is also no Nightly entry under 'Settings > System > Notifications & actions.'

Windows 10 1809 (OS Build 17763.55)


Actual results:

The notification is not displayed.


Expected results:

The notification should be displayed.
Summary: Websites notifications are not be displayed → Websites notifications are not be displayed > Bug 1155505 Implement ToastNotification for Action Center on Windows 10
Component: Untriaged → Notifications and Alerts
Product: Firefox → Toolkit
This may be bug 1496650.  So I have questions.

1. no display means old notification disappear too?
2. How to install Firefox?  Using installer.exe package or zip file?
3. Do/Did you install both version of 32 bit and 64 bit?  (including past)
4. What registry key does your environment exist?  HKCU\Software\Mozilla\Firefox\TaskBarIDs, HKCU\Software\Wow6432Node\Mozilla\Firefox\TaskBarIDs, HKLM\Software\Mozilla\Firefox\TaskBarIDs and HKLM\Software\Wow6432Node\Mozilla\Firefox\TaskBarIDs?  If thes registries have a garbage value, this notification doesn't work
Flags: needinfo?(rgeisler)
(In reply to Makoto Kato [:m_kato] from comment #1)
> This may be bug 1496650.  So I have questions.
> 
> 1. no display means old notification disappear too?
Yes, ther are no notifications anymore.

> 2. How to install Firefox?  Using installer.exe package or zip file?
Until the update to 1809 I use the 64-bit ZIP version since the clean installation of Windows 10 two years ago. After the update I removed the ZIP-Version since it was not possible to make Firefox Nightly the default browser (http://mzl.la/1ScxB7w) for a newly created account. Then I installed the 64-bit Version with the setup (https://download.mozilla.org/?product=firefox-nightly-latest-ssl&os=win64&lang=en-US).

> 3. Do/Did you install both version of 32 bit and 64 bit?  (including past)
No, I only use the 64-bit Version of Firefox and Firefox Nightly.

> 4. What registry key does your environment exist? 
> If thes registries have a garbage value, this notification doesn't work
TaskBarIDs
HKEY_CURRENT_USER\Software\Mozilla\Firefox\TaskBarIDs
Only HKEY_CURRENT_USER\Software\Wow6432Node\Microsoft exists under the Wow6432Node node.

HKEY_LOCAL_MACHINE\SOFTWARE\Mozilla\Firefox\TaskBarIDs
HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Mozilla\Firefox\TaskBarIDs

HKEY_USERS\S-1-5-21-3019028515-2710204325-297437144-1002\Software\Mozilla\Firefox\TaskBarIDs
Only HKEY_USERS\S-1-5-21-3019028515-2710204325-297437144-1002\Software\Wow6432Node\Microsoft exists under the Wow6432Node node.

HKEY_USERS\S-1-5-21-3019028515-2710204325-297437144-1005\Software\Mozilla\Firefox\TaskBarIDs
Only HKEY_USERS\S-1-5-21-3019028515-2710204325-297437144-1005\Software\Wow6432Node\Microsoft exists under the Wow6432Node node.

Two entries exits under TaskBarIDs
C:\Program Files\Mozilla Firefox
C:\Program Files\Mozilla Firefox Nightly
Flags: needinfo?(rgeisler)
Priority: -- → P2
I have the same problem, with the same environment (Firefox Nightly 64bit on W10 64 bit 1809).

Same issue here.(with zip-versions)
It is necessary to have Start menu and TaskBarID to resolve this issue.

  1. Launch regedit.exe
  2. Go to HKEY_CURRENT_USER\Software\Mozilla\Firefox\TaskBarIDs
  3. Find out TaskBarID for the target path (TaskBarID is generated by installer/updater, so update at least once must be performed in case of zip-version)
  4. exit regedit
  5. On Windows Explorer, pin the target firefox.exe to Start menu
  6. Run following command on PowerShell(or command prompt) with your UserName and TaskBarID

Win7AppId1.1.exe "C:\Users\UserName\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\firefox.lnk" TaskBarID

(Win7AppId1.1.exe can be downloaded from here https://code.google.com/archive/p/win7appid/)

And then, run firefox.exe and try notification.(Notification.requestPermission().then(() => new Notification('hello'));)
It works for me.

Installed version(65.0.1) has no issue since there is a link in start menu and it has correct AppID(=TaskBarID).

(In reply to atlanto from comment #4)

Same issue here.(with zip-versions)
It is necessary to have Start menu and TaskBarID to resolve this issue.

  1. Launch regedit.exe
  2. Go to HKEY_CURRENT_USER\Software\Mozilla\Firefox\TaskBarIDs
  3. Find out TaskBarID for the target path (TaskBarID is generated by installer/updater, so update at least once must be performed in case of zip-version)
  4. exit regedit
  5. On Windows Explorer, pin the target firefox.exe to Start menu
  6. Run following command on PowerShell(or command prompt) with your UserName and TaskBarID

Win7AppId1.1.exe "C:\Users\UserName\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\firefox.lnk" TaskBarID

(Win7AppId1.1.exe can be downloaded from here https://code.google.com/archive/p/win7appid/)

And then, run firefox.exe and try notification.(Notification.requestPermission().then(() => new Notification('hello'));)
It works for me.

Installed version(65.0.1) has no issue since there is a link in start menu and it has correct AppID(=TaskBarID).

It worked for me. But you forgot to say that step 6 must be executed as Administrator.

Severity: normal → S3

We no longer rely on start menu shortcuts for toast notifications, so this should no longer be an issue.

Status: UNCONFIRMED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Product: Toolkit → Toolkit Graveyard
You need to log in before you can comment on or make changes to this bug.