Midori Browser Missing Favicon

147 views Asked by At

I'm working on a web application that will run on a device that uses Midori browser in "app mode". The application runs just fine, but I notice that the favicon (a PNG file) does not display -- just a white box as if the favicon was missing completely.

I can find no documentation about what I should expect here. The application (and the favicon) display just fine when I run it in Chrome.

I did see a few older forum posts:

  • When in app or private mode, the Midori window uses the page favicon as the window icon. source

  • the website's favicon is set as the window icon source

Other than that, I've seen the list of bugs that include "favicon" -- but nothing seems to shed any light on this for me. Help?

1

There are 1 answers

1
philippe_b On

When Midori is started from the command line with --app http://test01-v0-16-attempt-1.test.realfavicongenerator.net/, it uses a 32x32 PNG icon declared with:

<link rel="icon" type="image/png" href="/favicon-32x32.png" sizes="32x32">

This page is the test page of RealFaviconGenerator, which means that, when the page contains the package generated by RFG, its 32x32 icon is used (which is a sensible choice for a desktop browser by the way).

So you can:

  • Generate your favicon with RFG
  • Create a single 32x32 PNG icon manually and declare it.

If this fails, it might be interesting to check your server logs to see if Midori at least try to load your icon.

Full disclosure: I'm the author of RFG.