devopera icon indicating copy to clipboard operation
devopera copied to clipboard

Outdated API documentation

Open Christoph142 opened this issue 10 years ago • 7 comments
trafficstars

Documentation is missing information about various APIs, like notifications and all of the ones introduced in Opera 28.

Christoph142 avatar Jan 23 '15 12:01 Christoph142

We're working on it @Christoph142 .... Will be there soon.

shwetank avatar Jan 23 '15 12:01 shwetank

OK. While we're at it: Could you please not only copy Chrome's documentation for notifications, but provide specific information about which icon sizes are used in which operating systems as Opera uses native ones? Cause we weren't conclusive about what to use (see https://github.com/Christoph142/DownloadControl/pull/3#issuecomment-70624483).

Christoph142 avatar Jan 23 '15 12:01 Christoph142

Sure thing, thanks for pointing it out.

shwetank avatar Jan 23 '15 12:01 shwetank

:+1:

Christoph142 avatar Jan 23 '15 12:01 Christoph142

Well, documentation was changed drastically. Stil that information is missing completely... It also doesn't mention that buttons are not supported in notifications at all.

Christoph142 avatar Feb 03 '15 11:02 Christoph142

ping @shwetank

Christoph142 avatar Feb 05 '15 11:02 Christoph142

Hi @Christoph142 ... I was just checking this internally with others.

Regarding Windows and Linux we use 80x80 size. All icons are scaled to this size (with preserving proportions so it will not be stretched). But the size was set with the recent bugfix which is not on the stable build yet. The stable has currently 80x80 frame and 40x40 image inside.

Regarding Mac we use system messenger and the size is determined by the system. We use the following system function https://developer.apple.com/library/mac/documentation/Foundation/Reference/NSUserNotification_Class/index.html#//apple_ref/occ/instp/NSUserNotification/contentImage which doesn't determine any specific size.

I'll be updating the docs soon about this.

shwetank avatar Feb 05 '15 11:02 shwetank