"Initial window state" property set to "Open" after opening a note annotation
Version: Evince Main Flatpak (2022-01-21 09:41:25 +0000)
OS: Fedora Workstation 35
Steps to reproduce:
- Create a note annotation.
- Close its window.
- Click on this note annotation to open its window.
- Close its window.
- Right click on the same note annotation and then open its properties.
- Result: See that "Initial window state" is set to "Open".
- Expected: "Initial window state" is set to "Close".
Notes:
- This does not happen if we open the properties of the annotation right after it is created (after closing the window that opens automatically).
- While "Initial window state" is set to "Open", it is not saved if we save a copy (expected because we does not change the setting by ourselves).
- After triggering the bug, if we set the setting to "Close", Evince asks if we want to save a copy, when it shouldn't.