rnote
rnote copied to clipboard
Imported PDF doesn't show up
Describe the bug When I try to import a PDF it doesn't show up
To Reproduce Steps to reproduce the behavior:
- Go to three dot menu
- Import file
- Choose PDF
Expected behavior The imported PDF should show up on the canva
** Console Output **
Run with flatpak run com.github.flxzt.rnote and post the output here
I'm not using the flatpak version but I downloaded it from Arch Community Repo
Desktop (please complete the following information):
- OS: Arch Linux
- Version 5.17.1-arch1-1
- Installation source Archlinux Community Repo
- Desktop Environment Gnome 41.5
Additional context Could it be that the PDF is too large? It's 18mb and 103 pages
Update: after waiting for a long time (10 minutes) while writing other things in the same sheet where I tried to import the PDF, it finally imported it (but with cut images)
Ok I made some other testing: if I zoom in, PDF pages zoom in and are complete. If I zoom out they become more and more cut. So the overall system works, it's just a too slow. Maybe there could be an option that makes you import just some choosen pages from the PDF? Or the app could import n pages a time and it loads the next ones if the user scrolls down
Could you try out ~~this dev build~~ the new release ? It should load PDFs faster. There should still be a import dialog to select pages for import, I agree.
Hi! Sorry for the late answer. So I tried different things:
- with balanced mode, it took just one minute to load it
- with performance mode it took less then one minute (I'd say 50s)
So overall that's much better, thanks! Also, the new loading bar is very useful to have a visual effect to know that something is actually going on. If you want I'll open a separate issue for the pages to import chooser.
50 secs still sounds pretty painful to be honest.
Yes, that would be a new feature request
Just tried importing a pdf using version 5.3.1 from flathub with default settings (image type: vector, import width: 50%), when rotating the pdf or zooming it had the same issues as described before e.g. not loading or only partially loading, when using image type: bitmap it seems to work flawlessly. So you might have a look at the vectorization I guess, I instantly thought of some missing refresh call after the rotation but I don't know anything about the code base.
offtopic: Looking forward for v0.6. Rnote is definitely a bliss to use! Haven't found any other open source drawing software that fits my needs that good while working like a charm.
I think that is a different issue than slow import speed. Could you open a new issue for it, with some screenshots? That would really help!
Thank you!
How fast is the import for you in the latest version?