Closed
Bug 1241189
Opened 10 years ago
Closed 8 years ago
navigator.mozApps.mgmt.getIcon() returns wrong size
Categories
(Firefox OS Graveyard :: General, defect)
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: madrid.crespo, Unassigned, NeedInfo)
Details
User Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:46.0) Gecko/20100101 Firefox/46.0
Build ID: 20160115030235
Steps to reproduce:
There is an app with multiple sizes for the icon:
https://github.com/CodingFree/MD5-Webapp/tree/master/icons
The icon defined for 60x60 pixels seems to have the right size:
http://imgur.com/mlfLPDU.png
This homescreen is using the following function to retrieve the icons:
navigator.mozApps.mgmt.getIcon(icon, 60);
Source:
https://github.com/novia713/smokingtedscreen/blob/fcab061ca4109e4213891a5d9fc98651008662a2/js/apps.js#L158
Actual results:
The icon has not the right size:
http://imgur.com/ip2uKk7.png
Expected results:
The icon should be like this:
http://imgur.com/GLtDCbq.png
| Reporter | ||
Updated•10 years ago
|
Flags: needinfo?(ted.clancy)
yes, i'm doing navigator.mozApps.mgmt.getIcon(icon, 30) and getting a 84x84 icon :(
is this method documented anywhere?
Comment 2•8 years ago
|
||
Firefox OS is not being worked on
Status: UNCONFIRMED → RESOLVED
Closed: 8 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•