← Back to team overview

unity-api-bugs team mailing list archive

[Bug 1227632] Re: Adds spaces when processing --xyz=%u args

 

This bug was fixed in the package upstart-app-launch -
0.1+13.10.20130919.3-0ubuntu1

---------------
upstart-app-launch (0.1+13.10.20130919.3-0ubuntu1) saucy; urgency=low

  [ Loïc Minier ]
  * Fix LP #1227632 by directly joining the components of the Exec line
    split on % instead of joining them with spaces. (LP: #1227632)

  [ Ted Gould ]
  * Only split the URIs if there are more than one.
  * Try to deduce if we're on Surface Flinger.

  [ Ubuntu daily release ]
  * Automatic snapshot from revision 58
 -- Ubuntu daily release <ps-jenkins@xxxxxxxxxxxxxxxxxxx>   Thu, 19 Sep 2013 14:03:55 +0000

** Changed in: upstart-app-launch (Ubuntu)
       Status: New => Fix Released

-- 
You received this bug notification because you are a member of Unity API
bugs, which is subscribed to Upstart Application Launcher.
https://bugs.launchpad.net/bugs/1227632

Title:
  Adds spaces when processing --xyz=%u args

Status in Upstart Application Launcher:
  Fix Committed
Status in “upstart-app-launch” package in Ubuntu:
  Fix Released

Bug description:
  Hi,

  When trying to launch music-app from music home scope on a music file, the resulting cmdline has superfluous space:
  /usr/lib/arm-linux-gnueabihf/qt5/bin/qmlscene /usr/share/music-app/music-app.qml --file= file:///home/phablet/Music/xyz.flac --desktop_file_hint=/usr/share/applications/music-app.desktop

  that is, --file=%u became two args, --file= and the URL

  I think this is in helpers.c/desktop_exec_parse() because it splits
  the string on % but joins it on " " instead of just joining the bits.

  Cheers,

To manage notifications about this bug go to:
https://bugs.launchpad.net/upstart-app-launch/+bug/1227632/+subscriptions


References