Text for annotation is cleared if added too soon
This occurs with version 5.0.97-beta.63+035aac30f on Linux, but I experienced this with earlier versions as well.
Sometimes I find that if I start to type an annotation too soon, the text field is eventually cleared and whatever I had typed is removed.
1. Highlight some text.
2. Immediately click on the associated annotation and start typing.
3. Notice after a few seconds that whatever was typed in Step 2 is removed.
It feels as if the following is happening. Highlighting triggers a sync. If I start adding text to the annotation before the sync finishes, then the text is cleared when the sync completes.
Unfortunately, this doesn't appear to happen all the time. And of course, after I installed a screen recorder I can no longer reproduce this. I thought I'd still mention this in case it's related to some other known race condition.
Sometimes I find that if I start to type an annotation too soon, the text field is eventually cleared and whatever I had typed is removed.
1. Highlight some text.
2. Immediately click on the associated annotation and start typing.
3. Notice after a few seconds that whatever was typed in Step 2 is removed.
It feels as if the following is happening. Highlighting triggers a sync. If I start adding text to the annotation before the sync finishes, then the text is cleared when the sync completes.
Unfortunately, this doesn't appear to happen all the time. And of course, after I installed a screen recorder I can no longer reproduce this. I thought I'd still mention this in case it's related to some other known race condition.
https://drive.google.com/file/d/1A-K4_RqKQAzK8FnM_tr6-bgCWrXl1ERP/view?usp=sharing
The description of what happened is the same as in the first comment (and illustrated in the video in the second comment)
1. Highlight some text to create an annotation.
2. Click on the annotation to add a comment.
3. Start typing the comment. After a few seconds, the cursor jumps to the beginning of the comment and whatever was typed has been cleared.
This is using 6.0.13 on Linux.
https://forums.zotero.org/discussion/comment/403805/