Zotero 7: The Ctrl+F shortcut in the viewers breaks previous search results
Steps to reproduce:
1) Open a Viewer (PDF viewer for example)
2) Open the search box to search in the document
3) Enter some text in the search box and press
4) After this, it doesn't matter if you click in the file or not
5) Press
6) Press again
I would expect the same behaviour as in Acrobat of Chrome for example:
Zotero 7.0.0-beta.36+3ef1f0992 (64-bit)
Windows 10
1) Open a Viewer (PDF viewer for example)
2) Open the search box to search in the document
3) Enter some text in the search box and press
Enter
4) After this, it doesn't matter if you click in the file or not
5) Press
Ctrl
+F
: the highlights of the search results disappear6) Press again
Ctrl
+F
: the number of search results at the bottom of the search box also disappearI would expect the same behaviour as in Acrobat of Chrome for example:
Ctrl
+F
should get back the focus to the text in the search box, highlighting all the text so that a new search can be made quickly, overwriting the previous search text. But it should probably not break the display of search restults from the last search.Zotero 7.0.0-beta.36+3ef1f0992 (64-bit)
Windows 10
1. Open a PDF.
2. Press
Ctrl
+f
and type a search pattern.3. Hit
Esc
to dismiss the search dialog. Notice that the search results are still highlighted in the document.4. Hit
Esc
again. This opens the search dialog again. Now, the search pattern is not highlighted, and the search results in the document are no longer highlighted.5. Hit
Esc
again to dismiss the search dialog. Now, hittingEsc
again triggers no further actions.I would expect that in step 3, hitting
Esc
would dismiss the search dialog and stop highlighting the search results. I would also expect that hittingEsc
again in Step 4 would not reopen the search dialog.This is with version 7.0.0-beta.57+3acef799f (64-bit) on Linux.
1. Open a PDF.
2. Press
Ctrl
+f
and type a search pattern.3. Hit
Esc
to dismiss the search dialog.4. Hit
Ctrl
+f
again. Notice that nothing happens.5. Hitting the left and right arrow keys now switches tabs.
It seems that after step 3, one must now click on the PDF page in order for any of the normal PDF reader keystrokes (
Ctrl
+f
, arrow keys,PgUp
,PgDn
, etc.) to work as expected.This is with version 7.0.0-beta.58+2665090aa (64-bit) on Linux.
https://forums.zotero.org/discussion/111608/zotero-7-esc-focuses-tab-bar