You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When annotating a PDF, using the keyboard shortcut 'h' to create a highlight changes the pointer from the Text Selection Tool to the Hand Tool. This forces the user to manually change the pointer back to the Text Selection Tool to continue highlighting or annotating.
This only occurs using keyboard shortcut 'h'. Using 'a' does not alter the Text Selection Tool.
Note: This is most likely due to PDF.js also using the 'h' key for selecting the Hand Tool. The 's' key selects the Text Selection Tool.
To Reproduce
Steps to reproduce the behavior:
Open a PDF in browser
Activate Hypothesis extension or bookmarklet
Select text, and type 'h' to create a highlight
Note that the pointer tool changed from Text Selection to Hand Tool
Expected behavior
User should expect that the Text Selection Tool would remain unchanged after using 'h' to highlight.
Confirmed in Chrome 90 & Firefox 88, MacOS 11.3.1
The text was updated successfully, but these errors were encountered:
It might be OK to use the same shortcut that PDF.js uses for another purpose because it only applies when there is a text selection. We'd need to make sure that the default PDF.js shortcut is not invoked in that case.
It would be good to consider the alternatives as well.
Reported by user: https://app.hubspot.com/contacts/6291320/ticket/405369758/
Describe the bug
When annotating a PDF, using the keyboard shortcut 'h' to create a highlight changes the pointer from the Text Selection Tool to the Hand Tool. This forces the user to manually change the pointer back to the Text Selection Tool to continue highlighting or annotating.
This only occurs using keyboard shortcut 'h'. Using 'a' does not alter the Text Selection Tool.
Note: This is most likely due to PDF.js also using the 'h' key for selecting the Hand Tool. The 's' key selects the Text Selection Tool.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
User should expect that the Text Selection Tool would remain unchanged after using 'h' to highlight.
Confirmed in Chrome 90 & Firefox 88, MacOS 11.3.1
The text was updated successfully, but these errors were encountered: