Intent to Remove: Big Image notifications on Mac OS X

137 views
Skip to first unread message

Peter Beverloo

unread,
Apr 6, 2017, 11:15:11 AM4/6/17
to blink-dev, Miguel Garcia, Owen, rse...@chromium.org

Primary eng (and PM) emails

mig...@chromium.org, rse...@chromium.org, owe...@chromium.org, pe...@chromium.org


Summary

Removal of the `image` property for Notifications on Mac OS X


Motivation

We’re migrating notifications for Mac OS X users from Chrome’s own notification system to using the system’s Notification Center. This creates for a much nicer user experience that’s integrated with the rest of the operating system, and enables notifications to stick around in the notification center. Settings like Do Not Disturb will be respected too.


All other major browsers on Mac OS X (Safari, Firefox, Opera) already use the system’s Notification Center.


You can try out support by enabling support for native notifications in Chrome Canary:

   chrome://flags#enable-native-notifications


And playing with the notification settings available on:

   https://tests.peter.sh/notification-generator/


Compatibility And Interoperability Risk

The interoperability impact is two-folded. Since other browsers already use the system’s Notification Center, this will align the major browsers on Mac OS X. However, as is currently the case on Android, it introduces differences between the different platforms Chrome can run on.


From a compatibility point of view, the big image feature for notification is meant to be decorative, and nothing will break if we stop supporting the property— the image will just stop showing up. At time of writing, 0.2% of Web Notifications shown on Mac OS X include one.


Moving to the system’s Notification Center also brings a different appearance, which means that there’s less space for the developer-provided text, the icon will be displayed at a smaller size and action buttons will be hidden behind an overflow menu, without icons. Removing the `image` property will give developers a way to feature detect this, albeit somewhat hacky.


Edge: Shipped system notification support, has not shipped big image

Firefox: Shipped system notification support, has not shipped big image

Safari: Shipped system notification support, has not shipped big image

Web developers: Neutral


Alternative implementation suggestion for web developers

Convey the same information in the icon, the notification’s text or on a landing page after the user clicks on the notification.


Tracking bug

https://bugs.chromium.org/p/chromium/issues/detail?id=326539

https://bugs.chromium.org/p/chromium/issues/detail?id=571056


Entry on the feature dashboard

https://www.chromestatus.com/feature/5689068222414848


Chris Harrelson

unread,
Apr 6, 2017, 5:08:45 PM4/6/17
to Peter Beverloo, blink-dev, Miguel Garcia, Owen, rse...@chromium.org
LGTM1

--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+unsubscribe@chromium.org.

Dimitri Glazkov

unread,
Apr 7, 2017, 10:42:38 AM4/7/17
to Chris Harrelson, Peter Beverloo, blink-dev, Miguel Garcia, Owen, rse...@chromium.org
LGTM2

To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.

Philip Jägenstedt

unread,
Apr 7, 2017, 11:45:55 AM4/7/17
to Dimitri Glazkov, Chris Harrelson, Peter Beverloo, blink-dev, Miguel Garcia, Owen, rse...@chromium.org
LGTM3

romb...@gmail.com

unread,
Aug 5, 2017, 2:12:24 PM8/5/17
to blink-dev, mig...@chromium.org, owe...@chromium.org, rse...@chromium.org
Is there a method to keep the big icon and drop the Chrome icon in the message?

oconn...@gmail.com

unread,
Aug 7, 2017, 12:31:50 AM8/7/17
to blink-dev, mig...@chromium.org, owe...@chromium.org, rse...@chromium.org

oconn...@gmail.com

unread,
Aug 7, 2017, 12:32:15 AM8/7/17
to blink-dev, mig...@chromium.org, owe...@chromium.org, rse...@chromium.org


On Friday, 7 April 2017 01:15:11 UTC+10, Peter Beverloo wrote:

Peter Beverloo

unread,
Aug 7, 2017, 9:31:32 AM8/7/17
to romb...@gmail.com, blink-dev, Miguel Garcia, Owen, rse...@chromium.org
No, sorry. These are limitations imposed on us by the underlying notification system.

Thanks,
Peter

--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
Reply all
Reply to author
Forward
0 new messages