linuxmint / linuxmint/xreader

Printing an A4 document with A5 paper size creates an A4 document on one PC, but not on another

Open
#519 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
283
Forks
82
PR merge metrics
No merged PRs in 30d

Description

 * Xreader version - 3.0.2
 * Distribution - Mint 20.2

Issue
Printing an A4 document to a A5 pdf works correctly on one PC, but on another, the resulting pdf is in A4 size (same version of Mint, same version of Xreader).

On PC1:
grafik
On PC2:
xreader-a5

Steps to reproduce

  1. Open the test file (but any other A4 pdf file should also work).
  2. Go to 'File' > 'Print'
  3. Choose 'Print to file' as printer
  4. Go to 'Configure page'. For 'Paper Size', choose 'A5'.
    grafik
  5. Click 'Print'.
  6. Open the resulting file in xreader.
  7. Go to 'File' > 'Properties'.
  8. Check the value of 'Paper Size'.

Expected behaviour

Printing to A5 size should create a document with A5 size.

The behavior on different PCs with the same software (versions) should be the same.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce with the linked test.pdf through File > Print, selecting Print to file and A5 under Configure page, then compare the resulting PDF's Paper Size in File > Properties on both PCs. Done means identifying and correcting the condition that causes the same Xreader and Mint versions to produce A4 instead of A5 output.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.