iPad multitasking causes duplicated annotations

iPadOS 16.7.12 (old iPad, can't update to anything newer)
Zotero 1.0.54

Sometimes I use iPad's multitasking to open 2 views of the same PDF, to look at the references section while reading the main text.
In this state, most highlights that I make end up duplicated in the list of annotations. If the list is not displayed this is hard to notice, because sometimes the display doesn't update to show both, or if it does it looks like the highlighted color is somewhat off - because one highlights overlays the other, resulting in e.g. a highlight that is a darker green than the normal green. It's more noticeable if you try to change the color of an existing highlight, because only one of them changes, and the resulting overlayed colour is clearly wrong.

If looking at the list of annotations in a synced device, the duplicate annotation is visible immediately.

I guess there's a possibility that this only happens in this old version of iPadOS, so maybe someone can confirm this problem?

I have a screen recording showing the problem happening, but looks like I can't post videos here.
  • Hey @hmijail, can you please share your video with a link, or mail it to support@zotero.org and mention this thread.
  • https://youtu.be/39xI7rGGbJE

    In the video, I open 2 times the same PDF in Zotero using iPad's multitasking. I start interacting only with the left side of the screen. On the right we see the same PDF, but showing the annotations sidebar; the PDF itself is visible as a stripe, opened on the same page as the left.

    0:05: On the left, I make an annotation. It appears duplicated on the right's sidebar. Note that the highlight doesn't appear on the PDF text.
    0:10: On the left, I change the annotation's colour to yellow. On the right, only one of the duplicates receives the change.
    0:19: On the right, I pinch to zoom into the PDF text. When I release the pinch, a green highlight appears, instead of the yellow seen on the left.
  • I tried to reproduce this issue, but so far, I haven't succeedeed to do so. Are you able to reproduce it consistently, for any item? If so, can you please provide detailed steps, and/or share a video, where you perform these steps, from the very start you launch the app.
  • edited 4 hours ago
    I can reproduce this consistently with at least one document (sending it via email to support@zotero.org), using iOS 18.7.1 and Zotero beta 2.0.0 build 397. For me to reproduce I need to mark, in one go, multiple lines: i.e., selecting multiple words, if on the same line, did not consistently trigger the problem. However, for several other PDFs I've tried, I can either not reproduce this at all, or not reproduce it consistently, or not on the first attempt (the first highlight).


    Steps to reproduce:
    - Open Zotero, and open one item/PDF
    - With the iPad in landscape orientation, click on the tree dots on top, select "Split View"
    - Select Zotero as the other app, and open the same item/PDF
    - On the right, click to show the list of annotations
    - On the left, activate the annotation toolbar, and start highlighting, selecting a region spanning multiple lines.
    - On the right, I see the annotation listed duplicated.
    - If on the right I now activate the annotation toolbar (keeping the listing/display of annotations), and highlight another multiline region, it also shows duplicated on the list of annotations.

    Displayed highlights on PDF not in sync
    The highlights displayed in the PDFs on the left and the right are not always in sync. If one continues highlighting on the left, one can flip from having them in sync to having the right display fewer highlights than the left.

    Deduplication
    - If I continue selecting regions on the left, on the right list of annotations, the previously duplicated regions disappear, leaving only one single annotation (and leaving as duplicated only the last marked region). In other words, what appears as duplicated is only the last marked region.
    - If on the right I now activate the annotation toolbar I also see the duplication and deduplication behavior.
    - The "deduplicate previous duplications" holds across screens. In other words, if I last highlighted on the left, I see that last highlight duplicated. But now, if on the right I highlight something, that last hightlight is the duplicated one, and the last highlight on the left is deduplicated.
    - The "deduplicate previous duplications" does not hold if one closes and reopens and repeats the splitting and highlight. Whatever was left duplicated when closing, remains duplicated.

    Quadruplication
    - If I reopen a document that contains any duplicated annotation, and repeat the steps above, highlighting multi-line regions leads to quadruplicated lists of annotations.
    - As above (Deduplications), if I continue doing this, the previously quadruplicated annotations are de-quadruplicated, so for previous quadruplications only a single annotation remains in the list of annotations; the only quadruplicated entry is the last highlight.
    - (Nope, I could not get past quadruplications to octuplications :-) ).

    Crashes
    While trying to reproduce and isolate the problem, Zotero crashed several times. For example, crash log report IDs 1948363247, 1010797563, or 2013873018 (there were others, but I did not write them down). I haven't reported them as such, because I can't specify the specific steps that led to the crash.
Sign In or Register to comment.