Cannot open some newly created highlight annotations until after saving
Evince version: built from master (commit 2c60f71c) using flatpak
Evince provides two ways to create a highlight annotation. The usual way is to press "highlight annotation" and then drag the cursor over the text to be highlighted. A more recent method is to first select the region to be highlighted and then press "highlight annotation". Annotations created using the latter method cannot be opened until after I save the file.
Steps to reproduce:
- Open any PDF document.
- Select some text, and then either click "highlight annotation" or use Ctrl+H
- Observe that clicking the newly created annotation has no effect.
- Save the document.
- Note that clicking the annotation now opens a popup for entering text.