GNOME Bugzilla – Bug 105988
Make default paper size depend on the locale
Last modified: 2009-05-16 09:54:52 UTC
Make the default paper size depend on the locale.
*** Bug 125451 has been marked as a duplicate of this bug. ***
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.
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.
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.
any new on this plan ?
*** Bug 308741 has been marked as a duplicate of this bug. ***
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.
I second this. It's a quite annoying bug.
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.
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?