Package: iceweasel Version: 3.0.6-3 Severity: normal The Java Script option "window.print()" does reset the paper format to "US Letter". If you print a page manually (that means clicking on "File > Print" or pressing [Ctrl]+[P]) Iceweasel does not change the paper format.
How to reproduce this bug: Choose a paper format other than "US Letter" (e.g. "A4") by clicking on "File > Page Setup...". Extract the following code between the lines, save it e.g. as "test.xht" and open it with Iceweasel. Now click on "Print". To save paper click on "Cancel" or save the to file. Then click on "File > Page Setup..." again and you will see that the paper format has changed to "US Letter". ------------------------------------------------------------------------ <?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8" /> <title>test document</title> </head> <body> <p> <a href="javascript:window.print()">Print</a> this test document. </p> </body> </html> ------------------------------------------------------------------------ Best regards Raphael -- System Information: Debian Release: 5.0.4 APT prefers stable APT policy: (500, 'stable') Architecture: i386 (i686) Kernel: Linux 2.6.26-2-686 (SMP w/2 CPU cores) Locale: LANG=de_CH.UTF-8, LC_CTYPE=de_CH.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages iceweasel depends on: ii debianutils 2.30 Miscellaneous utilities specific t ii fontconfig 2.6.0-3 generic font configuration library ii libc6 2.7-18lenny2 GNU C Library: Shared libraries ii libgcc1 1:4.3.2-1.1 GCC support library ii libglib2.0-0 2.16.6-3 The GLib library of C routines ii libgtk2.0-0 2.12.12-1~lenny1 The GTK+ graphical user interface ii libnspr4-0d 4.7.1-5 NetScape Portable Runtime Library ii libstdc++6 4.3.2-1.1 The GNU Standard C++ Library v3 ii procps 1:3.2.7-11 /proc file system utilities ii psmisc 22.6-1 Utilities that use the proc filesy ii xulrunner-1.9 1.9.0.19-1 XUL + XPCOM application runner iceweasel recommends no packages. Versions of packages iceweasel suggests: ii latex-xft-fonts 0.1-8 Xft-compatible versions of some La ii libkrb53 1.6.dfsg.4~beta1-5lenny4 MIT Kerberos runtime libraries pn mozplugger <none> (no description available) pn ttf-mathematica <none> (no description available) pn xfonts-mathml <none> (no description available) pn xprint <none> (no description available) ii xulrunner-1.9-g 1.9.0.19-1 Support for GNOME in xulrunner app -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org