Skip to content
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

InputText/InputDialog: fix keyboard issue #10850

Merged
merged 1 commit into from
Aug 27, 2023

Conversation

poire-z
Copy link
Contributor

@poire-z poire-z commented Aug 27, 2023

Fix issue introduced by 976aaf5: with full screen text editor and hiding the keyboard, a tap in the text area would show a new keyboard hiding the button allowing to save/close the text editor, getting us stuck there.
See #10803 (comment)


This change is Reviewable

Fix issue introduced by 976aaf5: with full screen
text editor and hiding the keyboard, a tap in the
text area would show a new keyboard hiding the
button allowing to save/close the text editor,
getting us stuck there.
@poire-z poire-z requested a review from NiLuJe August 27, 2023 12:43
@poire-z poire-z added this to the 2023.08 milestone Aug 27, 2023
@poire-z poire-z merged commit 9d5d5d4 into koreader:master Aug 27, 2023
@poire-z poire-z deleted the fix_inputdialog branch August 27, 2023 13:12
NiLuJe added a commit to NiLuJe/koreader that referenced this pull request Aug 27, 2023
NiLuJe added a commit to NiLuJe/koreader that referenced this pull request Aug 27, 2023
NiLuJe added a commit to NiLuJe/koreader that referenced this pull request Aug 27, 2023
NiLuJe added a commit that referenced this pull request Sep 1, 2023
Move as much of the state tracking as possible inside VirtualKeyboard itself.
InputDialog unfortunately needs an internal tracking of this state because it needs to know about it *before* the VK is shown, so we have to keep a bit of duplication in there, although we do try much harder to keep everything in sync (at least at function call edges), and to keep the damage contained to, essentially, the toggle button's handler.

(Followup to #10803 & #10850)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant