-
-
Notifications
You must be signed in to change notification settings - Fork 115
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
Fix the inline suggestions remaning visible when switching keyboards and fix missing toolbar #386
Conversation
I would really like to understand why the inline suggestions don't go away, but normal suggestions do.... When (without the fix in this PR) you add at the end of
you will get some fake inline suggestions on every text field. Do you also have issues with those suggestions remaining visible? When you use |
I do not have the same issue with the fake inline suggestions. Their visibility works as expected when changing to the emoji or clipboard history keyboards. The issue remains if I use |
Thanks, so at least it's clear that the issue is caused by weird behavior of inline suggestions. I would still like to contain dealing with inline suggestions to
I really hope it does, as |
app/src/main/java/org/dslul/openboard/inputmethod/latin/suggestions/SuggestionStripView.java
Outdated
Show resolved
Hide resolved
Yes that works. For now I put it underneath |
Great, thanks for all the testing! |
This PR fixes the inline suggestions remaning visible when switching to the emoji or clipboard history keyboards. It also brings back the old changes in
clear()
as they are required to make the toolbar and pinnedkeys visible after callingsetInlineSuggestionsView()
(with a minor modification to fix the flashing pinned key bug).I accidentally closed the last PR and I am sorry for that.