After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 450487 - print should respect locale paper size by default
print should respect locale paper size by default
Status: RESOLVED INVALID
Product: gtk+
Classification: Platform
Component: Printing
unspecified
Other All
: Normal normal
: ---
Assigned To: gtk-bugs
: 450485 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2007-06-23 23:03 UTC by Michael Van Dorpe
Modified: 2007-06-25 21:58 UTC
See Also:
GNOME target: ---
GNOME version: 2.19/2.20



Description Michael Van Dorpe 2007-06-23 23:03:52 UTC
Please describe the problem:
Only the US and some other countries use Letter sized paper. I'm in Europe; we use a4. Yet, evince (which I understand uses gtk for printing) is set to 'Letter' by default.

Steps to reproduce:
Print in evince and notice that evince prints Letter, even though you're in Europe, /etc/papersize is set to a4, local is european, etc...


Actual results:
eg. when you print an a4 page to a file, the bottom part will be cut off, because the program that prints thinks you want to print to letter (which is shorter than a4)

Expected results:
respect the local settings, or the paper size settings

Does this happen every time?


Other information:
I already filed a bug against evince about this, but I've heard eog has the same problem, and that this is a gtk bug.
Comment 1 Tim Janik 2007-06-24 13:03:49 UTC
here is a very good article explaining why Letter is a rather bad default choice over A4: http://www.cl.cam.ac.uk/~mgk25/iso-paper.html#na
Comment 2 Michael Van Dorpe 2007-06-24 13:23:23 UTC
Tim, this bug report has a much more limited scope that article: printing in a European Gnome installation should not default to Letter, it's as simple as that.

I hope that convincing the US to switch to A4 is not a dependency of this bug!

You know this of course, so sorry for this comment. I just want to make sure that this bug report doesn't lose its focus...
Comment 3 Christian Persch 2007-06-25 10:41:14 UTC
Please specify the evince and gtk version you're using; evince only uses gtkprint since version 0.6, and only when compiled with gtk+ >= 2.10.

So when you go to File->Print Setup in the evince menus, the default paper size chosen is Letter, instead of A4 ? This works here for me with de_DE.UTF-8 locale; what's your locale setting ?
Comment 4 Michael Van Dorpe 2007-06-25 21:31:34 UTC
- Evince 0.9.1 from Ubuntu Gutsy repositories
- Yes, paper size is at 'letter' when I look in File/Print setup

michael@desktop:~$ locale
LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=

I suppose the LC_PAPER setting is at fault? If so, Ubuntu shouldn't have set it at en_US.UTF-8 in the first place, even if I want my language settings to be US english.
Comment 5 Christian Persch 2007-06-25 21:58:03 UTC
So the default paper size is exactly as expected for your chosen locale. 
Comment 6 Christian Persch 2007-06-25 21:58:17 UTC
*** Bug 450485 has been marked as a duplicate of this bug. ***