Bug 458833 - [patch] libpaper defaults are suboptimal. Patch to fallback through LC_PAPER.
Summary: [patch] libpaper defaults are suboptimal. Patch to fallback through LC_PAPER.
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: libpaper
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Tom "spot" Callaway
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 451767
TreeView+ depends on / blocked
 
Reported: 2008-08-12 15:47 UTC by Caolan McNamara
Modified: 2008-09-10 06:57 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-09-10 06:44:45 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
patch to implement (2.20 KB, patch)
2008-08-12 15:48 UTC, Caolan McNamara
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Debian BTS 481213 0 None None None Never

Description Caolan McNamara 2008-08-12 15:47:04 UTC
Description of problem:
libpaper is in fedora now, and quite a few applications suck it down with their Requires, but libpaper is from the Debian world where the Debian installer is libpaper aware and sets a suitable default /etc/papersize for it to use. In Fedora there is no default /etc/papersize created by e.g. anaconda and there is no UI to set a value for libpaper in our configuration tools.

Version-Release number of selected component (if applicable):
libpaper-1.1.23-2

How reproducible:
yum install libpaper
paperconf
will always say "Letter" out of the box

The upshot of all this is that somewhere along the line OpenOffice.org got debianized and spawns off paperconf if it can find it and takes that as the default printer paper size, which is grievously confusing for non-Letter users.

Ideally in the face of no configuration libpaper would fallback through LC_PAPER before giving up and using Letter.

Patch attached to do this. This follows the mechanism that e.g. gtk2 uses for default paper size.

(http://wiki.services.openoffice.org/wiki/DefaultPaperSize for notes on some paper foo)

Comment 1 Caolan McNamara 2008-08-12 15:48:26 UTC
Created attachment 314108 [details]
patch to implement

I didn't get any response from an earlier cruder patch to the upstream debian maintainer FWIW

Comment 2 Tom "spot" Callaway 2008-08-22 21:04:10 UTC
Seems sane. I'll push this out as an update for F-8 and F-9.

I also attached it to your upstream bug report:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=481213

Comment 3 Fedora Update System 2008-08-22 21:22:15 UTC
libpaper-1.1.23-3.fc8 has been submitted as an update for Fedora 8.
http://admin.fedoraproject.org/updates/libpaper-1.1.23-3.fc8

Comment 4 Fedora Update System 2008-08-22 21:22:57 UTC
libpaper-1.1.23-3.fc9 has been submitted as an update for Fedora 9.
http://admin.fedoraproject.org/updates/libpaper-1.1.23-3.fc9

Comment 5 Fedora Update System 2008-09-10 06:44:42 UTC
libpaper-1.1.23-3.fc9 has been pushed to the Fedora 9 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 6 Fedora Update System 2008-09-10 06:57:29 UTC
libpaper-1.1.23-3.fc8 has been pushed to the Fedora 8 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.