Skip to content

archive files in recents extracted immediately upon startup #374

Description

@brainchild0
 * Xreader version: 2.4.4
 * Distribution: Mint 19.2

Issue

Xreader apparently writes exploded copies of all EPUB and comic book archive files in recent files list into /tmp upon startup, unless those copies already exist.

Steps to reproduce

  1. Open a few large EPUB and CBZ files in Xreader.
  2. Close the application.
  3. Delete all directories following the shell pattern /tmp/xreader-*.
  4. Open Xreader.

Expected behaviour

Xreader waits for the user to open a file.

Creation of temporary files is limited to the minimal necessary amount for a particular operation, and those files are deleted as soon as they become unneeded.

Actual behavior

Xreader scans the recent files list and writes exploded copies of all archive files to temporary files, regardless of their size and number, before opening any window, or providing any feedback to the user.

This behavior creates an enormous penalty in speed, disk usage, and usability.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions