bug D2085164001 : wrong explicit number in annotations
Hi
After a first unsuccessfull try due to me not understanding how it works, here my second try:
The annotation tool respects a page offset at the begin of a pdf, but not holes or gaps in a sequence of pages.
Debug log is sent with the above number.
Here a short description how to reproduce the bug:
--- begin
OS: Debian/sid(uction)
zotero 7.0.15 (64-bit)
collection: "annotation explizit page number bug"
attachement: bug.pdf
doubble click on bug.pdf, annotation menue opens. In toolbar vissible: "2" "1/4" = "explicit page nr. 2" "sequential number 1 / of 4"
That's ok.
Now I mark text "DEF", it becomes annotation on explicit "page 2", which is still ok!
Now I scoll down one page, which obviously is *sequential* number "2" but *explicit* number "4" because bug.pdf not only has an offset (begin @ p2) but is holey, has not all, but only specific pages. The toolbar counter still does this right: "4" "2/4", but the annotation tool shows page "3". It respects the first offset, not the hole between the pages! It counts sequentially regardless.
That' buggy! It should be *explicit* page "4" like the toolbar correctly shows.
You may pick bug.pdf (17KB) here https:ac52.de/zotero-annotation-bug/bug.pdf (it's my webspace)
Happy to answer any neccessary question.
--- end
As this bug is very annoying, I now have a workaround, made by a member of debianforum.de. It's a little script which adds small, easy to scroll fake pages to any holes in your pdf. Linux/Debian-sid(uction) tested:
https:ac52.de/zotero-annotation-bug/pdfff.sh
The script changes the above used bug.pdf which then will look like bug_workaround.pdf which you will find at the same location. But it's a workaround, not a solution.
Thanks for zotero!
michaa7
After a first unsuccessfull try due to me not understanding how it works, here my second try:
The annotation tool respects a page offset at the begin of a pdf, but not holes or gaps in a sequence of pages.
Debug log is sent with the above number.
Here a short description how to reproduce the bug:
--- begin
OS: Debian/sid(uction)
zotero 7.0.15 (64-bit)
collection: "annotation explizit page number bug"
attachement: bug.pdf
doubble click on bug.pdf, annotation menue opens. In toolbar vissible: "2" "1/4" = "explicit page nr. 2" "sequential number 1 / of 4"
That's ok.
Now I mark text "DEF", it becomes annotation on explicit "page 2", which is still ok!
Now I scoll down one page, which obviously is *sequential* number "2" but *explicit* number "4" because bug.pdf not only has an offset (begin @ p2) but is holey, has not all, but only specific pages. The toolbar counter still does this right: "4" "2/4", but the annotation tool shows page "3". It respects the first offset, not the hole between the pages! It counts sequentially regardless.
That' buggy! It should be *explicit* page "4" like the toolbar correctly shows.
You may pick bug.pdf (17KB) here https:ac52.de/zotero-annotation-bug/bug.pdf (it's my webspace)
Happy to answer any neccessary question.
--- end
As this bug is very annoying, I now have a workaround, made by a member of debianforum.de. It's a little script which adds small, easy to scroll fake pages to any holes in your pdf. Linux/Debian-sid(uction) tested:
https:ac52.de/zotero-annotation-bug/pdfff.sh
The script changes the above used bug.pdf which then will look like bug_workaround.pdf which you will find at the same location. But it's a workaround, not a solution.
Thanks for zotero!
michaa7