Keyboard navigation broken after adding/selecting annotation
I noticed that there are times when I cannot use the keyboard to go back/forward a page in a PDF.
1. Open a PDF with the built-in reader.
2. Highlight some text and add an annotation. After typing the annotation text, click on the _margin_ between the annotation sidebar and PDF page.
3. Notice that the left and right arrow keys to go back/forward a page no longer work.
In step 2, if I click on the PDF page instead of the margin, the keybindings work as expected.
This is with version 6.0-beta.4+a7cf689df on Linux.
1. Open a PDF with the built-in reader.
2. Highlight some text and add an annotation. After typing the annotation text, click on the _margin_ between the annotation sidebar and PDF page.
3. Notice that the left and right arrow keys to go back/forward a page no longer work.
In step 2, if I click on the PDF page instead of the margin, the keybindings work as expected.
This is with version 6.0-beta.4+a7cf689df on Linux.
1. Open a PDF with the built-in reader.
2. In the PDF (not in the annotation sidebar), click on a highlighted annotation to select it.
3. Click on the margin between the annotation sidebar and the PDF.
4. The left and right arrow keys to go back/forward a page no longer work.
If in step 2 I select an annotation in the sidebar, the keyboard shortcuts continue to work. It seems that selecting the annotation from the PDF changes the behavior.
If the comment for an annotation is empty, the comment textbox gets focused, and clicking back on the PDF or margin makes the page forward/back shortcuts work normally.
If there is already a comment on the annotation, the comment textbox does not get focused and clicking on the margin or PDF results in non-functioning forward/back shortcuts.
In either case, hitting the Escape key restores function.