Blurry icon in b2g-desktop

9 views
Skip to first unread message

Felix E. Klee

unread,
Oct 20, 2012, 5:57:07 AM10/20/12
to mozill...@googlegroups.com
When I test install my app in b2g-gaya-desktop 0.6, then the wrong icon is
chosen. See attachment: It's blurry.

What could be the problem? How do I find out more?

The app's `manifest.webapp`:

{
"name": "ROTOGAMEsq",
"description":
"Puzzle game, inspired by squared bathroom tiles",
"icons": {
"16": "/images/icon_16.png",
"30": "/images/icon_30.png",
"32": "/images/icon_32.png",
"48": "/images/icon_48.png",
"54": "/images/icon_54.png",
"60": "/images/icon_60.png",
"64": "/images/icon_64.png",
"108": "/images/icon_108.png",
"128": "/images/icon_128.png",
"256": "/images/icon_256.png"
},
"developer": {
"name": "Felix E. Klee",
"url": "https://github.com/feklee"
},
"default_locale": "en"
}

Note that all the icon files exist, and each is sharp.
blurry.png

Felix E. Klee

unread,
Oct 20, 2012, 8:48:31 AM10/20/12
to mozill...@googlegroups.com
On Sat, Oct 20, 2012 at 11:57 AM, Felix E. Klee <felix...@inka.de>
wrote:
> How do I find out more?

To find out more, I now replaced the icons with distinct graphics files.
The idea: Find out which file b2g is using.

Result: When deleting and reinstalling the app, still the old blurry
icon is shown. But that icon isn't delivered anymore by the server. So,
I have a cache issue here.

Related question:

How do I delete cache in b2g-gaia-desktop?

Felix E. Klee

unread,
Oct 21, 2012, 6:08:58 AM10/21/12
to mozill...@googlegroups.com
For the time being, I give up:

https://groups.google.com/forum/?fromgroups=#!topic/mozilla.dev.b2g/fuuEkOs2hY4

Maybe I just got unlucky and just these Nightlies/snapshots were buggy.
But also, it is hard to get help. E.g. on IRC (#b2g, #openwebapps) there
is close to no activity.

Felix E. Klee

unread,
Nov 9, 2012, 5:22:47 AM11/9/12
to Mark Giffin, mozill...@googlegroups.com
On Thu, Nov 8, 2012 at 7:30 PM, Mark Giffin <mgi...@earthlink.net>
wrote:
> You might try #b2g and #openwebapps at different times of the day.
> [...]

Thanks for the suggestions! In the meantime, I also found the B2G and
dev-gaia mailing lists of great help.

By the way, the issue with the blurry icon went away with another
release of B2G desktop. However, only somewhat: On hires screens I still
expect the icon to be blurred as even 256 x 256 px would not be large
enough in certain situations. I filed a bug report:

"256 x 256 icon already outdated -> allow SVG icon in Open Web App
manifest"
<https://bugzilla.mozilla.org/show_bug.cgi?id=806061>
Reply all
Reply to author
Forward
0 new messages