[Touch-packages] [Bug 1578319] Re: Some ubuntu-ui-toolkit AP tests failing to launch - rejected by unity8 as is using desktop_file_hint

2016-08-09 Thread Tim Peeters
** Changed in: ubuntu-ui-toolkit (Ubuntu) Assignee: (unassigned) => Tim Peeters (tpeeters) ** Changed in: ubuntu-ui-toolkit (Ubuntu) Status: Confirmed => In Progress -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed

[Touch-packages] [Bug 1578319] Re: Some ubuntu-ui-toolkit AP tests failing to launch - rejected by unity8 as is using desktop_file_hint

2016-08-09 Thread Tim Peeters
The tests don't pass on my amd64. I guess we need to load all QML code from external files (and not a string embedded in the python test files). So these tests need to be updated: test_checkbox.py:class ToggleTestCase(tests.QMLStringAppTestCase): test_common.py:class

[Touch-packages] [Bug 1578319] Re: Some ubuntu-ui-toolkit AP tests failing to launch - rejected by unity8 as is using desktop_file_hint

2016-08-09 Thread Christian Dywan
Is there still an issue here? We've since landed code so I'm pretty sure the tests can pass. ** Changed in: ubuntu-ui-toolkit (Ubuntu) Status: New => Incomplete -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to

[Touch-packages] [Bug 1578319] Re: Some ubuntu-ui-toolkit AP tests failing to launch - rejected by unity8 as is using desktop_file_hint

2016-05-06 Thread Michael Terry
Why is the gallery desktop case different? If you want to make sure your test uses that exact content, you could copy it to ~/.local/share/applications. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to ubuntu-ui-toolkit in

[Touch-packages] [Bug 1578319] Re: Some ubuntu-ui-toolkit AP tests failing to launch - rejected by unity8 as is using desktop_file_hint

2016-05-06 Thread Christian Dywan
In the general case we write a .desktop file for a particular test to ~/.local/share/applications (hard-coding the exact path relative to $HOME), the gallery test is a special-case which uses the .desktop file that is installed as an example. It makes no sense to me to add all the test cases to

[Touch-packages] [Bug 1578319] Re: Some ubuntu-ui-toolkit AP tests failing to launch - rejected by unity8 as is using desktop_file_hint

2016-05-05 Thread Michael Terry
So a simple fix would be to ship ubuntu-ui-toolkit-gallery.desktop in /usr/share/applications. Another fix would be modify ubuntu-ui-toolkit-launcher to allow teaching UAL about a custom app on a temporary basis for such custom launches that aren't apps that we want to ship, but just

[Touch-packages] [Bug 1578319] Re: Some ubuntu-ui-toolkit AP tests failing to launch - rejected by unity8 as is using desktop_file_hint

2016-05-05 Thread Michael Terry
** Description changed: I'm trying to run the ubuntu-ui-toolkit autopilot tests on today's image. - First off, they could cause unity8 to crash, which is bug 1578258 which can be resolved with + First off, they could cause unity8 to crash, which is bug 1578258 which can be resolved with

[Touch-packages] [Bug 1578319] Re: Some ubuntu-ui-toolkit AP tests failing to launch - rejected by unity8 as is using desktop_file_hint

2016-05-05 Thread Gerry Boland
Doing a grep in my directory which holds a bunch of applications, I see quite a few are using the desktop_file_hint flag. I think those that point it to /usr/share/applications will succeed, so they'll be ok. But we might break other AP tests I don't have locally -- You received this bug