Skip to content

fix: WebUI — on-screen keyboard for the camera's text fields (#120) - #122

Merged
compot-dev merged 2 commits into
v2from
fix/webui-keyboard
Oct 13, 2026
Merged

compot-dev merged 2 commits into
v2from
fix/webui-keyboard

Conversation

@compot-dev

Copy link
Copy Markdown
Collaborator

Closes #120.

Cause: WebUI shows the camera's page in a WebView inside an AlertDialog. AlertDialog sets FLAG_ALT_FOCUSABLE_IM on its window when its content has no EditText — a WebView does not count — so the input method is never shown for that window: tapping a password field of the page does nothing. In a browser the same page works.

Fix: after show(), clear FLAG_NOT_FOCUSABLE | FLAG_ALT_FOCUSABLE_IM, use SOFT_INPUT_ADJUST_RESIZE (the page stays visible above the keyboard), and make the WebView focusable (also in touch mode) and focused.

Device check: phone (touch) — tap a field in WebUI → keyboard; TV box — the field gets the focus with the remote and the TV keyboard opens.

@compot-dev

Copy link
Copy Markdown
Collaborator Author

/review

@qodo-free-for-open-source-projects

qodo-free-for-open-source-projects Bot commented Oct 13, 2026 •

Copy link
Copy Markdown

Code Review by Qodo

🐞 Bugs (0) 📘 Rule violations (0) 📎 Requirement gaps (0)

Grey Divider

Great, no issues found!

Qodo reviewed your code and found no material issues that require review

Grey Divider

Tip of the day
💡 Did you know, you can turn these tips off under Display > Comment parts

More tips ↗ | Customize Qodo ↗ | Qodo docs ↗

Grey Divider

Previous reviews

Review updated until commit dca2ade 🚀 Fast

Results up to commit N/A


Sorry, something went wrong


We weren't able to complete the code review on our side. Please try again manually by commenting /agentic_review on this PR.


Grey Divider

Qodo Logo

@compot-dev

Copy link
Copy Markdown
Collaborator Author

/agentic_review

@qodo-free-for-open-source-projects

qodo-free-for-open-source-projects Bot commented Oct 13, 2026 •

Copy link
Copy Markdown

Code Review by Qodo

Grey Divider

Sorry, something went wrong

We weren't able to complete the code review on our side. Please try again manually by commenting /agentic_review on this PR.

Grey Divider

Qodo Logo

@compot-dev

Copy link
Copy Markdown
Collaborator Author

/agentic_review

@qodo-free-for-open-source-projects

Copy link
Copy Markdown

Code review by qodo was updated up to the latest commit dca2ade

@compot-dev
compot-dev merged commit fbad504 into v2 Oct 13, 2026
4 checks passed
@compot-dev
compot-dev deleted the fix/webui-keyboard branch October 13, 2026 12:34
compot-dev added a commit that referenced this pull request Oct 15, 2026
fix: WebUI — on-screen keyboard for the camera's text fields (#120)
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.

[Device]: WebUI: клавиатура не появляется автоматически, ввод пароля невозможен

1 participant