GNOME Bugzilla – Bug 549361
Header/footer is garbled, random asian characters printed instead
Last modified: 2009-01-02 11:59:03 UTC
Please describe the problem: The header and footer of printed pages are printed with random characters from all across Unicode as in the attached example. They mostly show up as Chinese characters because there are so many, I guess. :) Steps to reproduce: 1. Print something Actual results: Expected results: Does this happen every time? Yes Other information: Using gecko-1.9 backend built against xulrunner 1.9.0.1.
Created attachment 117370 [details] header/footer corruption example
On the about:config page, what are the "print.print_*{header,footer}*" prefs values?
print.print_headercenter: empty print.print_headerleft: &T print.print_headerright: &U print.print_footercenter: empty print.print_footerleft: &PT print.print_footerright: &D
Even if printing of header and footer is disabled in the print options, the garbled text is visible.
Bug can be looked at using vanilla Debian/Lenny: Epiphany 2.22.3 Powered by Gecko 1.9 File->Print Preview
*** Bug 553375 has been marked as a duplicate of this bug. ***
Not reproducible here. Does this happen in a clean profile (epiphany -p) ?
Yes, a clean profile doesn't help. I guess this is specific to Debian then?
Sven Arvidsson wrote: I guess this is specific to Debian then? Tried Debian/Lenny Epiphany 2.22.3 Powered by Gecko 1.9 File->Print Preview => Bug is reproducable against Ubuntu 8.04.1 hardy Epiphany 2.22.2 Powered by Gecko 1.9 File->Print Preview => results OK
Sven Arvidsson wrote: I guess this is specific to Debian then? Tried Debian/Lenny Epiphany 2.22.3 Powered by Gecko 1.9 File->Print Preview => Bug is reproducable against Ubuntu 8.04.1 hardy Epiphany 2.22.2 Powered by Gecko 1.9 File->Print Preview => results OK Is it 2.22.3 vs. 2.22.2 or really Debian/Lenny Hints from epiphany/gnome/printer expert welcome. cuK
Hello, Using a virtualbox Debian Lenny machine, I just installed a gnome-environment. The problem surfaced. Then, using http://snapshot.debian.org , modified the sources.list deb http://snapshot.debian.net/archive pool epiphany-browser deb http://snapshot.debian.net/archive pool xulrunner Removed epiphany #apt-get purge epiphany-browser epiphany-browser-data epiphany-gecko Then installed a PREVIOUS version of debian epiphany #apt-get install epiphany-browser=2.22.1.1-1 epiphany-browser-data=2.22.1.1-1 epiphany-gecko=2.22.1.1-1 There was not a 2.22.1.1-2 version of epiphany-gecko at repository, so used a bit older version. The problem DOES NOT happen with this somewhat older version in Debian. I hope this help. Regards. Andre Felipe Machado
Hello, Maybe a quick look at http://patch-tracking.debian.net/package/epiphany-browser/2.22.3-4 give a hint about what could cause (if it is a Debian specific problem). Regards. Andre Felipe Machado
Hello, Here is the Ubuntu 8.04 epiphany-browser patches link for your comparison https://launchpadlibrarian.net/16523296/epiphany-browser_2.22.2-0ubuntu0.8.04.5.diff.gz Regards. Andre Felipe
Created attachment 121018 [details] [review] Fix print headers with Gecko 1.9 Here is a patch from Vincent Caron and myself to fix this issue by converting strings to UTF16 before passing them to nsIPrintSettings.
Please commit to gnome-2-24.
Committed (r8596).
Clearing bug/patch status, as this has already been committed.