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 105988 - Make default paper size depend on the locale
Make default paper size depend on the locale
Status: RESOLVED FIXED
Product: gnome-print
Classification: Deprecated
Component: general
CVS
Other other
: Normal normal
: ---
Assigned To: Jody Goldberg
Jody Goldberg
: 125451 308741 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2003-02-13 14:41 UTC by Chema Celorio
Modified: 2009-05-16 09:54 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Chema Celorio 2003-02-13 14:41:02 UTC
Make the default paper size depend on the locale.
Comment 1 Andreas J. Guelzow 2003-11-13 06:51:40 UTC
*** Bug 125451 has been marked as a duplicate of this bug. ***
Comment 2 Andreas J. Guelzow 2004-01-16 14:38:02 UTC
The glib locale does not include information on paper size. I guess we
should set a default papersize based on the location. Of course it
would be preferable imho to have a preference/configuration variable.

Of course applications should store the selected paper size and use it
as a default size for future documents. Then this would not be an issue.
Comment 3 Andreas J. Guelzow 2004-01-20 17:18:34 UTC
I guess we could be testing LC_PAPER. Unfortunately I can't find a
reasonable way to get at the content of said locale only its name. It
has been suggested to test the name against _US and _CA and _PR to
determine whetehr to use letter, otherwise to use A4.
Comment 4 Morten Welinder 2004-01-21 15:51:46 UTC
LC_PAPER is not available on Solaris, so we would need to test for it.

We could use something like

  /* Translators: leave the "defaultpaper:" prefix alone and change
     "letter" to whatever type of paper is most common in the geographic
     area convered by your locale.  */
  const char *paperformat = _("defaultpaper:letter");

as a fallback.
Comment 5 Sebastien Bacher 2004-11-08 13:12:08 UTC
any new on this plan ?
Comment 6 Jody Goldberg 2005-10-09 14:00:14 UTC
*** Bug 308741 has been marked as a duplicate of this bug. ***
Comment 7 Bas Kloet 2007-08-01 10:42:55 UTC
Any progress on this?

At the moment all gnome programs respect my default papersize of A4, except for evince. Even if it is not fixed perfectly, could it just remember my settings? Currently I have to change the printer settings every time I open evince to print a pdf. 

I find it strange that a program that has grown to be such a great document viewer still has a 4 year old bug which has such a negative impact on user experience...

I hope you can give me some good news or point me to the hidden setting where I can change the default size.
Comment 8 Wouter 2007-09-25 11:07:55 UTC
I second this. It's a quite annoying bug.
Comment 9 Joachim Frieben 2009-01-10 15:53:12 UTC
I rather suggest to use the paper size of the default printer. I am using locale en_US.UTF-8 and yet, my printer is loaded with A4 paper.
The locale itself is not a conclusive quantity.
Comment 10 Kjartan Maraas 2009-05-16 09:54:52 UTC
Closing this. If there are problems left to fix in this area plase file bugs against the printing component in gtk+. It should be fixed now anyway as we get the defaults from the printer now, right?