The input focus gets lost when the OSK appears during autopilot test run
Bug #1204084 reported by
Omer Akram
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
notes-app |
Fix Released
|
High
|
Omer Akram | ||
notes-app (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
In some cases when the OSK appears the focus from the input box gets lost, to workaround that I added a 1second delay on touch devices to re-click the input area to gain focus, which is not ideal.
to test you need to remove the timeout in: notes_app.
Related branches
lp:~om26er/notes-app/remove_autopilot_workaround
- Olivier Tilloy: Approve
- PS Jenkins bot: Approve (continuous-integration)
-
Diff: 209 lines (+102/-38)5 files modifiedKeyboardRectangle.qml (+81/-0)
NotesApp.qml (+1/-35)
tests/autopilot/notes_app/emulators/main_window.py (+3/-0)
tests/autopilot/notes_app/tests/__init__.py (+14/-0)
tests/autopilot/notes_app/tests/test_parts.py (+3/-3)
tags: | added: autopilot |
Changed in notes-app: | |
status: | New → In Progress |
Changed in notes-app: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
we need to update the tests to do the same thing as the webbrowser- app-autopilot which will remove the need for sleep. That is, ensure the osk is visible and then explicitly move input into the note. I will attach a reference to the code that does so in the OSK.