← Back to team overview

ubuntu-sdk-bugs team mailing list archive

[Bug 1227355] Re: unity needs applications to inform about some details on a desktop file

 

** Changed in: ubuntu-ui-toolkit
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
SDK bug tracking, which is subscribed to ubuntu-ui-toolkit in Ubuntu.
https://bugs.launchpad.net/bugs/1227355

Title:
  unity needs applications to inform about some details on a desktop
  file

Status in Ubuntu UI Toolkit:
  Fix Released
Status in “ubuntu-ui-toolkit” package in Ubuntu:
  Fix Released

Bug description:
  A couple of days ago the autopilot tests in Ubuntu UI Toolkit and some
  other apps started failing. We found that qmlscene was not being
  launched on top of unity, and then autopilot could not interact with
  it.

  The cause is a policy change on Unity. According to greyback:
  In shell we're imposing a policy that any application that draws to screen, must inform shell of certain information (name, icon, stage) so shell can manage it properly. This info is what desktop file is for anyway, but there's no reliable way to find the desktop file for a process. So for now we demand this desktop_file_hint

  So, we need to launch the applications on autopilot with a
  desktop_file_hint pointing to a file on a well know location like
  ~/.local/share/applications/. For the tests that write a QML from a
  string to a temp file, this means we will also have to create a temp
  desktop file. For the tests that use a QML application from source, we
  will need to move their desktop file to ~/.local/share/applications.
  For the tests that use an installed application, we can just use their
  installed .desktop file.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-ui-toolkit/+bug/1227355/+subscriptions