[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Fwd: [evince Bug#768133] evince won't print landscape PDFs



Hi Debian Printing Team,

Not sure if this is helpful or not, but thought I would forward this bug
report to this list, as it might have a big impact on printing in
jessie.

Full bug report:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=768133

Apologies if this is just noise.

Happy Monday,
Chris

----- Forwarded message from Chris Kuehl <ckuehl@ocf.berkeley.edu> -----

Date: Mon, 2 Feb 2015 17:52:23 -0800
From: Chris Kuehl <ckuehl@ocf.berkeley.edu>
To: 768133@bugs.debian.org
Cc: Samuel Wolf <samuelwolf85@googlemail.com>, Dara Adib <daradib@ocf.berkeley.edu>
Subject: evince won't print landscape PDFs
User-Agent: Mutt/1.5.21 (2010-09-15)

Hi all,

Just wanted to provide some additional context on this bug.

The current version of evince in jessie/sid will not print landscape
PDFs (at least, none that I've tried). Instead, the pages print blank.

It's possible to print the pages by un-checking ``Auto-rotate and
center'' (which is checked by default), but as expected, the page will
be oriented and positioned incorrectly, making the print basically
unusable. I haven't found a way to workaround the bug without resorting
to something like Okular or command-line tools.

An evince developer (Carlos Garcia Campos) states on 2015-01-28 in the
upstream bug [1] [2] [3]:
> Having a proper fix for this is taking more time than I expected, so
> I've just reverted the patch that introduced this regression in both
> branches until we find a proper solution in both Evince and GTK+. This
> is now fixed, use bug #734788 for new discussions or patches to the
> centering option when having a manual scale.

There is also a Fedora bug report [4], where the maintainer reverted the
commit which caused it.

So, it seems the best step forward is to follow upstream and Fedora, and
revert this commit. I've attached a debdiff which reverts it, and tested
it in our busy computer lab for the past few days successfully.

Is there any opposition to marking this bug as release-critical? I know
it's late in the freeze, but I think PDF printing using the default PDF
viewer on the default DE with the default settings should not be broken
in jessie, especially since we have an easy fix by reverting the commit
which caused it. I'm not sure the current severity is appropriate?

I'm happy to help with additional testing.

Many thanks,
Chris

P.S. An easy way to test is to install `printer-driver-cups-pdf`, which
will show the behavior. ``Print to PDF'' in Evince seems to not. There
is a PDF attached to Samuel's first email in this thread which can be
used as a test case.


[1] Upstream bug report
https://bugzilla.gnome.org/show_bug.cgi?id=739723

[2] Upstream revert commit:
https://git.gnome.org/browse/evince/commit/?id=69b474fce1a87a0839e1f541f1297492e47c7c31

[3] Commit which was blamed and reverted by upstream and Fedora:
https://git.gnome.org/browse/evince/commit/?id=ae7a5715131613955a37419b5da1d6d9f3c1cb1d

[4] Fedora bug report:
https://git.gnome.org/browse/evince/commit/?id=69b474fce1a87a0839e1f541f1297492e47c7c31

[ attachment evince-768133.debdiff snipped ]

----- End forwarded message -----


Reply to: