Notifications 将HTML5通知API与NWJS一起使用-只能在windows chromiuem上单击图标

Notifications 将HTML5通知API与NWJS一起使用-只能在windows chromiuem上单击图标,notifications,chromium,nwjs,Notifications,Chromium,Nwjs,我有一个消息桌面应用程序,用Angular编写,用NWJS包装。 当应用程序在后台时,最终用户会收到HTML5通知 在mac上,一切正常,但在windows上,只有图标是可点击的。如果用户单击标题或正文,则不会发生任何事情 var options = { dir: 'ltr', body: 'Body Text', icon: 'assets/images/desktop_notification.png' } var title = 'Title' var notif

我有一个消息桌面应用程序,用Angular编写,用NWJS包装。 当应用程序在后台时,最终用户会收到HTML5通知

在mac上,一切正常,但在windows上,只有图标是可点击的。如果用户单击标题或正文,则不会发生任何事情

var options = {
    dir: 'ltr',
    body: 'Body Text',
    icon: 'assets/images/desktop_notification.png'
}
var title = 'Title'

var notification = new Notification(title, options)
var notification.onclick = function() {
  console.log('click event') // On windows, this will only fire if clicking on the icon
  desktopNotificationOnClickEvent(title, body, chatID)
      $timeout(
        function()
          notification.close()
      , 7000
      )
}

我如何修复它,使通知上的每个位置都可以单击?

哪个版本的Windows?我现在无法检查,但我在家里某处有一个Windows 8框。赢得7/10。在我的parallels机器上,一切正常,但在真正的windows机器安装上却不行。我愚蠢的Win8机器出现问题,无法启动。好久没用了,我正在找我的DVD,这样我就可以重新安装了。