Closed Bug 1293467 Opened 4 years ago Closed 4 years ago
send tab notification has no icon
setup two profiles signed into the same sync acct 1. on desktop 1 - context click on page and send tab to all devices 2. on desktop 2 - poke sync now button actual: you a notification with no image or icon
a Logo would spruce things up. Also the originating device name italicized or on a new line would provide more visual clarity.
We did something similar for the "notifications upgraded" prompt: http://searchfox.org/mozilla-central/rev/d83f1528dbcb1e837d99cf5b6c36a90b03bf0e77/browser/components/nsBrowserGlue.js#2250-2253 Native notifications already use the app icon, and we specified the logo manually for XUL notifications.
We should use the Firefox (or Aurora, Nightly, etc) icon like we do on OS X.
Ryan is that ok?
It looks a little big to me. Here are the guidelines that make it look like you can use the application icon, and not place it as a big image. https://msdn.microsoft.com/en-us/windows/uwp/controls-and-patterns/tiles-and-notifications-adaptive-interactive-toasts Here is a the dropbox example. http://cdn.arstechnica.net/wp-content/uploads/2016/01/3-Interactive-toast-notifs.png
Flags: needinfo?(rfeeley) → needinfo?(eoger)
To be honest, I realized while setting up Sync for my tests that we don't have any icon for any of the new notifications we display (sync starting, validation email sent etc). I think we should open a bug asking for a default icon, just like on OSX, in the Notifications component instead of trying to make an half-assed fix.
Flags: needinfo?(eoger) → needinfo?(ckarlof)
Kit, didn't you work on some of this code? Do you know why we don't get the default Firefox icon for Notifications on Windows?
Flags: needinfo?(ckarlof) → needinfo?(kcambridge)
(In reply to Chris Karlof [:ckarlof] from comment #7) > Kit, didn't you work on some of this code? Do you know why we don't get the > default Firefox icon for Notifications on Windows? The simple answer is that the designs for XUL notifications (https://mozilla.invisionapp.com/share/3A4A895XZ#/screens/104465680) didn't call for an application icon if one wasn't specified. I think we considered using it in place of the favicon, but I'm not certain. We don't control it on OS X, but, on Windows, it's up to us if we want a default. Let's file a bug in Toolkit :: Notifications, and we can discuss further. In the meantime, I think Edouard's patch is a good workaround. (In reply to Ryan Feeley [:rfeeley] from comment #5) > Here is a the dropbox example. > http://cdn.arstechnica.net/wp-content/uploads/2016/01/3-Interactive-toast- > notifs.png Ryan, it looks like Dropbox uses native Windows notifications, which we don't implement yet. We can, of course, and probably should, but that's a separate chunk of work. ;-)
Ryan, do you have thoughts on using the oversize app icon vs. leaving it without an icon at all?
Or using a smaller icon. :-)
We should use the smaller icon à la Dropbox example so that when we do move to native notifications, the transition is seamless.
Comment on attachment 8784617 [details] Bug 1293467 - Explicitely show icon on tab received notification on Windows. https://reviewboard.mozilla.org/r/73974/#review71890
Attachment #8784617 - Flags: review?(markh) → review+
Pushed by email@example.com: https://hg.mozilla.org/integration/autoland/rev/0f2ee5d1f19b Explicitely show icon on tab received notification on Windows. r=markh
Verified fixed on Windows 7 x64 using Firefox 51 Beta 9 (buildID: 20161219140923): send tab notification has icon.
You need to log in before you can comment on or make changes to this bug.