Greetings,
Some emails are no longer viewable after patch 16 when viewing with firefox that were previously viewable with patch 15. Safari and Chrome work as expected with patch 16.
Zimbra will "containerize" the email to display it in an iframe but are botching the width for firefox. For other browsers they set it correctly to 100% width. The bug is specific to firefox where they are setting the number of pixels for the width and getting it wrong for that iframe container. Safari and Chrome will display the message correctly because they don't attempt to set it by pixel. Note: firefox will display the message correctly if you bounce the email to gmail to view it there.
Here is what is going on.
You can use the debugger inside your browser to locate the appropriate iframe that contains the email to display and will see that they have something odd for the width when firefox is the browser... In our case with a Canada Post Tracking email, width was set to 11588px when with safari and chrome browsers they set it to 100% for this email message.
Prior to P16, we didn't notice this rendering bug and we had some Canada Post tracking email that we viewed previously that was no longer available to us now. I never saw mention in the release notes they were modifying anything related to this in P16??
Workaround:
1) you will need to move your horizontal scroll bar to the right to find and locate the text
2) Other browsers will be able to display the message
3) bounce the email to another email server where then can render it with firefox. (gmail, etc)
HTH,
Jim
Bug with firefox rendering some emails on 8.8.15 P16
-
- Ambassador
- Posts: 2767
- Joined: Mon Dec 16, 2013 11:35 am
- Location: France - Drôme
- ZCS/ZD Version: All of them
- Contact:
Re: Bug with firefox rendering some emails on 8.8.15 P16
Is OWASP enabled on this server?
-
- Outstanding Member
- Posts: 264
- Joined: Thu May 12, 2016 1:56 pm
- Location: Belgium
- ZCS/ZD Version: 9.0.0
Re: Bug with firefox rendering some emails on 8.8.15 P16
Can you share an example e-mail that triggers this?
-
- Outstanding Member
- Posts: 264
- Joined: Thu May 12, 2016 1:56 pm
- Location: Belgium
- ZCS/ZD Version: 9.0.0
Re: Bug with firefox rendering some emails on 8.8.15 P16
I found some emails from bounce@notifications.canadapost.ca in our logs, that indeed have a display issue with Firefox, however I see exactly the same behaviour with P10 as with P16...
(long horizontal scroll bar with Firefox, displays correctly with Chrome)
(long horizontal scroll bar with Firefox, displays correctly with Chrome)
-
- Outstanding Member
- Posts: 264
- Joined: Thu May 12, 2016 1:56 pm
- Location: Belgium
- ZCS/ZD Version: 9.0.0
Re: Bug with firefox rendering some emails on 8.8.15 P16
You are right;
P10: incorrect display (long horizontal scroll bar)
P15: correct display (no scroll bar)
P16: incorrect display again (same as P10)
Those are all versions I can verify right away.
So this issue was fixed somewhere in P11 through P15, but re-introduced in P16.
P10: incorrect display (long horizontal scroll bar)
P15: correct display (no scroll bar)
P16: incorrect display again (same as P10)
Those are all versions I can verify right away.
So this issue was fixed somewhere in P11 through P15, but re-introduced in P16.
-
- Outstanding Member
- Posts: 264
- Joined: Thu May 12, 2016 1:56 pm
- Location: Belgium
- ZCS/ZD Version: 9.0.0
Re: Bug with firefox rendering some emails on 8.8.15 P16
Looks very much like ZCS-8165, this issue was originally fixed in P13 with: https://github.com/Zimbra/zm-web-client ... b9ee08ba6b
But partially reverted again in P16 by ZBUG-1885: https://github.com/Zimbra/zm-web-client ... 4b31093d80
But partially reverted again in P16 by ZBUG-1885: https://github.com/Zimbra/zm-web-client ... 4b31093d80
Last edited by ghen on Thu Dec 03, 2020 5:40 pm, edited 1 time in total.
-
- Outstanding Member
- Posts: 264
- Joined: Thu May 12, 2016 1:56 pm
- Location: Belgium
- ZCS/ZD Version: 9.0.0
Re: Bug with firefox rendering some emails on 8.8.15 P16
Confirmed; you can fix it on P16 by restoring /opt/zimbra/jetty/webapps/zimbra/js/MailCore_all.js{,.zgz} from P15.
- JDunphy
- Outstanding Member
- Posts: 901
- Joined: Fri Sep 12, 2014 11:18 pm
- Location: Victoria, BC
- ZCS/ZD Version: 9.0.0_P39 NETWORK Edition
Re: Bug with firefox rendering some emails on 8.8.15 P16
All good info. Thanks for that.
This was reported and is being tracked as ZBUG-1998
This was reported and is being tracked as ZBUG-1998
- JDunphy
- Outstanding Member
- Posts: 901
- Joined: Fri Sep 12, 2014 11:18 pm
- Location: Victoria, BC
- ZCS/ZD Version: 9.0.0_P39 NETWORK Edition
Re: Bug with firefox rendering some emails on 8.8.15 P16
Yes OWASP is enabled.Klug wrote:Is OWASP enabled on this server?
We don't think it's related however given that other browsers are able to display it correctly. It looks more like a bug related to browser incompatibilities when setting body style width for that iframe. I have one of our web developers looking at the js now to see if we can come up with a quick fix. It is not a show stopper as there are other browsers one can use in a pinch or with enough patience with your scroll bars one should be able to locate the text within the message. We are trying to get in front of this before the calls come in from our users. I have only seen a hand full of messages that have this problem so we were lucky it happened to me. Zimbra has the original email and 3 screen shots of our inspection from the browser debuggers in each browser (chrome, safari, and firefox) for the same email.
It is beginning to look like a simple miscalculation in /opt/zimbra/jetty/webapps/zimbra/js/MailCore_all.js .... It appears from the comment in the code, they are attempting to force a width/height value so that scrollbars are activated for large emails. They just botched the calculation for the firefox browser.
-
- Outstanding Member
- Posts: 264
- Joined: Thu May 12, 2016 1:56 pm
- Location: Belgium
- ZCS/ZD Version: 9.0.0
Re: Bug with firefox rendering some emails on 8.8.15 P16
Actually the original fix was ZCS-8165 in P13: https://github.com/Zimbra/zm-web-client ... b9ee08ba6b
Not ZBUG-1656 from P14.
This was partially reverted in a later commit: https://github.com/Zimbra/zm-web-client ... 4b31093d80
Not ZBUG-1656 from P14.
This was partially reverted in a later commit: https://github.com/Zimbra/zm-web-client ... 4b31093d80