Skip to content

Multiple saves of PDFs imported into Notes #1731

@lukassrahmen-cmyk

Description

@lukassrahmen-cmyk

Describe the bug

Whenever a PDF is added to a Saber note, Saber generates a duplicate of the original PDF for each page it contains with the file name 'name of note'.snb2.'number' . The File size and checksum is identical. Especially for long PDFs this generates massive amounts of data both local and in the Nextcloud. For example adding a 20 MB PDF with 100 pages to a note generates 2 GB of Data.

To reproduce

Create a new Note. Add a multi page PDF to it. Save the Note.

Expected behavior

Saving only one copy of each PDF added to a note.

Saber version

v1.33.1, v1.31.1

Device

  • Device: Xiaomi Pad 7; ThinkPad T14 Gen 1
  • OS: (Android 16); CachyOS 6.19.12-1-cachyos

Anything else?

No response

Before submitting an issue, please check the following

  • I have searched for similar issues (both open and closed) and cannot find a duplicate
  • This is not an automated submission and has been written by a human.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions