User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:48.0) Gecko/20100101 Firefox/48.0 Build ID: 20160817112116 Steps to reproduce: I am the author of "Firefox-on-OS-X label" (https://addons.mozilla.org/en-US/firefox/addon/fosx-label/), and it needs support for nsIMacDockSupport in order to work (see https://github.com/jf/fosx-label/blob/master/lib/main.js for the source). A number of folks use this extension in order to distinguish between different firefox profiles (very helpful!), and I'm really hoping that this addon will still be usable after the start of the deprecation exercise.
Component: WebExtensions → WebExtensions: Frontend
Whiteboard: [design-decision-needed] → [design-decision-needed]triaged
To be discussed at Nov. 29, 2016 WE triage meeting. Agenda: https://docs.google.com/document/d/1IMBFXHNpg_A-15VdJM1Hh8DUUXF1xNFy87W1w8ZEOBk/edit?usp=sharing
This addon is also related, but not as popular: https://addons.mozilla.org/en-US/firefox/addon/os-x-dock-icon-changer/?src=github It uses [NSApp setApplicationIconImage] to change the dock icon. And it also swizzles [NSImage imageNamed:"NSApplicationIcon"] so that when the download progress bar is shown over the Firefox icon in dock, it shows over the users custom applied icon.
Kev or Markus, we would be interested in your input. If I read this correctly, this would allow a developer to completely change the dock icon. That might be a concern for some people. What would be cool is if we but a badge or overlay over the icon - similar to browser action right now. Also presuming that there might be equivalents for other platforms. Can't need info Markus, so I'll cc.
As I understand it, there are 3 possible modifications to the icon we could enable. a) full replacement of the icon b) using a badge to label the icon c) using a graphic to overlay part of the icon Third options sounds most appealing, but still very complex for the gain. a) I do not think we want to enable that sort of reduced recognizably for Firefox. Or enable the possibility to mimic another application. b) macOS Human Interface Guidelines state that badges on dock icons should only be used for notifications and should not be re-modeled to do something else. (And only should be numbers.) As appealing it is to use badges to differentiate between profiles, I do not think that is a big enough benefit to go against what apple defines in their guidelines. (side note: Having a way for extensions to make their notifications seen in the badge on the icon is certainly interesting. but not the desire here.) > Don’t use a badge to indicate information other than a pending notification. > Users can choose to turn off badges for your app. > If your app uses a badge to provide critical information, these users will miss out. > > Don’t try to copy the appearance of a badge. If you mimic the appearance of a badge, > users who have turned off badges may be frustrated that they appear > to be receiving badge notifications anyway. > > https://developer.apple.com/library/content/documentation/UserExperience/Conceptual/OSXHIGuidelines/NotificationCenter.html c) Allowing to define an additional graphic that would overlay the lower right side of the Firefox icon could work to enable a way to visually separate individual profiles. (It would not conflict with badges, nor make the Firefox icon unrecognizable.) It potentially adds noise to the Firefox experience if more extensions would use it and we would have to deal with which icon to show... I do not think this is the best way to enhance WebExtensions as it's application is rather limited but with big impact on the appearance of Firefox. And mostly limited to Mac. (I haven't seen any overlays or badges on Windows.)
Status: UNCONFIRMED → RESOLVED
Last Resolved: a year ago
Resolution: --- → WONTFIX
Whiteboard: [design-decision-needed]triaged → [design-decision-denied]triaged
You need to log in before you can comment on or make changes to this bug.