Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Long opening and saving times when working with a big pdf file #1024

Open
nando-digital opened this issue Feb 20, 2024 · 1 comment
Open
Labels
performance Related to app performance

Comments

@nando-digital
Copy link

Describe the bug
When opening a big pdf (in my case a textbook with 286 pages) rnote needs a long time (27 seconds) to open and (57 seconds) to save the document.

To Reproduce

  1. Open a rnote file containing a big pdf.
  2. Wait.
  3. Save the file.
  4. Wait.

Expected behavior
Way smaller loading times. Rnote would be useful for having a textbook with exercises and solving them right next to the pdf, but it's not ideal to have to wait such a long time to open the file.
I don't know how rnote works on the inside, but my guess is that the whole document is loaded, instead of just the relevant part and the whole document is saved instead of just the changes.

Desktop (please complete the following information):

  • OS: Arch Linux
  • App Version: Rnote v0.9.4
  • Installation Source: Archlinux Extra Repo
  • Desktop Environment: Hyprland
  • Display Server: Wayland
  • Input Source: Convertible laptop (mouse, keyboard, touchscreen, pen)
@Doublonmousse
Copy link
Contributor

Doublonmousse commented Feb 20, 2024

Yes, rnote loads the whole pdf and converts it either into bitmap or vector images that are then saved in the rnote file.

I don't know if there's any obvious performance improvement possible left on the table (like multithreading) to load pdfs faster.

Relevant discussion for a pdf annotation mode #153

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
performance Related to app performance
Projects
None yet
Development

No branches or pull requests

3 participants