rmfakecloud icon indicating copy to clipboard operation
rmfakecloud copied to clipboard

unannotated document pages dropped in exported pdf

Open wuschel-brompf opened this issue 2 years ago • 8 comments

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

wuschel-brompf avatar Mar 17 '23 09:03 wuschel-brompf

problably to do with the redirection, or something

ddvk avatar Mar 17 '23 10:03 ddvk

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

wuschel-brompf avatar Mar 17 '23 10:03 wuschel-brompf

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.

ddvk avatar Mar 17 '23 16:03 ddvk