Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
5.7.1, 5.11.1, 5.13
-
None
-
5.11.1 and 5.7.1 qutebrowser 1.4.1 debian sid 32 bit (also an old qupzilla 2.1.2 against 5.11.1)
windows 10 64bit qutebrowser and whatever Qt that ships with (probably 5.11 something)
-
-
837347e1901086a9757b5aca7e5bbee7b0d8e20e (qt/qtwebengine/5.12)
Description
The favicon for a page doesn't appear to be loaded (or even requested) if the apple-touch-icon has the same URL.
I have put the affected version and platforms to what I was able to test but if whoever picks this ticket up could check against dev I didn't test against that because of limited ram.
I have seen that the favicon isn't even requested by looking in the web inspector and by running a local server and watching for requests.
Here is a test case:
<html> <head> <link rel="icon" href="https://www.qt.io/hubfs/2016_Qt_Logo/qt_logo_green_rgb_16x16.png"> <link rel="apple-touch-icon" href="https://www.qt.io/hubfs/2016_Qt_Logo/qt_logo_green_rgb_16x16.png"/> <title>No Icon Test</title> </head> </html> <body> <p>No Icon Test</p> </body>
I have checked that it is the same URL by using a symlink locally and pointing the two links to different links of the same file (does load) and having one be http://localhost:1234/favicon.ico and the other /favicon.ico (doesn't load).
Changing the favicon link to be rel="shortcut icon" and/or adding type="x-icon" doesn't help.
Chrome and QtWebkit seem to support this situation just fine and a brief web search doesn't indicate that it is an unsupported configuration (except those two icons are supposed to be different sizes).
A user of qutebrowser saw this in the wild on bandcamp.com.