test_profiles fails on mako image #120

Bug #1339616 reported by Brendan Donegan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Sudoku App
Invalid
Undecided
Unassigned
ubuntu-ui-toolkit (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

This test is failing since image #120 with the following error:

Traceback (most recent call last):
  File "/home/phablet/autopilot/sudoku_app/tests/test_sudoku.py", line 340, in test_profiles
    sudokuAddProfileDialog.wait_until_destroyed()
  File "/usr/lib/python3/dist-packages/autopilot/introspection/dbus.py", line 455, in wait_until_destroyed
    "Object was not destroyed after %d seconds" % timeout
RuntimeError: Object was not destroyed after 10 seconds

It appears the OSK might be getting in the way of the save button

Related branches

Revision history for this message
Tim Peeters (tpeeters) wrote :

with the latest UITK, this test passes on my desktop:

tim@tim-desktop:~/dev/sudoku-app/tests/autopilot$ autopilot3 run sudoku_app.tests.test_sudoku.TestMainWindow.test_profiles
Loading tests from: /home/tim/dev/sudoku-app/tests/autopilot

Tests running...
<class 'Xlib.protocol.request.QueryExtension'>

Ran 1 test in 22.686s
OK

Revision history for this message
Tim Peeters (tpeeters) wrote :

On device it fails because the OSK is in the way of the buttons to confirm the input.

I am testing on desktop, and even there when I resize the window to be less high, the flickable inside doesn't seem to adapt its size so I cannot scroll down to the bottom.

Revision history for this message
Tim Peeters (tpeeters) wrote :

the scrolling down after resizing the window also does not work with either current staging for UITK, or this old package Installed: 0.1.46+14.04.20140408.1-0ubuntu1 so it seems it is not a UITK regression.

Revision history for this message
Tim Peeters (tpeeters) wrote :

If I change the code of sudoku-app.qml to have:

    height: units.gu(50)

for the MainView, in settings I cannot scroll down to change the bottom parameters

Revision history for this message
Dinko Osmankovic (dinko-metalac) wrote :

Can you give me some screenshots of these. I have no problem with emulator :S I don't have a device unfortunately.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ubuntu-ui-toolkit - 0.1.49+14.10.20140710-0ubuntu1

---------------
ubuntu-ui-toolkit (0.1.49+14.10.20140710-0ubuntu1) utopic; urgency=low

  [ Florian Boucault ]
  * Move keyboard anchoring logic of OrientationHelper from MainView to
    OrientationHelper itself. (LP: #1339616)
 -- Ubuntu daily release <email address hidden> Thu, 10 Jul 2014 12:26:37 +0000

Changed in ubuntu-ui-toolkit (Ubuntu):
status: New → Fix Released
Revision history for this message
Leo Arias (elopio) wrote :

Not a bug in sudoku.

Changed in sudoku-app:
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.