[Patch] Fix html rendering for webkit2gtk-4.0 < 2.20 (was: GIT version - no display of html messages)
Albrecht Dreß <[email protected]>
| Newsgroups | gmane.comp.gnome.apps.balsa |
|---|---|
| Message-ID | <[email protected]> |
Hi all, attached is a patch which fixes broken html rendering for webkit2gtk-4.0 < 2.20. I was able to reproduce the issue on Debian Jessie (webkit2gtk-4.0 2.6.2) and Stretch (webkit2gtk-4.0 2.18.6). The trick is that we must allow the rendering of “about:blank” which is simple – an empty page. It doesn't make much sense (which may be the reason that it just works with newer versions…). The patch also changes the compile-time debugging to a new GLog domain, and updates the README file to list the available log domains. Am 07.07.18 19:28 schrieb(en) Jack via balsa-list: >> Hmmm, this indicates that the second approach (the “if (g_ascii_strcasecmp(uri, "about:blank") != 0)…” variant) may fix your issue, /without/ removing the EFail mitigation. > Yes, this does now work for me. Again, for info, what SHOULD that URI be? Should it be anything for the basic message itself, on only something for a link within the message? See above - just an empty page. I guess older webkit versions needed to open about:blank to somehow initialise the rendering or an internal state. Apparently, this doesn't make much sense, so it looks as if it has been removed. Really strange! Thanks for your help in tracking down this issue, Albrecht. _______________________________________________ balsa-list mailing list [email protected] https://mail.gnome.org/mailman/listinfo/balsa-list
signature.asc
(application/pgp-signature, 488 B)
-----BEGIN PGP SIGNATURE----- iQEzBAABCAAdFiEEcCEPemLFTtyGf4zATKlvDmfn2fgFAltBDSMACgkQTKlvDmfn 2fgJ5Qf+NBjj4jrl1FdY8QRoM/mrZ3kvhUyHmtejQTZ/5WqS9aeUb6i+HS3Ng09A lFylTK1/QrwsdpO21UAkAt/ZEL1oG/WWVY/T8hUmodYJberbccu18Yrz01SHn5on cfs/dOIwObFznK1GMhlROp6SmHd6Py+k1LzSCCg61Awf1k4hOxGShSrJcXhNQkPD iugilNNfu4bpbV0BFLMjYM2NzBKAdQATcjsUWGkND9LZJfwY90WfbNVlNKK1nmtK ijShSO6O0tTRnI7laTNOmHyaBcZUVnLUqOcDsqmggF5oMyBW6q5f3hqktssZkQQH LyYRJ1su8sMBunBRRlg3PoyUOa75Vw== =NmSG -----END PGP SIGNATURE-----