** Changed in: ubuntu-ui-toolkit (Ubuntu) Assignee: Christian Dywan (kalikiana) => (unassigned)
** Changed in: ubuntu-ui-toolkit (Ubuntu) Importance: Medium => Wishlist -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to ubuntu-ui-toolkit in Ubuntu. https://bugs.launchpad.net/bugs/1436091 Title: Using UbuntuTestCase as a root item hides its contents Status in ubuntu-ui-toolkit package in Ubuntu: Confirmed Status in ubuntu-ui-toolkit package in Ubuntu RTM: New Bug description: If you run a test qml app with launcher, and the root item is an UbuntuTestCase, the contents will not show. This is not a problem with tests that have an Item as root and the UbuntuTestCase embedded inside that, like this example: import QtQuick 2.2 import Ubuntu.Components 1.1 import Ubuntu.Test 1.0 //UbuntuTestCase { // use this instead of Item, and the contents shows blank Item { width: units.gu(50) height: units.gu(80) MainView { anchors.fill: parent useDeprecatedToolbar: false Page { title: "Test" Rectangle { anchors.centerIn: parent width: 100 height: 100 color: "green" } } } UbuntuTestCase { // write your tests here } } However, if you remove the root Item and replace it by the commented- out UbuntuTestCase (the UbuntuTestCase that is embedded can then be removed, but it makes no difference in this case), then none of the contents (the MainView with a Page and Rectangle) will be visible in the window opened by launcher. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1436091/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp