Existing PDF highlights disappear when tapped and cannot be reliably selected on Android

Environment

- Device: Huawei MatePad 11 series
- Operating System: HarmonyOS 4.2.0
- Zotero for Android: 1.0.0-247
- Input methods: Finger touch and stylus
- Affected feature: PDF annotations (highlights and underlines)

Description

I have been experiencing an intermittent issue when interacting with existing highlights and underlines in the Zotero Android PDF reader.

After highlighting a sentence, I try to tap the highlighted text to select it and add a comment. However, the highlight sometimes disappears immediately after tapping it, and I cannot open the annotation editing interface.

Interestingly, when I close the PDF and reopen it, the highlight or underline appears again. This suggests that the annotation may still be saved, but the PDF reader cannot reliably select or interact with it.

The issue is intermittent:

- Sometimes reopening the PDF allows me to select the annotation normally.
- Sometimes the annotation remains unselectable even after reopening the PDF dozens of times.
- The same behavior occurs with both finger touch and stylus input.

Steps to Reproduce

1. Open a PDF document in Zotero for Android.
2. Select a sentence and create a highlight or underline.
3. Tap the newly created annotation to try to open its editing interface or add a comment.
4. Observe whether the annotation disappears instead of being selected.
5. Close and reopen the PDF.
6. Try tapping the same annotation again.

Actual Behavior

- Tapping an existing highlight or underline sometimes makes it disappear from the PDF page.
- The annotation reappears after reopening the PDF.
- The annotation cannot reliably be selected or edited.
- Reopening the PDF does not consistently resolve the problem.

Expected Behavior

Tapping an existing highlight or underline should select the annotation and open its editing interface, allowing users to add comments or modify the annotation.

Additional Information

- This issue occurs on Huawei MatePad 11 running HarmonyOS 4.2.0.
- Both finger touch and stylus input reproduce the issue.
- It appears to be related to interacting with existing PDF annotations rather than creating new annotations.
- The problem significantly affects the PDF reading and note-taking experience on Android tablets.

I would appreciate it if the development team could investigate whether this is related to PDF annotation hit-testing or touch event handling on Android.

Thank you for your work on Zotero!
Sign In or Register to comment.