linuxmint / linuxmint/xreader

Incorrect PDF background image rendering

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

Nobody has claimed this yet.

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

Description

Issue:
The background images in a certain PDF are incorrectly rendered in Xreader 2.2.3 under Linux Mint 19.2. The file opened up normally, I can scroll, select and search text, but the background rendering isn't smooth, compared to the one done by the Chromium browser.

PDF file:
https://www.myabandonware.com/download/gg6-age-of-empires-the-rise-of-rome

Hardware:

$ inxi -CGxz
CPU:       Topology: Quad Core model: Intel Core i5-4690K bits: 64 type: MCP arch: Haswell rev: 3 L2 cache: 6144 KiB 
           flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 27935 
           Speed: 2267 MHz min/max: 800/3900 MHz Core speeds (MHz): 1: 2204 2: 2228 3: 2150 4: 2191 
Graphics:  Device-1: Intel Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics vendor: ASUSTeK driver: i915 v: kernel 
           bus ID: 00:02.0 
           Display: x11 server: X.Org 1.19.6 driver: modesetting unloaded: fbdev,vesa resolution: 1920x1080~60Hz 
           OpenGL: renderer: Mesa DRI Intel Haswell Desktop v: 4.5 Mesa 19.0.8 direct render: Yes

Chromium rendering:
Version 78.0.3904.108 (Official Build) Built on Ubuntu , running on LinuxMint 19.2 (64-bit)
pdf-chrome

Xreader rendering:
pdf-xreader

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

Start by reproducing the issue in Xreader 2.2.3 with the linked PDF on Linux Mint 19.2, then compare its background rendering with Chromium using the supplied screenshots. The issue is done when the PDF background renders smoothly and comparably to Chromium without regressing scrolling, text selection, or search.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, linux
Domain
desktop
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 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.