FS#32227 - [gtk2] Printing with custom paper size does not work
Attached to Project:
Arch Linux
Opened by Peter Klotz (p.klotz) - Friday, 26 October 2012, 15:27 GMT
Last edited by Evangelos Foutras (foutrelis) - Monday, 11 February 2013, 03:39 GMT
Opened by Peter Klotz (p.klotz) - Friday, 26 October 2012, 15:27 GMT
Last edited by Evangelos Foutras (foutrelis) - Monday, 11 February 2013, 03:39 GMT
|
Details
Description:
When an application sends a custom paper size to the printer, an error occurs. This is the corresponding upstream bug which was fixed in GTK3: https://bugzilla.gnome.org/show_bug.cgi?id=679883 However e.g. Inkscape still uses GTK2 and fails with this error. The attached patch is extracted from the upstream bug. I successfully tested it with GTK 2.24.13. With the patch applied Inkscape 0.48.3 prints fine. I suggest to add the patch to the Arch GTK2 package since upstream will very likely not backport it. The modified PKGBUILD is attached as well. |
This task depends upon
Closed by Evangelos Foutras (foutrelis)
Monday, 11 February 2013, 03:39 GMT
Reason for closing: Fixed
Additional comments about closing: gtk2 2.24.15-1
Monday, 11 February 2013, 03:39 GMT
Reason for closing: Fixed
Additional comments about closing: gtk2 2.24.15-1
https://bugzilla.gnome.org/show_bug.cgi?id=689658
http://ftp.gnome.org/pub/gnome/sources/gtk+/2.24/gtk+-2.24.15.changes
commit d9f9925878773fb37d1a385a929ddcbb4ef8fb80
Author: Marek Kasik <mkasik@redhat.com>
Date: Tue Sep 18 14:18:15 2012 +0200
printing: Add "Custom." prefix only once to paper size
Check whether "Custom." prefix is already present in the name
of selected paper size. (#679883)
(cherry picked from commit be7752183eb07274b67036362f895b31aa28eb25)
modules/printbackends/cups/gtkprintbackendcups.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)