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

unannotated document pages dropped in exported pdf #228

Open
wuschel-brompf opened this issue Mar 17, 2023 · 3 comments
Open

unannotated document pages dropped in exported pdf #228

wuschel-brompf opened this issue Mar 17, 2023 · 3 comments

Comments

@wuschel-brompf
Copy link

RM on 2.15.1.1189
docker tag 0.0.13

Example

  • Import a 10 page document
  • export will show a 10 page document (as expected)
  • annotate pages 5 and 8, without making ANY changes to any other page
  • export will show a 2 paged document:
    • source doc page 1/10 with overlayed notes of page 5 and
    • source doc page 2/10 with overlayed notes of page 8.

Problem Description

When annotating n pages in a multipage pdf, exported pdf has the FIRST n pages of the source pdf as background (irrespective of which pages were annotated) and overlays them with the annotations made.

Once a page is annotated, and even if the annotation is deleted immediately, it will be counted as an annotated page.

Suggested (dirty) fix

Add and remove an annotation to every page automatically.

related issue

When there are more annotated pages (eg by adding note pages) than pages in the source pdf, "invalid page number (page count too short)" error occurs, see #185

@ddvk
Copy link
Owner

ddvk commented Mar 17, 2023

problably to do with the redirection, or something

@wuschel-brompf
Copy link
Author

what do you mean - is this a general issue or an error in my setup?

@ddvk
Copy link
Owner

ddvk commented Mar 17, 2023

I was not clear enough, at some point page redirection was introduced in note files. It got implemented in rmapi, but I haven't tested whether it got updated here.

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

No branches or pull requests

2 participants