OSK doesn't automatically hide when fields no longer on screen

Bug #1206870 reported by Alan Pope 🍺🐧🐱 πŸ¦„
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu UI Toolkit
Invalid
Undecided
Unassigned

Bug Description

With latest image in pending, running autopilot tests for weather app fails, and the OSK appears to still be on screen after the fields are gone. I would expect the OSK to disappear.

root@ubuntu-phablet:/# cat /var/log/installer/media-info
 Ubuntu Saucy Salamander (development branch) - armhf (20130731)

Steps to reproduce.
phablet-flash --pending
phablet-test-run -n -p ubuntu-weather-app-autopilot ubuntu_weather_app

I videoed it happening. On this occasion it happened to have the OSK rotated, but it doesn't matter which way the OSK appears, it doesn't disappear appropriately.

http://www.youtube.com/watch?v=ePhw2YhuusQ

Output below.

alan@deep-thought:~/phablet/scripts$ phablet-test-run -n -p ubuntu-weather-app-autopilot ubuntu_weather_app
adbd is already running as root
Reading package lists...
Building dependency tree...
Reading state information...
ubuntu-weather-app-autopilot is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
Disabling shell
unity8 stop/waiting
To run a command as administrator (user "root"), use "sudo <command>".
See "man sudo_root" for details.

Loading tests from: /usr/lib/python2.7/dist-packages

Tests running...
__pthread_gettid -2
======================================================================
FAIL: ubuntu_weather_app.tests.test_locationmanager.TestLocationManagerWithLocation.test_remove_location(with touch)
----------------------------------------------------------------------
_StringException: Empty attachments:
  process-stdout

process-return-code: {{{-15}}}
process-stderr: {{{
unknown option -- t
unknown option -- e
unknown option -- s
unknown option -- t
unknown option -- a
unknown option -- b
unknown option -- i
unknown option -- l
unknown option -- i
unknown option -- t
unknown option -- y
loaded the dummy plugin
loaded the Linux plugin
Registered the AalSensorPlugin types

Loading testability driver.
unity::action::ActionManager::ActionManager(QObject*):
 Could not determine application identifier. HUD will not work properly.
 Provide your application identifier in $APP_ID environment variable.
[London] returning cached data, time from last fetch: 0.826
[Hamburg] returning cached data, time from last fetch: 0.798
callbacks 0x403ce521 0x403ce4d9
creating surface at (0, 58) with size (768, 1222)QOpenGLShader::link: "--From Fragment Shader:
--From Vertex Shader:
Link was successful.
"
QOpenGLShader::link: "--From Fragment Shader:
--From Vertex Shader:
Link was successful.
"
QOpenGLShader::link: "--From Fragment Shader:
--From Vertex Shader:
Link was successful.
"
QOpenGLShader::link: "--From Fragment Shader:
--From Vertex Shader:
Link was successful.
"
Detectable autorepeat not supported.
QOpenGLShader::link: "--From Fragment Shader:
--From Vertex Shader:
Link was successful.
"
QOpenGLShader::link: "--From Fragment Shader:
--From Vertex Shader:
Link was successful.
"
}}}

Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/ubuntu_weather_app/tests/test_locationmanager.py", line 176, in test_remove_location
    self.assertEqual(tabsSumStart-1, len(tabObjects))
MismatchError: 1 != 2

======================================================================
FAIL: ubuntu_weather_app.tests.test_locationmanager.TestLocationManager.test_search_city(with touch)
----------------------------------------------------------------------
_StringException: Empty attachments:
  process-stdout

process-return-code: {{{-15}}}
process-stderr: {{{
unknown option -- t
unknown option -- e
unknown option -- s
unknown option -- t
unknown option -- a
unknown option -- b
unknown option -- i
unknown option -- l
unknown option -- i
unknown option -- t
unknown option -- y
loaded the dummy plugin
loaded the Linux plugin
Registered the AalSensorPlugin types

Loading testability driver.
unity::action::ActionManager::ActionManager(QObject*):
 Could not determine application identifier. HUD will not work properly.
 Provide your application identifier in $APP_ID environment variable.
Database created
Settings table added, Database upgraded to v0.2
callbacks 0x40193521 0x401934d9
creating surface at (0, 58) with size (768, 1222)QOpenGLShader::link: "--From Fragment Shader:
--From Vertex Shader:
Link was successful.
"
QOpenGLShader::link: "--From Fragment Shader:
--From Vertex Shader:
Link was successful.
"
QOpenGLShader::link: "--From Fragment Shader:
--From Vertex Shader:
Link was successful.
"
QOpenGLShader::link: "--From Fragment Shader:
--From Vertex Shader:
Link was successful.
"
QOpenGLShader::link: "--From Fragment Shader:
--From Vertex Shader:
Link was successful.
"
QOpenGLShader::link: "--From Fragment Shader:
--From Vertex Shader:
Link was successful.
"
Detectable autorepeat not supported.
QOpenGLShader::link: "--From Fragment Shader:
--From Vertex Shader:
Link was successful.
"
http://api.openweathermap.org/data/2.5/find?q=London&units=metric
QOpenGLShader::link: "--From Fragment Shader:
--From Vertex Shader:
Link was successful.
"
}}}

Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/ubuntu_weather_app/tests/test_locationmanager.py", line 97, in test_search_city
    self.assertThat(searchField.text, Eventually(Equals("")))
MismatchError: After 10.0 seconds test on TextField.text failed: '' != dbus.String(u'London', variant_level=1)

Ran 12 tests in 178.873s
FAILED (failures=2)
Connection to 127.0.0.1 closed.
Restoring shell
unity8 start/running, process 3806

Revision history for this message
Zsombor Egri (zsombi) wrote :

This wasn't a UITK bug, it was an OSK one. I cannot reproduce it anymore.

Changed in ubuntu-ui-toolkit:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.