-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add favicon for IE8-10 #18039
Add favicon for IE8-10 #18039
Conversation
A new inspection was created. |
@CaptionF please review if this fixes your issue. |
@jancborchardt please read my comments. This is not yet finished and therefore also marked as wip |
@jancborchardt For favicon support in IE we need to generate @MTRichards Is this worth the effort? |
@MTRichards @DeepDiver1975 statement please if this is worth the effort. |
Yes please, because it is IE up to 10. |
Okay. So this PR already solves it for IE10. For IE8 & 9 it will only work if owncloud is installed in the root and not a subdirectory and we add some rewrite rules. 🙈 |
24c37dd
to
cd2c9ff
Compare
@MorrisJobke let's move this one in - fixes at least some case. |
@rperezb we need qa power on this - thx |
I just downloaded the IE10 image to test if it even fixes it in IE10 |
cd2c9ff
to
7172dce
Compare
I tested the latest changes and they now work with IE10 I will try to get it working in IE9 ...but I think this is harder. |
b623ebc
to
e6174f9
Compare
I need to choose an ico file to support IE9 and IE10. PNG support started with IE11: https://en.wikipedia.org/wiki/Favicon#How_to_use I tested this and it works in IE8, IE9 and IE10 too now. Also work in other browsers - Firefox: (left old version, right, new version) @DeepDiver1975 Ready for review now. |
e6174f9
to
91b823e
Compare
I also updated the example theme favicon. |
@LukasReschke @nickvergessen @CaptionF Please test |
Moving to 9.0 to match the ticket |
@MorrisJobke 👎 It doesn't work for me. 😿 logs: {"reqId":"K9nO0WLyPgk+SP84WiDs","remoteAddr":"82.159.139.58","app":"core","message":"Exception: {"Exception":"RuntimeException","Message":"image not found: image:favicon.ico webroot: serverroot:\/opt\/owncloud","Code":0,"Trace":"#0 \/opt\/owncloud\/lib\/private\/helper.php(174): OC\URLGenerator->imagePath('', 'favicon.ico')\n#1 \/opt\/owncloud\/lib\/private\/template\/functions.php(169): OC_Helper::imagePath('', 'favicon.ico')\n#2 \/opt\/owncloud\/core\/templates\/layout.guest.php(15): image_path('', 'favicon.ico')\n#3 \/opt\/owncloud\/lib\/private\/template\/base.php(160): include('\/opt\/owncloud\/c...')\n#4 \/opt\/owncloud\/lib\/private\/template\/base.php(138): OC\Template\Base->load('\/opt\/owncloud\/c...')\n#5 \/opt\/owncloud\/lib\/private\/template.php(211): OC\Template\Base->fetchPage()\n#6 \/opt\/owncloud\/lib\/private\/template.php(233): OC_Template->fetchPage()\n#7 \/opt\/owncloud\/lib\/private\/template\/base.php(121): OC_Template->fetchPage()\n#8 \/opt\/owncloud\/lib\/private\/template.php(338): OC\Template\Base->printPage()\n#9 \/opt\/owncloud\/index.php(55): OC_Template::printExceptionErrorPage(Object(RuntimeException))\n#10 {main}","File":"\/opt\/owncloud\/lib\/private\/urlgenerator.php","Line":189}","level":3,"time":"2015-10-13T08:59:30+00:00"} |
Which browser? Which OS? |
@MorrisJobke IE9, WIn XP (64-bits) ; sorry about not writing the info in the previous comment |
Can you check that you use the correct commit 457b43f ? I rebased recently, maybe you are on an old version 🙈 |
@davitol any update ? |
@PVince81 @MorrisJobke I have retested and it doesn't work for me. Same error as said before |
457b43f
to
8b2b7f7
Compare
I don't get it. I just rebased this again. Maybe we can debug this together at your machine via screensharing? I would like to get this in. Just ping me once you have time @davitol |
👍 Now it WFM @MorrisJobke |
@PVince81 Mind to give this a short test? |
Tested IE8, IE9, IE10, IE11, Firefox and Chrome, combined with login page, public link and regular page => favicon works 👍 |
The favicon.ico patch seems not to work with a custom theme: |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
cc @jancborchardt
Fixes #18012
This doesn't work yet and needs further refinement. This is my current state of the fix.