Open kosi2801 opened 10 years ago
I checked and the behavior differs across browsers (tested on Win 7):
The alternate favicon is displayed using the link tag:
<link rel="icon" href="<%=styleDir%>/img/icon.png" type="image/png" />
in httpheader.jspf
.
Checking page source of all views it is present there. Looks like a browser bug to me however I am not entirely sure since there does not seem to be any way to debug this.
firebug won't help?
(or similar for other browsers)
tried Firebug just for the kicks, as far as I can tell there is nothing which can help there - can inspect page elements only. Also, the rather aggressive caching of favicon by FF hampers debugging.
The default OpenGrok-favicon is not displayed, when the browser is (re-)directed to a file-display page with the GET-parameter "h=#".
For example displaying a file with xref http://server.localhost:8080/source/xref/project1/File1.java shows the default OpenGrok icon. But if the "Annotate" link in the header is clicked, the browser is redirected to http://server.localhost:8080/source/xref/project1/File1.java?a=true&h=# and the tab icon shows the Tomcat-animal.