Improved html/epub apple pencil usage#1212
Improved html/epub apple pencil usage#1212michalrentka wants to merge 2 commits intozotero:masterfrom
Conversation
|
@mvasilak since you have the new apple pencil, can you test it here? It should be close to PDF functionality now |
|
@michalrentka when highlight/underline tool is active, both pencil and finger annotate as expected when the movement starts over text, while if the movement starts on the page, e.g. on the margins, both result in a navigation gesture. |
@AbeJellinek is this something you'd be able to fix? |
|
I think so... let me see if I can reproduce without an actual pencil. |
49aaa26 to
f0798e7
Compare
|
@mvasilak I updated the reader, can you re-check whether there are improvements? |
|
@michalrentka @AbeJellinek it seems to me now that selection with a finger is a bit worse, as there are cases that I start over text and I get navigation gesture detection. Pencil interactions seem the same to me. Furthermore, changing setting |
Are you able to come up with a set of steps/gestures to reliably reproduce this? I'm not seeing it in a simulator iPad. In fact, it shouldn't be possible to navigate via touch at all while there's a selection.
Yeah, I wasn't completely sure how to handle this because it turns out we can't detect whether the pencil is connected, and nothing in this PR is calling |
Sorry @AbeJellinek I missed this comment. Yes, we can't really detect if the pencil dies / disconnects or is just out of range. I'd probably give it shorter timeout, like 5 - 10 minutes. So if a pencil touch happens while annotating, finger navigation is enabled. If the user doesn't touch the document with a pencil for ~5 minutes, annotations with fingers are enabled. Or we can just do longer timeout and if the pencil dies, the user will have to disable and re-enable annotations to enable annotating with fingers, which might honestly be better, because if you're actually using the pencil, it'll probably be near the iPad and charged most of the time. |
No description provided.