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

[Bug]: hardware keyboard workaround not working #648

Closed
knyipab opened this issue Jun 2, 2024 · 0 comments
Closed

[Bug]: hardware keyboard workaround not working #648

knyipab opened this issue Jun 2, 2024 · 0 comments

Comments

@knyipab
Copy link
Contributor

knyipab commented Jun 2, 2024

Problem description

Continuation of #635 because it is actually not fixed. I opened this issue to prevent forgetting about it.

What steps will reproduce the bug?

3c8cc75 does not work without setting outAttrs.inputType.

My previous test results are based on this PR #620 (cuz you mentioned BaseInputConnection at the beginning).

If you don't want to merge PR #620 any time soon, may consider to add this to LorieView. Note that Termux:App does the same thing in this line.

    @Override
    public InputConnection onCreateInputConnection(EditorInfo outAttrs) {
        outAttrs.inputType = InputType.TYPE_CLASS_TEXT | InputType.TYPE_TEXT_FLAG_NO_SUGGESTIONS | InputType.TYPE_TEXT_VARIATION_VISIBLE_PASSWORD;
        return super.onCreateInputConnection(outAttrs);
    }

What is the expected behavior?

No response

@twaik twaik closed this as completed in 907440a Jun 18, 2024
@termux termux locked and limited conversation to collaborators Jul 17, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant