-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Incorrect toggling of full-screen mode when using annotation tools #178
Comments
And then a bonus bug: you have to tap again on the text annotation field to select it and show the keyboard. It should be three taps: once to show the annotation toolbar, once on |
…nnotation tools #178. Upping versionCode to 113
I’ve completely reworked the logic of showing/hiding top and bottom bars. We used to rely on PSPDFKIT to tell us when to hide our top bar. We used to always sync top bar visibility with the integrated into the PSPDFKIT’s bottom bar (thumbnail grid) and for some reason whenever annotation tools were selected/deselected it always triggered UI visibility callback. T button getting deselected after you place the TextBox and text field inside of it getting auto-focused is also what happens on iOS. I think it's the behavior of PSPDFKIT to deselect the currently selected tool right after the empty TextBox is placed and we are notified of this after the fact. Please test it and see if it works better and whether other adjustments are needed. |
Well, the good news is that worked once — I tapped T, I tapped the page, the textbox appeared, and the keyboard popped up. The bad news is that now I'm tapping T and tapping the page and the T gets selected and nothing shows up, and then if I tap the page again…things get weird. Sometimes a textbox shows up, sometimes full-screen mode toggles, sometimes a textbox shows up in a previous location, sometimes it maybe shows up where I tapped? Oh, and looking at the sidebar, it seems like it's just creating empty annotations all around the page. It's definitely not usable. If I force-quit the app, it works properly again once, and then stops working properly after that. |
Record a video, I can't reproduce it. |
This doesn't show taps, but you can see when the T gets deselected and nothing immediately shows up that I was tapping on the page. Other taps are selecting empty text annotations from previous attempts. (I can't get rid of them due to #181.) Among other things, those empty ones shouldn't exist at all — if there's no text and you tap off an annotation, it shouldn't be created or it should be deleted if it already exists. But the initial problem is that tapping is only working properly, with visible textbox and keyboard, on the first try. Text.Annotations.mp4 |
…ation tools #178 Deleting empty text annotations on defocus. Upping versionCode to 114
On my phone and emulators it’s a very intermittent bug, I had to super-quickly create about 30 text annotations to reproduce this. But I am not sure if I got it right, so please test again. |
And then tapping on the page toggles it again. I'm actually having trouble even reliably creating an annotation. For example, in non-full-screen mode:
T
. The reader incorrectly switches into full-screen mode.T
is deactivated.T
doesn't show as selected.T
not having been showing as selected.The text was updated successfully, but these errors were encountered: