-
Notifications
You must be signed in to change notification settings - Fork 260
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
Show suggestions everywhere except in password fields #562
Conversation
I was thinking about that. I think we should investigate a bit more on this. |
Looking through the
It looks like |
Ok, you convinced me. So to keep things nice and clean, can you remove commented lines and keep only password field condition and bring back Thanks for your contribution :) |
So no need to add a setting? Anyway, I had a closer look at what is going on (made tiny app with all inputTypes in separate edit fields) and noticed that So probably OpenBoard should still display suggestions if |
Yes, I think we have to show suggestions when For the setting, I think we can give it a go without one, as we are only removing |
I didn't test any of the specifically mentioned apps, but actually the PR might close the first 4 issues mentioned in the initial post. As for #532, I obviously linked the wrong issue here... and couldn't find which one I actually meant. |
After this PR suggestions show in Lightning browser (and forks) search bar for me. Does it work in Lightning browser for you? |
When Clipboard Key is enabled, suggestion strip is showing but no word is suggested. Works fine on Lightning Browser. |
This is strange... I tested all input types and flage, and only in password fields and when Were suggestions in those apps shown before this PR? Because previously suggestions were shown when openboard/app/src/main/java/org/dslul/openboard/inputmethod/latin/InputAttributes.java Line 108 in e9393df
mShouldShowSuggestions = !mIsPasswordField; Then suggestions should be shown really everywhere except in password fields. |
If it works, this means these apps set Regarding the WhatsApp search I don't know what would cause this. Did the PR or |
Is any decision taken to ignore It turns out that the Samsung Keyboard is still showing suggestions where OpenBoard, build from this PR, is not showing. |
I don't think so. |
@RHJihan did you tried with the latest build that includes these modifications ? |
@MajeurAndroid I tried the build, which includes the modification |
Often suggestions are expected, but not shown, see e.g. #507, #456, #418, #275.
This PR should enable suggestion bar everywhere except in password fields (+ found working in a quick test).
But maybe not all people may like it see e.g. #532, so it might be more sensible to add a setting that is checked somewhere in
openboard/app/src/main/java/org/dslul/openboard/inputmethod/latin/LatinIME.java
Lines 1602 to 1611 in cd267b5
I can do this if the change is found acceptable.