After opening large files the xreader will take much longer time to restart.

Open
#445 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

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

Research direction

Reproduce the issue by opening a 4 GB or larger PDF in Xreader, closing it, and timing the next startup. Investigate what startup state, history, or cache is retained after closing the reader; done means large-file use no longer causes the reported delayed restart or the retained state can be cleared.

Written by the indexing model from the issue text.

Description

BUG
 * Xreader version 2.8.1
 * Distribution Archlinux (kernel version 5.9.13-arch1-1)

Issue
After opening a large file (e.g. 4 GB or bigger) and closing xreader, xreader will take much more time to start from then.

Steps to reproduce

  1. Open a large .pdf file using xreader
  2. Close xreader
  3. Simply start xreader. Now xreader will take seconds to startup.

Expected behaviour
Maybe this issue relates to cache or such kind of things? I think that xreader may provide an icon to clear history so that this issue could be avoided.

Other information

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

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.

More from linuxmint/xreader

All issues in linuxmint/xreader

Similar issues

More C issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.