Repository navigation
On-screen keyboard: reopen on a re-tapped field in any Qt app - #74
Merged
Merged
Conversation
With Qt's text-input focus fix, a field going off closes the keyboard, but Qt still believes the keyboard is up and asks nothing when the same field is tapped again, so it stayed closed. A field that takes focus while the finger is down was tapped: it opens the keyboard whatever its text-input version. Focus moved by an app on its own or after the finger lifted still does not, and a keyboard already up is not shown twice. Assisted-by: LLM
Qt 6.12 on a field tapped again after focus went elsewhere sends show_input_panel at once but enables its text input only with the next press, and disables it again right after (simulator facts log). The policy waited for the field and never opened. A request right after a touch now opens the keyboard by itself: Qt asks only for a text item it focused, and the keyboard types through key presses either way. Assisted-by: LLM
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
With Qt's text-input focus fix (packages #7) the keyboard closes on a tap outside, but tapping the same field again didn't reopen it: Qt still believes the keyboard is up, and on a re-tapped field sends show_input_panel at once but enables its text input only with the next press. Now a field taking focus while the finger is down, or an app's request right after a touch, opens it; focus moved by an app on its own or after the finger lifts still doesn't, and an open keyboard isn't shown twice. Tests: 30 pass. Confirmed on the simulator by Henrik: Folio path and search, Omactivity search, many cycles each; Apps and app launches pop nothing.
Assisted-by: LLM