Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-33553

evince prints pages in wrong order

Linking RHIVOS CVEs to...Migration: Automation ...Sync from "Extern...XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Normal Normal
    • None
    • rhel-8.9.0.z
    • evince
    • Yes
    • Moderate
    • rhel-display-applications
    • ssg_display
    • Regression
    • None
    • False
    • False
    • Hide

      None

      Show
      None
    • None
    • Red Hat Enterprise Linux
    • None
    • None
    • None
    • x86_64
    • None

      What were you trying to do that didn't work?

      Printing a 10-page PDF document, exported from LibreOffice Writer to PDF, using two sides per A4 page.

      Please provide the package NVR for which bug is seen:

      evince-3.28.4-16.el8.x86_64

      How reproducible:

      always

      Steps to reproduce

      1. create a 10 page document in LibreOffice Writer (libreoffice-6.4.7.2-16.el8_9.x86_64), using left-to-right and top-to-bottom advancing text, such as English
      2. Export the document to PDF: File | Export As | Export Directly as PDF
      3. Open the exported PDF file in evince
      4. Press Ctrl-P to bring up the Print dialog
      5. On the General tab, select All Pages in the Range radio box
      6. On the General tab, make sure that Reverse is unchecked under Copies
      7. On the Page Setup tab, configure Layout as follows: one-sided, 1 page per side, normal page ordering, Only Print: Odd sheets
      8. Click print.
      9. Remove the 5 sheets from the printers output tray as a stack. Reinsert the stack into the printer without reordering the sheets within the stack. Orient the stack as follows: (a) the top of the stack should be the blank page of the sheet that was printed to last in step 8., (b) the edge that was facing farthest away from the printer in the output tray should now face closest to the printer in the input tray (in other words, rotate the stack by 180 degrees around the stack's yaw axis). Do not rotate the stack around the pitch and roll axes.
      10. Press Ctrl-P to bring up the Print dialog.
      11. On the General Page tab, tick the Reverse checkbox under Copies.
      12. On the Page Setup tab, flip the Only Print list box from Odd sheets to Even sheets.
      13. Click Print.

      Expected results

      In step 8, pages 1, 3, 5, 7 and 9 of the document are printed to the front faces of sheets 1, 2, 3, 4 and 5 (in this order). In step 13, pages 10, 8, 6, 4, 2 are printed on the back faces of sheets 5, 4, 3, 2 and 1 (in this order). This produces a double sided printout of the 10-page document:

      • sheet 1 – front face: page 1, back face: page 2
      • sheet 2 – front face: page 3, back face: page 4
      • sheet 3 – front face: page 5, back face: page 6
      • sheet 4 – front face: page 7, back face: page 8
      • sheet 5 – front face: page 9, back face: page 10

      Actual results

      Step 8 produces the expected output (see above). However, in step 13, a blank page, then pages 10, 8, 6, and 4, are printed to the back faces of sheets 5, 4, 3, 2 and 1 (in this order). Page 2 is not printed at all. It produces the following printout:

      • sheet 1 – front face: page 1, back face: page 4
      • sheet 2 – front face: page 3, back face: page 6
      • sheet 3 – front face: page 5, back face: page 8
      • sheet 4 – front face: page 7, back face: page 10
      • sheet 5 – front face: page 9, back face: blank page

      This printout is entirely useless.

      This behavior is also a regression; I don't remember the most recent version-release of evince in RHEL7, but there it worked just fine.

              mkasik@redhat.com Marek Kasik
              laszlo.ersek Laszlo Ersek (Inactive)
              Marek Kasik Marek Kasik
              Radek Duda Radek Duda
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: